|
Jetson Linux API Reference
|
36.4 Release
|
Go to the documentation of this file.
47 #ifndef __NV_VIDEO_DECODER_H__
48 #define __NV_VIDEO_DECODER_H__
253 int getSAR(uint32_t &sar_width, uint32_t &sar_height);
326 NvVideoDecoder(
const char *name,
const char* dev_node,
int flags);
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 setSliceMode(unsigned int ctrl_value)
Enable slice level decoding for HEVC.
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 setAV1OperatingPoint(int ctrl_value)
Set the operating point for AV1 decoder.
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 enableAV1MVC()
Enable the MVC feature for AV1 decoder.
int setMaxPerfMode(int flag)
Sets the decoder for maximum performance.
static const ProfilerField PROFILER_FIELD_TOTAL_UNITS
int getAV1NumOperatingPoints(uint8_t &num_operating_points)
Gets number of operating points for AV1 decoder stream.
int enableGDRStream()
Enables GDR stream playback.
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.