NVIDIA DRIVE OS Linux SDK API Reference

5.2.0 Release
For Test and Development only

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.

Definition at line 214 of file 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...
 

Field Documentation

◆ bottom_field_flag

uint8_t NvMediaPictureInfoH264::bottom_field_flag

Copy of the H.264 bitstream field.

Definition at line 227 of file nvmedia_common_decode.h.

◆ chroma_format_idc

uint16_t NvMediaPictureInfoH264::chroma_format_idc

Copy of the H.264 bitstream field.

Definition at line 221 of file 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 243 of file 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 233 of file 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 267 of file 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 259 of file 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 261 of file 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 263 of file nvmedia_common_decode.h.

◆ field_order_cnt

int32_t NvMediaPictureInfoH264::field_order_cnt[2]

[0]: top, [1]: bottom

Definition at line 216 of file nvmedia_common_decode.h.

◆ field_pic_flag

uint8_t NvMediaPictureInfoH264::field_pic_flag

Copy of the H.264 bitstream field.

Definition at line 225 of file nvmedia_common_decode.h.

◆ fmo_aso_enable

uint8_t NvMediaPictureInfoH264::fmo_aso_enable

Copy of the H.264 bitstream field.

Definition at line 279 of file 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 239 of file nvmedia_common_decode.h.

◆ frame_num

uint16_t NvMediaPictureInfoH264::frame_num

Copy of the H.264 bitstream field.

Definition at line 223 of file nvmedia_common_decode.h.

◆ frameType

uint8_t NvMediaPictureInfoH264::frameType

0:FrameType_B 1:FrameType_P 2:FrameType_I

Definition at line 296 of file nvmedia_common_decode.h.

◆ inter_view_flag

uint8_t NvMediaPictureInfoH264::inter_view_flag

Copy of the H.264 mvc bitstream field.

Definition at line 305 of file nvmedia_common_decode.h.

◆ InterViewRefsL0

uint16_t NvMediaPictureInfoH264::InterViewRefsL0[16]

Copy of the H.264 mvc bitstream field.

Definition at line 313 of file nvmedia_common_decode.h.

◆ InterViewRefsL1

uint16_t NvMediaPictureInfoH264::InterViewRefsL1[16]

Copy of the H.264 mvc bitstream field.

Definition at line 315 of file nvmedia_common_decode.h.

◆ is_reference

NvMediaBool NvMediaPictureInfoH264::is_reference

Will the decoded frame be used as a reference later.

Definition at line 218 of file 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 327 of file 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 325 of file 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 253 of file 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 257 of file 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 231 of file nvmedia_common_decode.h.

◆ mvcext

struct { ... } NvMediaPictureInfoH264::mvcext

MVC extension.

◆ MVCReserved8Bits

uint8_t NvMediaPictureInfoH264::MVCReserved8Bits

Copy of the H.264 mvc bitstream field.

Definition at line 311 of file 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 292 of file 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 307 of file 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 309 of file nvmedia_common_decode.h.

◆ num_ref_frames

uint8_t NvMediaPictureInfoH264::num_ref_frames

Copy of the H.264 bitstream field.

Definition at line 229 of file 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 249 of file 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 251 of file 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 271 of file nvmedia_common_decode.h.

◆ num_views_minus1

uint16_t NvMediaPictureInfoH264::num_views_minus1

Copy of the H.264 mvc bitstream field.

Definition at line 301 of file 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 323 of file 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 247 of file 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 255 of file 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 265 of file 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 321 of file nvmedia_common_decode.h.

◆ pSliceDataOffsets

uint32_t* NvMediaPictureInfoH264::pSliceDataOffsets

Passing NULL for pSliceDataOffsets disables error-concealment.

Definition at line 294 of file 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 329 of file 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 269 of file nvmedia_common_decode.h.

◆ referenceFrames

NvMediaReferenceFrameH264 NvMediaPictureInfoH264::referenceFrames[16]

See NvMediaPictureInfoH264 for instructions regarding this field.

Definition at line 289 of file nvmedia_common_decode.h.

◆ scaling_lists_4x4

uint8_t NvMediaPictureInfoH264::scaling_lists_4x4[6][16]

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

Definition at line 284 of file nvmedia_common_decode.h.

◆ scaling_lists_8x8

uint8_t NvMediaPictureInfoH264::scaling_lists_8x8[2][64]

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

Definition at line 286 of file nvmedia_common_decode.h.

◆ scaling_matrix_present

uint8_t NvMediaPictureInfoH264::scaling_matrix_present

Copy of the H.264 bitstream field.

Definition at line 281 of file 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 245 of file nvmedia_common_decode.h.

◆ seiPayloadInfo

NvMediaSEIPayloadH264 NvMediaPictureInfoH264::seiPayloadInfo

Parser only: SEI payload info.

Definition at line 319 of file 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 275 of file nvmedia_common_decode.h.

◆ slice_group_map

uint8_t* NvMediaPictureInfoH264::slice_group_map

Slice group map.

Definition at line 277 of file 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 273 of file 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 241 of file nvmedia_common_decode.h.

◆ view_id

uint16_t NvMediaPictureInfoH264::view_id

Copy of the H.264 mvc bitstream field.

Definition at line 303 of file nvmedia_common_decode.h.

◆ weighted_bipred_idc

uint8_t NvMediaPictureInfoH264::weighted_bipred_idc

Copy of the H.264 bitstream field.

Definition at line 237 of file nvmedia_common_decode.h.

◆ weighted_pred_flag

uint8_t NvMediaPictureInfoH264::weighted_pred_flag

Copy of the H.264 bitstream field.

Definition at line 235 of file nvmedia_common_decode.h.


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