struct _VAEncSliceParameterBufferH264

Defined at line 420 of file ../../third_party/intel/libva/va/va_enc_h264.h

Slice parameter for H.264 encoding in baseline, main

&

high profiles.

This structure holds information for

as defined by the H.264

specification.

If packed slice headers mode is used, i.e. if the encoding

pipeline was configured with the #VA_ENC_PACKED_HEADER_SLICE

flag, then the driver expects two more buffers to be provided to

the same

as this buffer:

- a #VAEncPackedHeaderParameterBuffer with type set to

VAEncPackedHeaderType::VAEncPackedHeaderSlice ;

- a #VAEncPackedHeaderDataBuffer which holds the actual packed

header data.

If per-macroblock encoder configuration is needed,

references a buffer of type #VAEncMacroblockParameterBufferH264. This

buffer is not passed to vaRenderPicture() and it can be re-used

without re-allocating the whole buffer.

Public Members

uint32_t macroblock_address
uint32_t num_macroblocks
VABufferID macroblock_info
uint8_t slice_type
uint8_t pic_parameter_set_id
uint16_t idr_pic_id
uint16_t pic_order_cnt_lsb
int32_t delta_pic_order_cnt_bottom
int32_t[2] delta_pic_order_cnt
uint8_t direct_spatial_mv_pred_flag
uint8_t num_ref_idx_active_override_flag
uint8_t num_ref_idx_l0_active_minus1
uint8_t num_ref_idx_l1_active_minus1
VAPictureH264[32] RefPicList0
VAPictureH264[32] RefPicList1
uint8_t luma_log2_weight_denom
uint8_t chroma_log2_weight_denom
uint8_t luma_weight_l0_flag
short[32] luma_weight_l0
short[32] luma_offset_l0
uint8_t chroma_weight_l0_flag
short[32][2] chroma_weight_l0
short[32][2] chroma_offset_l0
uint8_t luma_weight_l1_flag
short[32] luma_weight_l1
short[32] luma_offset_l1
uint8_t chroma_weight_l1_flag
short[32][2] chroma_weight_l1
short[32][2] chroma_offset_l1
uint8_t cabac_init_idc
int8_t slice_qp_delta
uint8_t disable_deblocking_filter_idc
int8_t slice_alpha_c0_offset_div2
int8_t slice_beta_offset_div2
uint32_t[4] va_reserved