|
Jetson Linux API Reference
|
35.3.1 Release
|
Go to the documentation of this file.
45 #ifndef __NV_VIDEO_DECODER_H__
46 #define __NV_VIDEO_DECODER_H__
239 int getSAR(uint32_t &sar_width, uint32_t &sar_height);
int SetPollInterrupt()
Sets the polling interrupt, now if the application calls Poll, the device should not block,...
int setCapturePlaneFormat(uint32_t pixfmt, uint32_t width, uint32_t height)
Sets the format on the decoder output plane.
int getMetadata(uint32_t buffer_index, v4l2_ctrl_videodec_outputbuf_metadata &metadata)
Gets metadata for the decoded capture plane buffer.
Defines a helper class for V4L2 based components.
int disableDPB()
Disables the display picture buffer.
int MasteringDisplayData(v4l2_ctrl_video_hdrmasteringdisplaydata *hdrmasteringdisplaydata)
int getInputMetadata(uint32_t buffer_index, v4l2_ctrl_videodec_inputbuf_metadata &input_metadata)
Gets metadata for the decoder output plane buffer.
v4l2_skip_frames_type
Enum v4l2_skip_frames_type, possible methods for decoder skip frames.
int checkifMasteringDisplayDataPresent(v4l2_ctrl_video_displaydata &displaydata)
int setSkipFrames(enum v4l2_skip_frames_type skip_frames)
Sets the skip-frames parameter of the decoder.
int ClearPollInterrupt()
Clears the polling interrupt, now if the application calls Poll, the device should block until the ev...
int DevicePoll(v4l2_ctrl_video_device_poll *devicepoll)
Issues Poll on the device which blocks until : a) Either there is something to dequeue from capture o...
int disableCompleteFrameInputBuffer()
Informs the decoder that input buffers may not contain complete frames.
int setFrameInputMode(unsigned int ctrl_value)
Informs the decoder that input buffers may not contain complete frames.
int enableMetadataReporting()
Enables video decoder output metadata reporting.
static const ProfilerField PROFILER_FIELD_FPS
static NvVideoDecoder * createVideoDecoder(const char *name, int flags=0)
Creates a new V4L2 Video Decoder object named name.
Defines a helper class for V4L2 Video Decoder.
int getSAR(uint32_t &sar_width, uint32_t &sar_height)
Gets Sample Aspect Ratio (SAR) width and height for decoder.
int setMaxPerfMode(int flag)
Sets the decoder for maximum performance.
static const ProfilerField PROFILER_FIELD_TOTAL_UNITS
int setOutputPlaneFormat(uint32_t pixfmt, uint32_t sizeimage)
Sets the format on the decoder output plane.
int getMinimumCapturePlaneBuffers(int &num)
Gets the minimum number of buffers to be requested on the decoder capture plane.