![]() |
NVIDIA DRIVE 5.0 Linux SDK API Reference5.0.10.3 Release |
NVIDIA Media Interface: Video Decryptor (DRM) API
Description: This file provides the Video Decryptor (DRM) API.
Definition in file nvmedia_drm.h.
Go to the source code of this file.
Data Structures | |
struct | NvMediaEncryptParams |
Holds encrypted metadata information that the parser passes to the video decoder component. More... | |
struct | NvMediaAESMetaData |
Holds re-encrypted data information that the video decoder returns to the parser. More... | |
struct | NvMediaAESIv |
Holds encryption intialization vector information. More... | |
struct | _NvMediaAESParams |
Holds encrypted metadata information that the client sends to the parser. More... | |
struct | NvMediaVideoDecrypter |
Holds the video decrypter object. More... | |
Macros | |
#define | NVMEDIA_MAX_NALS |
max number of subsample support More... | |
#define | NVMEDIA_VIDEO_DECRYPT_PROFILING |
Defines flags used for decryptor creation. More... | |
Typedefs | |
typedef struct _NvMediaAESParams | NvMediaAESParams |
Holds encrypted metadata information that the client sends to the parser. More... | |
Enumerations | |
enum | NvMediaDRMType { NvMDRM_Netflix = 0, NvMDRM_Widevine = 1, NvMDRM_Ultraviolet, NvMDRM_Piff, NvMDRM_Marlin, NvMDRM_PiffCbc, NvMDRM_PiffCtr, NvMDRM_MarlinCbc, NvMDRM_MarlinCtr, NvMDRM_WidevineCtr, NvMDRM_Clear = 0xf, NvMDRM_ClearAsEncrypted, NvMDRM_None } |
Defines the supported DRM formats. More... | |
Functions | |
NvMediaVideoDecrypter * | NvMediaVideoDecrypterCreate (NvMediaVideoCodec codec, uint32_t maxBitstreamSize, uint32_t flags, NvMediaDecoderInstanceId instanceId) |
Creates a video decrypter object. More... | |
void | NvMediaVideoDecrypterDestroy (NvMediaVideoDecrypter *pDecrypter) |
Destroys a video decoder decrypter object. More... | |
NvMediaStatus | NvMediaVideoDecryptHeader (NvMediaVideoDecrypter *pDecrypter, void *pictureData, const NvMediaBitstreamBuffer *pBitstream, NvMediaDecoderInstanceId instanceId) |
Decrypts the HDR of the encrypted content. More... | |
NvMediaStatus | NvMediaVideoGetClearHeader (NvMediaVideoDecrypter *pDecrypter, void *pictureData) |
Gets clear header data after pass1. More... | |