NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

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

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 281 of file nvmedia_common.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

uint8_t NvMediaPictureInfoH264::bottom_field_flag

Copy of the H.264 bitstream field.

Definition at line 294 of file nvmedia_common.h.

uint16_t NvMediaPictureInfoH264::chroma_format_idc

Copy of the H.264 bitstream field.

Definition at line 288 of file nvmedia_common.h.

int8_t NvMediaPictureInfoH264::chroma_qp_index_offset

Copy of the H.264 bitstream field.

Definition at line 310 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::constrained_intra_pred_flag

Copy of the H.264 bitstream field.

Definition at line 300 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::deblocking_filter_control_present_flag

Copy of the H.264 bitstream field.

Definition at line 334 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::delta_pic_order_always_zero_flag

Copy of the H.264 bitstream field.

Definition at line 326 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::direct_8x8_inference_flag

Copy of the H.264 bitstream field.

Definition at line 328 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::entropy_coding_mode_flag

Copy of the H.264 bitstream field.

Definition at line 330 of file nvmedia_common.h.

int32_t NvMediaPictureInfoH264::field_order_cnt[2]

[0]: top, [1]: bottom

Definition at line 283 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::field_pic_flag

Copy of the H.264 bitstream field.

Definition at line 292 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::fmo_aso_enable

Copy of the H.264 bitstream field.

Definition at line 346 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::frame_mbs_only_flag

Copy of the H.264 bitstream field.

Definition at line 306 of file nvmedia_common.h.

uint16_t NvMediaPictureInfoH264::frame_num

Copy of the H.264 bitstream field.

Definition at line 290 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::frameType

0:FrameType_B 1:FrameType_P 2:FrameType_I

Definition at line 363 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::inter_view_flag

Copy of the H.264 mvc bitstream field.

Definition at line 372 of file nvmedia_common.h.

uint16_t NvMediaPictureInfoH264::InterViewRefsL0[16]

Copy of the H.264 mvc bitstream field.

Definition at line 380 of file nvmedia_common.h.

uint16_t NvMediaPictureInfoH264::InterViewRefsL1[16]

Copy of the H.264 mvc bitstream field.

Definition at line 382 of file nvmedia_common.h.

NvMediaBool NvMediaPictureInfoH264::is_reference

Will the decoded frame be used as a reference later.

Definition at line 285 of file nvmedia_common.h.

int32_t NvMediaPictureInfoH264::last_pps_id

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 394 of file nvmedia_common.h.

int32_t NvMediaPictureInfoH264::last_sps_id

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 392 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::log2_max_frame_num_minus4

Copy of the H.264 bitstream field.

Definition at line 320 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::log2_max_pic_order_cnt_lsb_minus4

Copy of the H.264 bitstream field.

Definition at line 324 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::mb_adaptive_frame_field_flag

Copy of the H.264 bitstream field.

Definition at line 298 of file nvmedia_common.h.

struct { ... } NvMediaPictureInfoH264::mvcext

MVC extension.

uint8_t NvMediaPictureInfoH264::MVCReserved8Bits

Copy of the H.264 mvc bitstream field.

Definition at line 378 of file nvmedia_common.h.

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 359 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::num_inter_view_refs_l0

Copy of the H.264 mvc bitstream field.

Definition at line 374 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::num_inter_view_refs_l1

Copy of the H.264 mvc bitstream field.

Definition at line 376 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::num_ref_frames

Copy of the H.264 bitstream field.

Definition at line 296 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::num_ref_idx_l0_active_minus1

Copy of the H.264 bitstream field.

Definition at line 316 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::num_ref_idx_l1_active_minus1

Copy of the H.264 bitstream field.

Definition at line 318 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::num_slice_groups_minus1

Copy of the H.264 bitstream field.

Definition at line 338 of file nvmedia_common.h.

uint16_t NvMediaPictureInfoH264::num_views_minus1

Copy of the H.264 mvc bitstream field.

Definition at line 368 of file nvmedia_common.h.

uint32_t NvMediaPictureInfoH264::pic_height_in_map_units_minus1

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 390 of file nvmedia_common.h.

int8_t NvMediaPictureInfoH264::pic_init_qp_minus26

Copy of the H.264 bitstream field.

Definition at line 314 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::pic_order_cnt_type

Copy of the H.264 bitstream field.

Definition at line 322 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::pic_order_present_flag

Copy of the H.264 bitstream field.

Definition at line 332 of file nvmedia_common.h.

uint32_t NvMediaPictureInfoH264::pic_width_in_mbs_minus1

Copy of the H.264 bitstream field.

Required for OTF

Definition at line 388 of file nvmedia_common.h.

uint32_t* NvMediaPictureInfoH264::pSliceDataOffsets

Passing NULL for pSliceDataOffsets disables error-concealment.

Definition at line 361 of file nvmedia_common.h.

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 396 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::redundant_pic_cnt_present_flag

Copy of the H.264 bitstream field.

Definition at line 336 of file nvmedia_common.h.

NvMediaReferenceFrameH264 NvMediaPictureInfoH264::referenceFrames[16]

See NvMediaPictureInfoH264 for instructions regarding this field.

Definition at line 356 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::scaling_lists_4x4[6][16]

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

Definition at line 351 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::scaling_lists_8x8[2][64]

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

Definition at line 353 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::scaling_matrix_present

Copy of the H.264 bitstream field.

Definition at line 348 of file nvmedia_common.h.

int8_t NvMediaPictureInfoH264::second_chroma_qp_index_offset

Copy of the H.264 bitstream field.

Definition at line 312 of file nvmedia_common.h.

NvMediaSEIPayloadH264 NvMediaPictureInfoH264::seiPayloadInfo

Parser only: SEI payload info.

Definition at line 386 of file nvmedia_common.h.

uint32_t NvMediaPictureInfoH264::slice_group_change_rate_minus1

Copy of the H.264 bitstream field.

Definition at line 342 of file nvmedia_common.h.

uint8_t* NvMediaPictureInfoH264::slice_group_map

Slice group map.

Definition at line 344 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::slice_group_map_type

Copy of the H.264 bitstream field.

Definition at line 340 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::transform_8x8_mode_flag

Copy of the H.264 bitstream field.

Definition at line 308 of file nvmedia_common.h.

uint16_t NvMediaPictureInfoH264::view_id

Copy of the H.264 mvc bitstream field.

Definition at line 370 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::weighted_bipred_idc

Copy of the H.264 bitstream field.

Definition at line 304 of file nvmedia_common.h.

uint8_t NvMediaPictureInfoH264::weighted_pred_flag

Copy of the H.264 bitstream field.

Definition at line 302 of file nvmedia_common.h.


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