NVIDIA DRIVE OS Linux SDK API Reference

6.0.3 Release

Detailed Description

Picture parameter information for an H.264 picture.

Note
The referenceFrames array must contain the "DPB" as defined by the H.264 specification. In particular, once a reference frame has been decoded to a surface, that surface must continue to appear in the DPB until no longer required to predict any future frame. Once a surface is removed from the DPB, it can no longer be used as a reference, unless decoded again.

Also note that only surfaces previously generated using NvMediaVideoDecoderRenderEx may be used as reference frames.

Note
References to "copy of bitstream field" in the field descriptions may refer to data literally parsed from the bitstream, or derived from the bitstream using a mechanism described in the specification.
The referenceFrames array must contain the "DPB" as defined by the H.264 specification. In particular, once a reference frame has been decoded to a surface, that surface must continue to appear in the DPB until no longer required to predict any future frame. Once a surface is removed from the DPB, it can no longer be used as a reference, unless decoded again.

Also note that only surfaces previously generated using NvMediaIDERender may be used as reference frames.

Note
References to "copy of bitstream field" in the field descriptions may refer to data literally parsed from the bitstream, or derived from the bitstream using a mechanism described in the specification.

Definition at line 335 of file tvmr/include/nvmedia_common_decode.h.

Collaboration diagram for NvMediaPictureInfoH264:

Data Fields

int32_t field_order_cnt [2]
 [0]: top, [1]: bottom More...
 
NvMediaBool is_reference
 Will the decoded frame be used as a reference later. More...
 
uint16_t chroma_format_idc
 Copy of the H.264 bitstream field. More...
 
uint16_t frame_num
 Copy of the H.264 bitstream field. More...
 
uint8_t field_pic_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t bottom_field_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t num_ref_frames
 Copy of the H.264 bitstream field. More...
 
uint8_t mb_adaptive_frame_field_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t constrained_intra_pred_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t weighted_pred_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t weighted_bipred_idc
 Copy of the H.264 bitstream field. More...
 
uint8_t frame_mbs_only_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t transform_8x8_mode_flag
 Copy of the H.264 bitstream field. More...
 
int8_t chroma_qp_index_offset
 Copy of the H.264 bitstream field. More...
 
int8_t second_chroma_qp_index_offset
 Copy of the H.264 bitstream field. More...
 
int8_t pic_init_qp_minus26
 Copy of the H.264 bitstream field. More...
 
uint8_t num_ref_idx_l0_active_minus1
 Copy of the H.264 bitstream field. More...
 
uint8_t num_ref_idx_l1_active_minus1
 Copy of the H.264 bitstream field. More...
 
uint8_t log2_max_frame_num_minus4
 Copy of the H.264 bitstream field. More...
 
uint8_t pic_order_cnt_type
 Copy of the H.264 bitstream field. More...
 
uint8_t log2_max_pic_order_cnt_lsb_minus4
 Copy of the H.264 bitstream field. More...
 
uint8_t delta_pic_order_always_zero_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t direct_8x8_inference_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t entropy_coding_mode_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t pic_order_present_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t deblocking_filter_control_present_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t redundant_pic_cnt_present_flag
 Copy of the H.264 bitstream field. More...
 
uint8_t num_slice_groups_minus1
 Copy of the H.264 bitstream field. More...
 
uint8_t slice_group_map_type
 Copy of the H.264 bitstream field. More...
 
uint32_t slice_group_change_rate_minus1
 Copy of the H.264 bitstream field. More...
 
uint8_t * slice_group_map
 Slice group map. More...
 
uint8_t fmo_aso_enable
 Copy of the H.264 bitstream field. More...
 
uint8_t scaling_matrix_present
 Copy of the H.264 bitstream field. More...
 
uint8_t scaling_lists_4x4 [6][16]
 Copy of the H.264 bitstream field, converted to raster order. More...
 
uint8_t scaling_lists_8x8 [2][64]
 Copy of the H.264 bitstream field, converted to raster order. More...
 
NvMediaReferenceFrameH264 referenceFrames [16]
 See NvMediaPictureInfoH264 for instructions regarding this field. More...
 
uint32_t nNumSlices
 Number of slices in this picture. More...
 
uint32_t * pSliceDataOffsets
 Passing NULL for pSliceDataOffsets disables error-concealment. More...
 
uint8_t frameType
 0:FrameType_B 1:FrameType_P 2:FrameType_I More...
 
struct {
   uint16_t   num_views_minus1
 Copy of the H.264 mvc bitstream field. More...
 
   uint16_t   view_id
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   inter_view_flag
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   num_inter_view_refs_l0
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   num_inter_view_refs_l1
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   MVCReserved8Bits
 Copy of the H.264 mvc bitstream field. More...
 
   uint16_t   InterViewRefsL0 [16]
 Copy of the H.264 mvc bitstream field. More...
 
   uint16_t   InterViewRefsL1 [16]
 Copy of the H.264 mvc bitstream field. More...
 
mvcext
 MVC extension. More...
 
NvMediaSEIPayloadH264 seiPayloadInfo
 Parser only: SEI payload info. More...
 
uint32_t pic_width_in_mbs_minus1
 Copy of the H.264 bitstream field. More...
 
uint32_t pic_height_in_map_units_minus1
 Copy of the H.264 bitstream field. More...
 
int32_t last_sps_id
 Copy of the H.264 bitstream field. More...
 
int32_t last_pps_id
 Copy of the H.264 bitstream field. More...
 
int32_t qpprime_y_zero_transform_bypass_flag
 Copy of the H.264 bitstream field, qpprime_y_zero_transform_bypass_flag. More...
 
uint32_t is_reference
 Will the decoded frame be used as a reference later. More...
 
struct {
   uint16_t   num_views_minus1
 Copy of the H.264 mvc bitstream field. More...
 
   uint16_t   view_id
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   inter_view_flag
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   num_inter_view_refs_l0
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   num_inter_view_refs_l1
 Copy of the H.264 mvc bitstream field. More...
 
   uint8_t   MVCReserved8Bits
 Copy of the H.264 mvc bitstream field. More...
 
   uint16_t   InterViewRefsL0 [16]
 Copy of the H.264 mvc bitstream field. More...
 
   uint16_t   InterViewRefsL1 [16]
 Copy of the H.264 mvc bitstream field. More...
 
mvcext
 MVC extension. More...
 

Field Documentation

◆ bottom_field_flag

uint8_t NvMediaPictureInfoH264::bottom_field_flag

Copy of the H.264 bitstream field.

Definition at line 348 of file tvmr/include/nvmedia_common_decode.h.

◆ chroma_format_idc

uint16_t NvMediaPictureInfoH264::chroma_format_idc

Copy of the H.264 bitstream field.

Definition at line 342 of file tvmr/include/nvmedia_common_decode.h.

◆ chroma_qp_index_offset

int8_t NvMediaPictureInfoH264::chroma_qp_index_offset

Copy of the H.264 bitstream field.

Definition at line 364 of file tvmr/include/nvmedia_common_decode.h.

◆ constrained_intra_pred_flag

uint8_t NvMediaPictureInfoH264::constrained_intra_pred_flag

Copy of the H.264 bitstream field.

Definition at line 354 of file tvmr/include/nvmedia_common_decode.h.

◆ deblocking_filter_control_present_flag

uint8_t NvMediaPictureInfoH264::deblocking_filter_control_present_flag

Copy of the H.264 bitstream field.

Definition at line 388 of file tvmr/include/nvmedia_common_decode.h.

◆ delta_pic_order_always_zero_flag

uint8_t NvMediaPictureInfoH264::delta_pic_order_always_zero_flag

Copy of the H.264 bitstream field.

Definition at line 380 of file tvmr/include/nvmedia_common_decode.h.

◆ direct_8x8_inference_flag

uint8_t NvMediaPictureInfoH264::direct_8x8_inference_flag

Copy of the H.264 bitstream field.

Definition at line 382 of file tvmr/include/nvmedia_common_decode.h.

◆ entropy_coding_mode_flag

uint8_t NvMediaPictureInfoH264::entropy_coding_mode_flag

Copy of the H.264 bitstream field.

Definition at line 384 of file tvmr/include/nvmedia_common_decode.h.

◆ field_order_cnt

int32_t NvMediaPictureInfoH264::field_order_cnt

[0]: top, [1]: bottom

Definition at line 337 of file tvmr/include/nvmedia_common_decode.h.

◆ field_pic_flag

uint8_t NvMediaPictureInfoH264::field_pic_flag

Copy of the H.264 bitstream field.

Definition at line 346 of file tvmr/include/nvmedia_common_decode.h.

◆ fmo_aso_enable

uint8_t NvMediaPictureInfoH264::fmo_aso_enable

Copy of the H.264 bitstream field.

Definition at line 400 of file tvmr/include/nvmedia_common_decode.h.

◆ frame_mbs_only_flag

uint8_t NvMediaPictureInfoH264::frame_mbs_only_flag

Copy of the H.264 bitstream field.

Definition at line 360 of file tvmr/include/nvmedia_common_decode.h.

◆ frame_num

uint16_t NvMediaPictureInfoH264::frame_num

Copy of the H.264 bitstream field.

Definition at line 344 of file tvmr/include/nvmedia_common_decode.h.

◆ frameType

uint8_t NvMediaPictureInfoH264::frameType

0:FrameType_B 1:FrameType_P 2:FrameType_I

Definition at line 417 of file tvmr/include/nvmedia_common_decode.h.

◆ inter_view_flag

uint8_t NvMediaPictureInfoH264::inter_view_flag

Copy of the H.264 mvc bitstream field.

Definition at line 426 of file tvmr/include/nvmedia_common_decode.h.

◆ InterViewRefsL0

uint16_t NvMediaPictureInfoH264::InterViewRefsL0[16]

Copy of the H.264 mvc bitstream field.

Definition at line 434 of file tvmr/include/nvmedia_common_decode.h.

◆ InterViewRefsL1

uint16_t NvMediaPictureInfoH264::InterViewRefsL1[16]

Copy of the H.264 mvc bitstream field.

Definition at line 436 of file tvmr/include/nvmedia_common_decode.h.

◆ is_reference [1/2]

uint32_t NvMediaPictureInfoH264::is_reference

Will the decoded frame be used as a reference later.

Definition at line 332 of file nvmedia/mm/inc/public/nvmedia_common_decode.h.

◆ is_reference [2/2]

NvMediaBool NvMediaPictureInfoH264::is_reference

Will the decoded frame be used as a reference later.

Definition at line 339 of file tvmr/include/nvmedia_common_decode.h.

◆ last_pps_id

int32_t NvMediaPictureInfoH264::last_pps_id

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 448 of file tvmr/include/nvmedia_common_decode.h.

◆ last_sps_id

int32_t NvMediaPictureInfoH264::last_sps_id

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 446 of file tvmr/include/nvmedia_common_decode.h.

◆ log2_max_frame_num_minus4

uint8_t NvMediaPictureInfoH264::log2_max_frame_num_minus4

Copy of the H.264 bitstream field.

Definition at line 374 of file tvmr/include/nvmedia_common_decode.h.

◆ log2_max_pic_order_cnt_lsb_minus4

uint8_t NvMediaPictureInfoH264::log2_max_pic_order_cnt_lsb_minus4

Copy of the H.264 bitstream field.

Definition at line 378 of file tvmr/include/nvmedia_common_decode.h.

◆ mb_adaptive_frame_field_flag

uint8_t NvMediaPictureInfoH264::mb_adaptive_frame_field_flag

Copy of the H.264 bitstream field.

Definition at line 352 of file tvmr/include/nvmedia_common_decode.h.

◆ mvcext [1/2]

struct { ... } NvMediaPictureInfoH264::mvcext

MVC extension.

◆ mvcext [2/2]

struct { ... } NvMediaPictureInfoH264::mvcext

MVC extension.

◆ MVCReserved8Bits

uint8_t NvMediaPictureInfoH264::MVCReserved8Bits

Copy of the H.264 mvc bitstream field.

Definition at line 432 of file tvmr/include/nvmedia_common_decode.h.

◆ nNumSlices

uint32_t NvMediaPictureInfoH264::nNumSlices

Number of slices in this picture.

nNumSlices entries contain the offset of each slice within the bitstream data buffer. Required for nvdec.

Definition at line 413 of file tvmr/include/nvmedia_common_decode.h.

◆ num_inter_view_refs_l0

uint8_t NvMediaPictureInfoH264::num_inter_view_refs_l0

Copy of the H.264 mvc bitstream field.

Definition at line 428 of file tvmr/include/nvmedia_common_decode.h.

◆ num_inter_view_refs_l1

uint8_t NvMediaPictureInfoH264::num_inter_view_refs_l1

Copy of the H.264 mvc bitstream field.

Definition at line 430 of file tvmr/include/nvmedia_common_decode.h.

◆ num_ref_frames

uint8_t NvMediaPictureInfoH264::num_ref_frames

Copy of the H.264 bitstream field.

Definition at line 350 of file tvmr/include/nvmedia_common_decode.h.

◆ num_ref_idx_l0_active_minus1

uint8_t NvMediaPictureInfoH264::num_ref_idx_l0_active_minus1

Copy of the H.264 bitstream field.

Definition at line 370 of file tvmr/include/nvmedia_common_decode.h.

◆ num_ref_idx_l1_active_minus1

uint8_t NvMediaPictureInfoH264::num_ref_idx_l1_active_minus1

Copy of the H.264 bitstream field.

Definition at line 372 of file tvmr/include/nvmedia_common_decode.h.

◆ num_slice_groups_minus1

uint8_t NvMediaPictureInfoH264::num_slice_groups_minus1

Copy of the H.264 bitstream field.

Definition at line 392 of file tvmr/include/nvmedia_common_decode.h.

◆ num_views_minus1

uint16_t NvMediaPictureInfoH264::num_views_minus1

Copy of the H.264 mvc bitstream field.

Definition at line 422 of file tvmr/include/nvmedia_common_decode.h.

◆ pic_height_in_map_units_minus1

uint32_t NvMediaPictureInfoH264::pic_height_in_map_units_minus1

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 444 of file tvmr/include/nvmedia_common_decode.h.

◆ pic_init_qp_minus26

int8_t NvMediaPictureInfoH264::pic_init_qp_minus26

Copy of the H.264 bitstream field.

Definition at line 368 of file tvmr/include/nvmedia_common_decode.h.

◆ pic_order_cnt_type

uint8_t NvMediaPictureInfoH264::pic_order_cnt_type

Copy of the H.264 bitstream field.

Definition at line 376 of file tvmr/include/nvmedia_common_decode.h.

◆ pic_order_present_flag

uint8_t NvMediaPictureInfoH264::pic_order_present_flag

Copy of the H.264 bitstream field.

Definition at line 386 of file tvmr/include/nvmedia_common_decode.h.

◆ pic_width_in_mbs_minus1

uint32_t NvMediaPictureInfoH264::pic_width_in_mbs_minus1

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 442 of file tvmr/include/nvmedia_common_decode.h.

◆ pSliceDataOffsets

uint32_t * NvMediaPictureInfoH264::pSliceDataOffsets

Passing NULL for pSliceDataOffsets disables error-concealment.

Definition at line 415 of file tvmr/include/nvmedia_common_decode.h.

◆ qpprime_y_zero_transform_bypass_flag

int32_t NvMediaPictureInfoH264::qpprime_y_zero_transform_bypass_flag

Copy of the H.264 bitstream field, qpprime_y_zero_transform_bypass_flag.

Definition at line 450 of file tvmr/include/nvmedia_common_decode.h.

◆ redundant_pic_cnt_present_flag

uint8_t NvMediaPictureInfoH264::redundant_pic_cnt_present_flag

Copy of the H.264 bitstream field.

Definition at line 390 of file tvmr/include/nvmedia_common_decode.h.

◆ referenceFrames

NvMediaReferenceFrameH264 NvMediaPictureInfoH264::referenceFrames

See NvMediaPictureInfoH264 for instructions regarding this field.

See NvMediaPictureInfoH264 for instructions regarding this field.

Definition at line 410 of file tvmr/include/nvmedia_common_decode.h.

◆ scaling_lists_4x4

uint8_t NvMediaPictureInfoH264::scaling_lists_4x4

Copy of the H.264 bitstream field, converted to raster order.

Definition at line 405 of file tvmr/include/nvmedia_common_decode.h.

◆ scaling_lists_8x8

uint8_t NvMediaPictureInfoH264::scaling_lists_8x8

Copy of the H.264 bitstream field, converted to raster order.

Definition at line 407 of file tvmr/include/nvmedia_common_decode.h.

◆ scaling_matrix_present

uint8_t NvMediaPictureInfoH264::scaling_matrix_present

Copy of the H.264 bitstream field.

Definition at line 402 of file tvmr/include/nvmedia_common_decode.h.

◆ second_chroma_qp_index_offset

int8_t NvMediaPictureInfoH264::second_chroma_qp_index_offset

Copy of the H.264 bitstream field.

Definition at line 366 of file tvmr/include/nvmedia_common_decode.h.

◆ seiPayloadInfo

NvMediaSEIPayloadH264 NvMediaPictureInfoH264::seiPayloadInfo

Parser only: SEI payload info.

Definition at line 440 of file tvmr/include/nvmedia_common_decode.h.

◆ slice_group_change_rate_minus1

uint32_t NvMediaPictureInfoH264::slice_group_change_rate_minus1

Copy of the H.264 bitstream field.

Definition at line 396 of file tvmr/include/nvmedia_common_decode.h.

◆ slice_group_map

uint8_t * NvMediaPictureInfoH264::slice_group_map

Slice group map.

Definition at line 398 of file tvmr/include/nvmedia_common_decode.h.

◆ slice_group_map_type

uint8_t NvMediaPictureInfoH264::slice_group_map_type

Copy of the H.264 bitstream field.

Definition at line 394 of file tvmr/include/nvmedia_common_decode.h.

◆ transform_8x8_mode_flag

uint8_t NvMediaPictureInfoH264::transform_8x8_mode_flag

Copy of the H.264 bitstream field.

Definition at line 362 of file tvmr/include/nvmedia_common_decode.h.

◆ view_id

uint16_t NvMediaPictureInfoH264::view_id

Copy of the H.264 mvc bitstream field.

Definition at line 424 of file tvmr/include/nvmedia_common_decode.h.

◆ weighted_bipred_idc

uint8_t NvMediaPictureInfoH264::weighted_bipred_idc

Copy of the H.264 bitstream field.

Definition at line 358 of file tvmr/include/nvmedia_common_decode.h.

◆ weighted_pred_flag

uint8_t NvMediaPictureInfoH264::weighted_pred_flag

Copy of the H.264 bitstream field.

Definition at line 356 of file tvmr/include/nvmedia_common_decode.h.


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