NVIDIA Media Interface: NvMedia Video Decode Processing API
This file contains the Video Decode Processing API.
Definition in file nvmedia_viddec.h.
Go to the source code of this file.
Data Structures | |
struct | NvMediaVideoDecoder |
A handle representing a video decoder object. More... | |
Macros | |
#define | NVMEDIA_VIDEODEC_VERSION_MAJOR 1 |
Major Version number. More... | |
#define | NVMEDIA_VIDEODEC_VERSION_MINOR 13 |
Minor Version number. More... | |
#define | NVMEDIA_VIDEO_DECODER_10BIT_DECODE |
Defines 10-bit decode. More... | |
#define | NVMEDIA_VIDEO_DECODER_PIXEL_REC_2020 |
Rec_2020 color format for the decoded surface. More... | |
#define | NVMEDIA_VIDEO_DECODER_OUTPUT_16BIT_SURFACES |
Use 16 bit surfaces if contents is higher than 8 bit. More... | |
#define | NVMEDIA_VIDEO_DECODER_ENABLE_AES |
Create decoder for encrypted content decoding. More... | |
#define | NVMEDIA_VIDEO_DECODER_NV24_OUTPUT |
Create decoder to output in NV24 format. More... | |
#define | NVMEDIA_VIDEO_DECODER_PROFILING |
Enable decoder profiling support. More... | |
#define | NVMEDIA_VIDEO_DECODER_DUMP_MV |
Enable decoder motion vector dump. More... | |
Functions | |
NvMediaStatus | NvMediaVideoDecoderGetVersion (NvMediaVersion *version) |
Gets the version information for the NvMedia Video Decoder library. More... | |
NvMediaVideoDecoder * | NvMediaVideoDecoderCreateEx (const NvMediaDevice *device, NvMediaVideoCodec codec, uint16_t width, uint16_t height, uint16_t maxReferences, uint64_t maxBitstreamSize, uint8_t inputBuffering, uint32_t flags, NvMediaDecoderInstanceId instanceId) |
Creates a video decoder object. More... | |
void | NvMediaVideoDecoderDestroy (const NvMediaVideoDecoder *decoder) |
Destroys a video decoder object. More... | |
void | NvMediaVideoDecoderUnRegisterPinnedSurfaces (const NvMediaVideoDecoder *decoder) |
Unpin all the Pinned decode Surfaces used by decoder. More... | |
NvMediaStatus | NvMediaVideoDecoderRenderEx (const NvMediaVideoDecoder *decoder, const NvMediaVideoSurface *target, const NvMediaPictureInfo *pictureInfo, const void *encryptParams, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, NvMediaVideoDecodeStats *FrameStatsDump, NvMediaDecoderInstanceId instanceId) |
Decodes a compressed field/frame and render the result into a NvMediaVideoSurface. More... | |
NvMediaStatus | NvMediaVideoDecoderSliceDecode (const NvMediaVideoDecoder *decoder, const NvMediaVideoSurface *target, const NvMediaSliceDecodeData *sliceDecData) |
This function is intended for use in low-latency decode mode. More... | |
NvMediaStatus | NvMediaVideoDecoderGetFrameDecodeStatus (const NvMediaVideoDecoder *decoder, uint32_t ringEntryIdx, NvMediaVideoDecodeFrameStatus *FrameStatus) |
Retrieves the HW decode status available. More... | |
NvMediaStatus | NvMediaVideoDecoderGetBackwardUpdates (const NvMediaVideoDecoder *decoder, void *backupdates) |
NvMediaVideoDecoder get backward updates counters for VP9 adaptive entropy contexts. More... | |