NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

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

Detailed Description

Holds picture information for the current frame decode operation.

Note
This picture information is passed with NvMediaParserClientCb::DecodePicture callback. Client will call NvMediaVideoDecoderRenderEx with this information to NvMedia video decode component to get the current frame decoding done.

Definition at line 416 of file nvmedia_parser.h.

Collaboration diagram for NvMediaParserPictureData:

Data Fields

uint16_t uDARWidth
 Display Aspect Ratio = uDARWidth. More...
 
uint16_t uDARHeight
 Display Aspect Ratio = uDARHeight. More...
 
uint16_t uDisplayLeftOffset
 Left offset for display. More...
 
uint16_t uDisplayTopOffset
 Top offset for display. More...
 
uint16_t uDisplayWidth
 Display Width. More...
 
uint16_t uDisplayHeight
 Display Height. More...
 
int64_t llFrameTime
 Frame time in time_base units if NvMParseAttr_UseFrameTimingInfo is enabled. More...
 
int64_t llTimeBase
 Base time units per second if NvMParseAttr_UseFrameTimingInfo is enabled. More...
 
NvMediaRefSurfacepCurrPic
 Current picture (output) More...
 
int32_t field_pic_flag
 0=frame picture, 1=field picture More...
 
int32_t bottom_field_flag
 0=top field, 1=bottom field (ignored if field_pic_flag=0) More...
 
int32_t second_field
 Second field of a complementary field pair. More...
 
int32_t progressive_frame
 Frame is progressive or not. More...
 
int32_t top_field_first
 Frame pictures only. More...
 
int32_t repeat_first_field
 For 3:2 pulldown (number of additional fields, 2=frame doubling, 4=frame tripling) More...
 
int32_t ref_pic_flag
 Frame is a reference frame. More...
 
int32_t intra_pic_flag
 Frame is entirely intra coded (no temporal dependencies) More...
 
int32_t chroma_format
 Chroma Format (should match sequence info) More...
 
int32_t picture_order_count
 picture order count (if known) More...
 
uint32_t uBitstreamDataLen
 Bitstream data. More...
 
uint8_t * pBitstreamData
 Pointer to the bitstream data for this picture (slice-layer) More...
 
uint32_t uNumSlices
 Number of slices in this picture. More...
 
uint32_t * pSliceDataOffsets
 nNumSlices entries, contains offset of each slice within the bitstream data buffer More...
 
uint32_t nal_ref_idc
 Required only for encrypted h264 bitstreams. More...
 
NvMediaBool bSliceDecode
 Flag to indicate that slice level decoding is enabled. More...
 
union {
   NvMediaPictureInfoMPEG1Or2   mpeg2
 picture parameter information for mpeg1/2 NvMediaPictureInfoMPEG1Or2 More...
 
   NvMediaPictureInfoMPEG4Part2   mpeg4
 picture parameter information for mpeg4 NvMediaPictureInfoMPEG4Part2 More...
 
   NvMediaPictureInfoH264   h264
 picture parameter information for h264 NvMediaPictureInfoH264 More...
 
   NvMediaPictureInfoVC1   vc1
 picture parameter information for vc1 NvMediaPictureInfoVC1 More...
 
   NvMediaPictureInfoVP8   vp8
 picture parameter information for VP8 NvMediaPictureInfoVP8 More...
 
   NvMediaPictureInfoH265   hevc
 picture parameter information for h265 NvMediaPictureInfoH265 More...
 
   NvMediaPictureInfoVP9   vp9
 picture parameter information for vp9 NvMediaPictureInfoVP9 More...
 
CodecSpecificInfo
 NvMedia Picture Info. More...
 
NvMediaSliceDecodeData SliceData
 Pass slice level data if slice level decoding enabled. More...
 
NvMediaAESMetaData AesMetaData
 Encrypted content decoding specific parameters. More...
 
NvMediaEncryptParams encryptParams
 contains encrypted metadata for pass1 More...
 

Field Documentation

NvMediaAESMetaData NvMediaParserPictureData::AesMetaData

Encrypted content decoding specific parameters.

Contains the re-encrypted bitstream along with 256 bytes of clear bitstream of slice NAL.

Definition at line 499 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::bottom_field_flag

0=top field, 1=bottom field (ignored if field_pic_flag=0)

Definition at line 444 of file nvmedia_parser.h.

NvMediaBool NvMediaParserPictureData::bSliceDecode

Flag to indicate that slice level decoding is enabled.

Definition at line 474 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::chroma_format

Chroma Format (should match sequence info)

Definition at line 458 of file nvmedia_parser.h.

union { ... } NvMediaParserPictureData::CodecSpecificInfo

NvMedia Picture Info.

NvMediaEncryptParams NvMediaParserPictureData::encryptParams

contains encrypted metadata for pass1

Definition at line 501 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::field_pic_flag

0=frame picture, 1=field picture

Definition at line 442 of file nvmedia_parser.h.

NvMediaPictureInfoH264 NvMediaParserPictureData::h264

picture parameter information for h264 NvMediaPictureInfoH264

Definition at line 483 of file nvmedia_parser.h.

NvMediaPictureInfoH265 NvMediaParserPictureData::hevc

picture parameter information for h265 NvMediaPictureInfoH265

Definition at line 489 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::intra_pic_flag

Frame is entirely intra coded (no temporal dependencies)

Definition at line 456 of file nvmedia_parser.h.

int64_t NvMediaParserPictureData::llFrameTime

Frame time in time_base units if NvMParseAttr_UseFrameTimingInfo is enabled.

Definition at line 434 of file nvmedia_parser.h.

int64_t NvMediaParserPictureData::llTimeBase

Base time units per second if NvMParseAttr_UseFrameTimingInfo is enabled.

Definition at line 436 of file nvmedia_parser.h.

NvMediaPictureInfoMPEG1Or2 NvMediaParserPictureData::mpeg2

picture parameter information for mpeg1/2 NvMediaPictureInfoMPEG1Or2

Definition at line 479 of file nvmedia_parser.h.

NvMediaPictureInfoMPEG4Part2 NvMediaParserPictureData::mpeg4

picture parameter information for mpeg4 NvMediaPictureInfoMPEG4Part2

Definition at line 481 of file nvmedia_parser.h.

uint32_t NvMediaParserPictureData::nal_ref_idc

Required only for encrypted h264 bitstreams.

Definition at line 472 of file nvmedia_parser.h.

uint8_t* NvMediaParserPictureData::pBitstreamData

Pointer to the bitstream data for this picture (slice-layer)

Definition at line 466 of file nvmedia_parser.h.

NvMediaRefSurface* NvMediaParserPictureData::pCurrPic

Current picture (output)

Definition at line 439 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::picture_order_count

picture order count (if known)

Definition at line 460 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::progressive_frame

Frame is progressive or not.

Definition at line 448 of file nvmedia_parser.h.

uint32_t* NvMediaParserPictureData::pSliceDataOffsets

nNumSlices entries, contains offset of each slice within the bitstream data buffer

Definition at line 470 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::ref_pic_flag

Frame is a reference frame.

Definition at line 454 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::repeat_first_field

For 3:2 pulldown (number of additional fields, 2=frame doubling, 4=frame tripling)

Definition at line 452 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::second_field

Second field of a complementary field pair.

Definition at line 446 of file nvmedia_parser.h.

NvMediaSliceDecodeData NvMediaParserPictureData::SliceData

Pass slice level data if slice level decoding enabled.

Definition at line 495 of file nvmedia_parser.h.

int32_t NvMediaParserPictureData::top_field_first

Frame pictures only.

Definition at line 450 of file nvmedia_parser.h.

uint32_t NvMediaParserPictureData::uBitstreamDataLen

Bitstream data.

Number of bytes in bitstream data buffer

Definition at line 464 of file nvmedia_parser.h.

uint16_t NvMediaParserPictureData::uDARHeight

Display Aspect Ratio = uDARHeight.

Definition at line 421 of file nvmedia_parser.h.

uint16_t NvMediaParserPictureData::uDARWidth

Display Aspect Ratio = uDARWidth.

Definition at line 419 of file nvmedia_parser.h.

uint16_t NvMediaParserPictureData::uDisplayHeight

Display Height.

Definition at line 431 of file nvmedia_parser.h.

uint16_t NvMediaParserPictureData::uDisplayLeftOffset

Left offset for display.

Definition at line 424 of file nvmedia_parser.h.

uint16_t NvMediaParserPictureData::uDisplayTopOffset

Top offset for display.

Definition at line 426 of file nvmedia_parser.h.

uint16_t NvMediaParserPictureData::uDisplayWidth

Display Width.

Definition at line 429 of file nvmedia_parser.h.

uint32_t NvMediaParserPictureData::uNumSlices

Number of slices in this picture.

Definition at line 468 of file nvmedia_parser.h.

NvMediaPictureInfoVC1 NvMediaParserPictureData::vc1

picture parameter information for vc1 NvMediaPictureInfoVC1

Definition at line 485 of file nvmedia_parser.h.

NvMediaPictureInfoVP8 NvMediaParserPictureData::vp8

picture parameter information for VP8 NvMediaPictureInfoVP8

Definition at line 487 of file nvmedia_parser.h.

NvMediaPictureInfoVP9 NvMediaParserPictureData::vp9

picture parameter information for vp9 NvMediaPictureInfoVP9

Definition at line 491 of file nvmedia_parser.h.


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