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.
Data Structures | |
| struct | NvMediaVideoDecodeFrameStatus |
| To Get the decoding status from HW decoder. More... | |
| struct | NvMediaMotionVectorMB_Metadata |
| Per Macroblock header information. More... | |
| struct | NvMediaMotionVectorFrameMetaData |
| Motion vector array to get the required current frame stats. More... | |
| struct | NvMediaVideoDecodeStats |
| Frame stats structure to get get ring entry idx and motion vector dump. More... | |
Macros | |
| #define | NVMEDIA_COMMON_DECODE_VERSION_MAJOR 1 |
| Major Version number. More... | |
| #define | NVMEDIA_COMMON_DECODE_VERSION_MINOR 2 |
| 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... | |
| #define NVMEDIA_COMMON_DECODE_VERSION_MAJOR 1 |
Major Version number.
Definition at line 53 of file tvmr/include/nvmedia_common_decode.h.
| #define NVMEDIA_COMMON_DECODE_VERSION_MINOR 2 |
Minor Version number.
Definition at line 55 of file tvmr/include/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 tvmr/include/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 tvmr/include/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 tvmr/include/nvmedia_common_decode.h.
| enum NvMedia_MB_Part_enum |
MB part.
Definition at line 159 of file tvmr/include/nvmedia_common_decode.h.
| enum NvMedia_MB_Type_enum |
MB types.
Definition at line 143 of file tvmr/include/nvmedia_common_decode.h.
Specifies the decoder instance ID.
Definition at line 60 of file tvmr/include/nvmedia_common_decode.h.
Macroblock types.
Definition at line 129 of file tvmr/include/nvmedia_common_decode.h.