NVIDIA Media Interface: The NvMedia Image Decode Processing API
This file contains the Image Decode Processing API.
Definition in file nvmedia_imgdec.h.
Go to the source code of this file.
Data Structures | |
| struct | NvMediaImageDecoder |
| A handle representing a IMAGE decoder object. More... | |
Macros | |
| #define | NVMEDIA_IMAGEDEC_VERSION_MAJOR 2 |
| Major Version number. More... | |
| #define | NVMEDIA_IMAGEDEC_VERSION_MINOR 8 |
| Minor Version number. More... | |
| #define | NVMEDIA_IMAGE_DECODER_ATTRIBUTE_PROGRESSIVE_SEQUENCE |
| Progressive sequence. More... | |
| #define | NVMEDIA_IMAGE_DECODER_10BIT_DECODE |
| Defines 10-bit decode. More... | |
| #define | NVMEDIA_IMAGE_DECODER_PIXEL_REC_2020 |
| Rec_2020 color format for the decoded surface. More... | |
| #define | NVMEDIA_IMAGE_DECODER_PROFILING |
| Enable decoder profiling support. More... | |
Enumerations | |
| enum | NvMediaImageCodec { NVMEDIA_IMAGE_CODEC_H264 = 0, NVMEDIA_IMAGE_CODEC_HEVC = 8, NVMEDIA_IMAGE_CODEC_VP9 = 9 } |
| Image codec type. More... | |
Functions | |
| NvMediaStatus | NvMediaImageDecoderGetVersion (NvMediaVersion *version) |
| Checks the version compatibility for the NvMedia Image decoder library. More... | |
| NvMediaImageDecoder * | NvMediaImageDecoderCreate (const NvMediaDevice *device, NvMediaImageCodec codec, uint16_t width, uint16_t height, uint16_t maxReferences, uint64_t maxBitstreamSize, uint8_t inputBuffering, uint32_t flags, NvMediaDecoderInstanceId instanceId) |
| Creates a image decoder object. More... | |
| void | NvMediaImageDecoderUnRegisterPinnedSurfaces (const NvMediaImageDecoder *decoder) |
| Unpin all the Pinned decode Surfaces used by decoder. More... | |
| void | NvMediaImageDecoderDestroy (const NvMediaImageDecoder *decoder) |
| Destroys a image decoder object. More... | |
| NvMediaStatus | NvMediaImageDecoderRender (const NvMediaImageDecoder *decoder, NvMediaImage *target, const NvMediaPictureInfo *pictureInfo, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, NvMediaDecoderInstanceId instanceId) |
| Decodes a compressed field/frame and render the result into a NvMediaImage. More... | |
| NvMediaStatus | NvMediaImageDecoderGetBackwardUpdates (const NvMediaImageDecoder *decoder, void *backupdates) |
| NvMediaImageDecoder get backward updates counters for VP9 adaptive entropy contexts. More... | |