NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaSliceDecodeData Struct Reference

Detailed Description

slice level data used with slice level decoding

Note
This slice level information is passed with NvMediaParserClientCb::SliceDecode callback. Client will call NvMediaVideoDecoderSliceDecode() to program hardware for decoding current slice. This feature is available only for specific hardware/codecs.

Definition at line 438 of file nvmedia_common.h.

Data Fields

uint32_t uBitstreamDataLen
 Bitstream data. More...
 
uint8_t * pBitstreamData
 Ptr to bitstream data for this picture (slice-layer) More...
 
uint32_t uNumSlices
 Number of slices in this SliceData. More...
 
uint32_t * pSliceDataOffsets
 If not NULL, nNumSlices entries, contains offset of each slice within the bitstream data buffer. More...
 
uint32_t uCTBCount
 Number of CTB present in this CTB. More...
 
uint32_t uFirstCtbAddr
 CTB number of first CTB in the slice data. More...
 
NvMediaBool bFirstSlice
 First slice flag: whether this SliceData contains first slice of frame. More...
 
NvMediaBool bLastSlice
 Last slice flag: whether this SliceData contains last slice of frame. More...
 
NvMediaBool bErrorFlag
 Error flag if some parsing error detected. More...
 

Field Documentation

NvMediaBool NvMediaSliceDecodeData::bErrorFlag

Error flag if some parsing error detected.

Definition at line 458 of file nvmedia_common.h.

NvMediaBool NvMediaSliceDecodeData::bFirstSlice

First slice flag: whether this SliceData contains first slice of frame.

Definition at line 454 of file nvmedia_common.h.

NvMediaBool NvMediaSliceDecodeData::bLastSlice

Last slice flag: whether this SliceData contains last slice of frame.

Definition at line 456 of file nvmedia_common.h.

uint8_t* NvMediaSliceDecodeData::pBitstreamData

Ptr to bitstream data for this picture (slice-layer)

Definition at line 444 of file nvmedia_common.h.

uint32_t* NvMediaSliceDecodeData::pSliceDataOffsets

If not NULL, nNumSlices entries, contains offset of each slice within the bitstream data buffer.

Definition at line 448 of file nvmedia_common.h.

uint32_t NvMediaSliceDecodeData::uBitstreamDataLen

Bitstream data.

Number of bytes in bitstream data buffer

Definition at line 442 of file nvmedia_common.h.

uint32_t NvMediaSliceDecodeData::uCTBCount

Number of CTB present in this CTB.

Definition at line 450 of file nvmedia_common.h.

uint32_t NvMediaSliceDecodeData::uFirstCtbAddr

CTB number of first CTB in the slice data.

Definition at line 452 of file nvmedia_common.h.

uint32_t NvMediaSliceDecodeData::uNumSlices

Number of slices in this SliceData.

Definition at line 446 of file nvmedia_common.h.


The documentation for this struct was generated from the following file: