Defines and manages objects that decode video.
The NvMediaVideoDecoder object decodes compressed video data, writing the results to a NvMediaVideoSurface.
A specific NvMedia implementation may support decoding multiple types of compressed video data. However, NvMediaVideoDecoder objects are able to decode a specific type of compressed video data. This type must be specified during creation.
Macros | |
#define | NVMEDIA_COMMON_DECODE_VERSION_MAJOR 1 |
Major Version number. More... | |
#define | NVMEDIA_COMMON_DECODE_VERSION_MINOR 1 |
Minor Version number. More... | |
Typedefs | |
typedef void | NvMediaPictureInfo |
A generic "picture information" pointer type. More... | |
typedef void | NvMediaRefSurface |
A generic "reference surface" pointer type. More... | |
Enumerations | |
enum | NvMediaDecoderInstanceId { NVMEDIA_DECODER_INSTANCE_0 = 0, NVMEDIA_DECODER_INSTANCE_1, NVMEDIA_DECODER_INSTANCE_AUTO } |
Specifies the decoder instance ID. More... | |
enum | { NVMEDIA_SLH_PRESENT = 0x1, NVMEDIA_SPS_PRESENT = 0x2, NVMEDIA_PPS_PRESENT = 0x4 } |
NAL types found in a bitstream packet. More... | |
#define NVMEDIA_COMMON_DECODE_VERSION_MAJOR 1 |
Major Version number.
Definition at line 53 of file nvmedia_common_decode.h.
#define NVMEDIA_COMMON_DECODE_VERSION_MINOR 1 |
Minor Version number.
Definition at line 55 of file nvmedia_common_decode.h.
typedef void NvMediaPictureInfo |
A generic "picture information" pointer type.
This type serves solely to document the expected usage of a generic (void *) function parameter. In actual usage, the application is expected to physically provide a pointer to an instance of one of the "real" NvMediaPictureInfo* structures, picking the type appropriate for the decoder object in question.
Definition at line 94 of file nvmedia_common_decode.h.
typedef void NvMediaRefSurface |
A generic "reference surface" pointer type.
This type serves solely to document the expected usage of a generic (void *) function parameter. In actual usage, the application is expected to physically provide a pointer to an instance of NvMediaVideoSurface or NvMediaImage, depending on the type of decoder API used.
Definition at line 106 of file nvmedia_common_decode.h.
anonymous enum |
NAL types found in a bitstream packet.
This is used for TK1 H264 OTF cases.
Enumerator | |
---|---|
NVMEDIA_SLH_PRESENT | slice header data present or not |
NVMEDIA_SPS_PRESENT | sequence header data present or not |
NVMEDIA_PPS_PRESENT | picture header data present or not |
Definition at line 74 of file nvmedia_common_decode.h.
Specifies the decoder instance ID.
Definition at line 60 of file nvmedia_common_decode.h.