Jetson Linux API Reference

32.7.4 Release
NvUtils.h File Reference

Detailed Description

NVIDIA Multimedia API: Utility Functions

Description: This file declares the video frame utility functions.

Definition in file NvUtils.h.

Go to the source code of this file.

Functions

int read_video_frame (std::ifstream *stream, NvBuffer &buffer)
 Reads a video frame from a file to the buffer structure. More...
 
int write_video_frame (std::ofstream *stream, NvBuffer &buffer)
 Writes a video frame from the buffer structure to a file. More...
 
int read_dmabuf (int dmabuf_fd, unsigned int plane, std::ifstream *stream)
 Reads a plane of data from a file to the buffer. More...
 
int dump_dmabuf (int dmabuf_fd, unsigned int plane, std::ofstream *stream)
 Writes a plane of data from the buffer to a file. More...
 
int parse_csv_recon_file (std::ifstream *stream, std::string *recon_params)
 Parses the reference recon file to write the Y, U and V checksums. More...