NVIDIA Media Interface: The NvMedia Decode Processing API
This file contains the Decode Processing API.
Definition in file nvmedia_ide.h.
Go to the source code of this file.
Macros | |
#define | NVMEDIA_IDE_VERSION_MAJOR 1 |
Major Version number. More... | |
#define | NVMEDIA_IDE_VERSION_MINOR 0 |
Minor Version number. More... | |
#define | NVMEDIA_IDE_VERSION_PATCH 0 |
Patch Version number. More... | |
#define | NVMEDIA_IDE_MAX_PRENVSCISYNCFENCES (16U) |
Specifies the maximum number of times NvMediaIDEInsertPreNvSciSyncFence() can be called before each call to NvMediaIDEFeedFrame(). More... | |
#define | NVMEDIA_IDE_10BIT_DECODE |
Defines 10-bit decode. More... | |
#define | NVMEDIA_IDE_PIXEL_REC_2020 |
Rec_2020 color format for the decoded surface. More... | |
#define | NVMEDIA_IDE_OUTPUT_16BIT_SURFACES |
Use 16 bit surfaces if contents is higher than 8 bit. More... | |
#define | NVMEDIA_IDE_ENABLE_AES |
Create decoder for encrypted content decoding. More... | |
#define | NVMEDIA_IDE_NV24_OUTPUT |
Create decoder to output in NV24 format. More... | |
#define | NVMEDIA_IDE_PROFILING |
Enable decoder profiling support. More... | |
#define | NVMEDIA_IDE_DUMP_MV |
Enable decoder motion vector dump. More... | |
Typedefs | |
typedef struct NvMediaIDE | NvMediaIDE |
An opaque NvMediaIDE object created by NvMediaIDECreate. More... | |
Functions | |
NvMediaStatus | NvMediaIDEGetVersion (NvMediaVersion *version) |
Retrieves the version information for the NvMediaIDE library. More... | |
NvMediaIDE * | NvMediaIDECreate (NvMediaVideoCodec codec, uint16_t width, uint16_t height, uint16_t maxReferences, uint64_t maxBitstreamSize, uint8_t inputBuffering, uint32_t flags, NvMediaDecoderInstanceId instanceId) |
Creates an NvMediaIDE object. More... | |
NvMediaIDE * | NvMediaIDECreateCtx (void) |
Create an NvMediaIDE object instance. More... | |
NvMediaStatus | NvMediaIDEInit (NvMediaIDE *decoder, NvMediaVideoCodec codec, uint16_t width, uint16_t height, uint16_t maxReferences, uint64_t maxBitstreamSize, uint8_t inputBuffering, uint32_t flags, NvMediaDecoderInstanceId instanceId) |
Initialize an NvMediaIDE object instance. More... | |
NvMediaStatus | NvMediaIDEDestroy (const NvMediaIDE *decoder) |
Destroys an NvMediaIDE object. More... | |
NvMediaStatus | NvMediaIDERegisterNvSciBufObj (NvMediaIDE *decoder, NvSciBufObj bufObj) |
Registers an NvSciBufObj for use with an NvMediaIde handle. More... | |
NvMediaStatus | NvMediaIDEUnregisterNvSciBufObj (const NvMediaIDE *decoder, NvSciBufObj bufObj) |
Un-registers NvSciBufObj which was previously registered with NvMediaIde using NvMediaIDERegisterNvSciBufObj(). More... | |
NvMediaStatus | NvMediaIDEDecoderRender (const NvMediaIDE *decoder, NvSciBufObj target, const NvMediaPictureInfo *pictureInfo, const void *encryptParams, uint32_t numBitstreamBuffers, const NvMediaBitstreamBuffer *bitstreams, NvMediaIDEFrameStats *FrameStatsDump, NvMediaDecoderInstanceId instanceId) |
Decodes a compressed field/frame and render the result into a target. More... | |
NvMediaStatus | NvMediaIDESliceDecode (const NvMediaIDE *decoder, const NvSciBufObj target, const NvMediaSliceDecodeData *sliceDecData) |
This function is intended for use in low-latency decode mode. More... | |
NvMediaStatus | NvMediaIDEGetFrameDecodeStatus (const NvMediaIDE *decoder, uint32_t ringEntryIdx, NvMediaIDEFrameStatus *FrameStatus) |
Retrieves the HW decode status available. More... | |
NvMediaStatus | NvMediaIDEFillNvSciBufAttrList (NvMediaDecoderInstanceId instanceId, NvSciBufAttrList attrlist) |
Fills the NvMediaIDE specific NvSciBuf attributes which than then be used to allocate an NvSciBufObj that NvMediaIDE can consume. More... | |
NvMediaStatus | NvMediaIDEFillNvSciSyncAttrList (const NvMediaIDE *decoder, NvSciSyncAttrList attrlist, NvMediaNvSciSyncClientType clienttype) |
Fills the NvMediaIDE specific NvSciSync attributes. More... | |
NvMediaStatus | NvMediaIDEGetBackwardUpdates (const NvMediaIDE *decoder, void *backupdates) |
NvMediaIDE get backward updates counters for VP9 adaptive entropy contexts. More... | |
NvMediaStatus | NvMediaIDERegisterNvSciSyncObj (const NvMediaIDE *decoder, NvMediaNvSciSyncObjType syncobjtype, NvSciSyncObj nvscisync) |
Registers an NvSciSyncObj with NvMediaIDE. More... | |
NvMediaStatus | NvMediaIDEUnregisterNvSciSyncObj (const NvMediaIDE *decoder, NvSciSyncObj nvscisync) |
Unregisters an NvSciSyncObj with NvMediaIDE. More... | |
NvMediaStatus | NvMediaIDESetNvSciSyncObjforEOF (const NvMediaIDE *decoder, NvSciSyncObj nvscisyncEOF) |
Specifies the NvSciSyncObj to be used for an EOF NvSciSyncFence. More... | |
NvMediaStatus | NvMediaIDEInsertPreNvSciSyncFence (const NvMediaIDE *decoder, const NvSciSyncFence *prenvscisyncfence) |
Sets an NvSciSyncFence as a prefence for an NvMediaIDERender() NvSciSyncFence operation. More... | |
NvMediaStatus | NvMediaIDEGetEOFNvSciSyncFence (const NvMediaIDE *decoder, NvSciSyncObj eofnvscisyncobj, NvSciSyncFence *eofnvscisyncfence) |
Gets EOF NvSciSyncFence for an NvMediaIDERender() operation. More... | |