|
|
NVIDIA DRIVE 5.0 Linux SDK API Reference5.0.10.3 Release |
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 0 |
| 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... | |
Enumerations | |
| enum | NvMediaImageCodec { NVMEDIA_IMAGE_CODEC_H264 = 0, NVMEDIA_IMAGE_CODEC_HEVC = 8 } |
| Image codec type. More... | |
Functions | |
| NvMediaStatus | NvMediaImageDecoderGetVersion (NvMediaVersion *version) |
| Checks the version compatibility for the NvMedia Image decoder library. More... | |
| NvMediaImageDecoder * | NvMediaImageDecoderCreate (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 | NvMediaImageDecoderDestroy (NvMediaImageDecoder *decoder) |
| Destroys a image decoder object. More... | |
| NvMediaStatus | NvMediaImageDecoderRender (NvMediaImageDecoder *decoder, NvMediaImage *target, NvMediaPictureInfo *pictureInfo, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, NvMediaDecoderInstanceId instanceId) |
| Decodes a compressed field/frame and render the result into a NvMediaImage. More... | |