|
Jetson Linux API Reference
|
32.7.6 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 getInputMetadata(uint32_t buffer_index, v4l2_ctrl_videodec_inputbuf_metadata &input_metadata)
Gets metadata for the decoder output plane buffer.
int disableCompleteFrameInputBuffer()
Informs the decoder that input buffers may not contain complete frames.
int setMaxPerfMode(int flag)
Sets the decoder for maximum performance.
int ClearPollInterrupt()
Clears the polling interrupt, now if the application calls Poll, the device should block until the ev...
int disableDPB()
Disables the display picture buffer.
Holds the video decoder output metadata for a frame.
int SetPollInterrupt()
Sets the polling interrupt, now if the application calls Poll, the device should not block,...
int getMinimumCapturePlaneBuffers(int &num)
Gets the minimum number of buffers to be requested on the decoder capture plane.
Defines a helper class for V4L2 Video Decoder.
int getMetadata(uint32_t buffer_index, v4l2_ctrl_videodec_outputbuf_metadata &metadata)
Gets metadata for the decoded capture plane buffer.
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 setCapturePlaneFormat(uint32_t pixfmt, uint32_t width, uint32_t height)
Sets the format on the decoder output plane.
int checkifMasteringDisplayDataPresent(v4l2_ctrl_video_displaydata &displaydata)
int MasteringDisplayData(v4l2_ctrl_video_hdrmasteringdisplaydata *hdrmasteringdisplaydata)
int getSAR(uint32_t &sar_width, uint32_t &sar_height)
Gets Sample Aspect Ratio (SAR) width and height for decoder.
int setFrameInputMode(unsigned int ctrl_value)
Informs the decoder that input buffers may not contain complete frames.
v4l2_skip_frames_type
Enum v4l2_skip_frames_type, possible methods for decoder skip frames.
static NvVideoDecoder * createVideoDecoder(const char *name, int flags=0)
Creates a new V4L2 Video Decoder object named name.
int setSkipFrames(enum v4l2_skip_frames_type skip_frames)
Sets the skip-frames parameter of the decoder.
int enableMetadataReporting()
Enables video decoder output metadata reporting.
int setOutputPlaneFormat(uint32_t pixfmt, uint32_t sizeimage)
Sets the format on the decoder output plane.
Defines a helper class for V4L2 based components.
static const ProfilerField PROFILER_FIELD_TOTAL_UNITS
static const ProfilerField PROFILER_FIELD_FPS
Holds the video decoder input header error metadata for a frame.