|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.0 Release For Test and Development only
|
Go to the documentation of this file.
15 #ifndef NVMEDIA_IMGDEC_H
16 #define NVMEDIA_IMGDEC_H
44 #define NVMEDIA_IMAGEDEC_VERSION_MAJOR 2
46 #define NVMEDIA_IMAGEDEC_VERSION_MINOR 8
88 #define NVMEDIA_IMAGE_DECODER_ATTRIBUTE_PROGRESSIVE_SEQUENCE (1U<<0)
95 #define NVMEDIA_IMAGE_DECODER_10BIT_DECODE (1U<<1)
102 #define NVMEDIA_IMAGE_DECODER_PIXEL_REC_2020 (1U<<2)
109 #define NVMEDIA_IMAGE_DECODER_PROFILING (1U<<5)
170 uint16_t maxReferences,
171 uint64_t maxBitstreamSize,
172 uint8_t inputBuffering,
230 uint32_t numBitstreamBuffers,
NvMediaStatus NvMediaImageDecoderGetVersion(NvMediaVersion *version)
Checks the version compatibility for the NvMedia Image decoder library.
NvMediaImageCodec
Image codec type.
void NvMediaImageDecoderUnRegisterPinnedSurfaces(const NvMediaImageDecoder *decoder)
Unpin all the Pinned decode Surfaces used by decoder.
@ NVMEDIA_IMAGE_CODEC_H264
H.264 codec.
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.
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.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
NvMediaStatus NvMediaImageDecoderGetBackwardUpdates(const NvMediaImageDecoder *decoder, void *backupdates)
NvMediaImageDecoder get backward updates counters for VP9 adaptive entropy contexts.
@ NVMEDIA_IMAGE_CODEC_VP9
VP9 codec.
NvMediaStatus
Defines all possible error codes.
void NvMediaPictureInfo
A generic "picture information" pointer type.
@ NVMEDIA_IMAGE_CODEC_HEVC
H265 codec.
NvMediaDecoderInstanceId
Specifies the decoder instance ID.
void NvMediaImageDecoderDestroy(const NvMediaImageDecoder *decoder)
Destroys a image decoder object.