VA-API
2.22.0
|
HEVC Slice Parameter Buffer Structure For Long Format. More...
#include <va_dec_hevc.h>
Public Attributes | |
uint32_t | va_reserved [VA_PADDING_LOW - 2] |
Reserved bytes for future use, must be zero. | |
uint32_t | LastSliceOfPic: 1 |
uint32_t | dependent_slice_segment_flag: 1 |
uint32_t | slice_type: 2 |
uint32_t | color_plane_id: 2 |
uint32_t | slice_sao_luma_flag: 1 |
uint32_t | slice_sao_chroma_flag: 1 |
uint32_t | mvd_l1_zero_flag: 1 |
uint32_t | cabac_init_flag: 1 |
uint32_t | slice_temporal_mvp_enabled_flag: 1 |
uint32_t | slice_deblocking_filter_disabled_flag: 1 |
uint32_t | collocated_from_l0_flag: 1 |
uint32_t | slice_loop_filter_across_slices_enabled_flag: 1 |
Codec-independent Slice Parameter Buffer base. | |
uint32_t | slice_data_size |
Number of bytes in the slice data buffer for this slice counting from and including NAL unit header. | |
uint32_t | slice_data_offset |
The offset to the NAL unit header for this slice. | |
uint32_t | slice_data_flag |
Slice data buffer flags. See VA_SLICE_DATA_FLAG_XXX . | |
uint32_t | slice_data_byte_offset |
Byte offset from NAL unit header to the begining of slice_data(). More... | |
uint32_t | slice_segment_address |
uint8_t | RefPicList [2][15] |
index into ReferenceFrames[] RefPicList[0][] corresponds to RefPicList0[] of HEVC variable. RefPicList[1][] corresponds to RefPicList1[] of HEVC variable. value range [0..14, 0xFF], where 0xFF indicates invalid entry. | |
union { | |
} | LongSliceFlags |
uint8_t | collocated_ref_idx |
uint8_t | num_ref_idx_l0_active_minus1 |
uint8_t | num_ref_idx_l1_active_minus1 |
int8_t | slice_qp_delta |
int8_t | slice_cb_qp_offset |
int8_t | slice_cr_qp_offset |
int8_t | slice_beta_offset_div2 |
int8_t | slice_tc_offset_div2 |
uint8_t | luma_log2_weight_denom |
int8_t | delta_chroma_log2_weight_denom |
int8_t | delta_luma_weight_l0 [15] |
int8_t | luma_offset_l0 [15] |
int8_t | delta_chroma_weight_l0 [15][2] |
int8_t | ChromaOffsetL0 [15][2] |
int8_t | delta_luma_weight_l1 [15] |
int8_t | luma_offset_l1 [15] |
int8_t | delta_chroma_weight_l1 [15][2] |
int8_t | ChromaOffsetL1 [15][2] |
uint8_t | five_minus_max_num_merge_cand |
uint16_t | num_entry_point_offsets |
uint16_t | entry_offset_to_subset_array |
uint16_t | slice_data_num_emu_prevn_bytes |
Number of emulation prevention bytes in slice header. | |
HEVC Slice Parameter Buffer Structure For Long Format.
VASliceParameterBufferHEVC structure should be accompanied by a slice data buffer, which holds the whole raw slice NAL unit bit streams including start code prefix and emulation prevention bytes not removed.
This structure conveys parameters related to slice segment header and should be sent once per slice.
For short format, this data structure is not sent by application.
uint32_t VASliceParameterBufferHEVC::cabac_init_flag |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::ChromaOffsetL0[15][2] |
corresponds to HEVC spec variable of the same name.
int8_t VASliceParameterBufferHEVC::ChromaOffsetL1[15][2] |
corresponds to HEVC spec variable of the same name.
uint32_t VASliceParameterBufferHEVC::collocated_from_l0_flag |
HEVC syntax element.
uint8_t VASliceParameterBufferHEVC::collocated_ref_idx |
HEVC syntax element. Collocated Reference Picture Index. index to RefPicList[0][] or RefPicList[1][]. when slice_temporal_mvp_enabled_flag equals 0, it should take value 0xFF. value range [0..14, 0xFF].
uint32_t VASliceParameterBufferHEVC::color_plane_id |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::delta_chroma_log2_weight_denom |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::delta_chroma_weight_l0[15][2] |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::delta_chroma_weight_l1[15][2] |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::delta_luma_weight_l0[15] |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::delta_luma_weight_l1[15] |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::dependent_slice_segment_flag |
HEVC syntax element.
uint16_t VASliceParameterBufferHEVC::entry_offset_to_subset_array |
HEVC syntax element.
uint8_t VASliceParameterBufferHEVC::five_minus_max_num_merge_cand |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::LastSliceOfPic |
current slice is last slice of picture.
uint8_t VASliceParameterBufferHEVC::luma_log2_weight_denom |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::luma_offset_l0[15] |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::luma_offset_l1[15] |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::mvd_l1_zero_flag |
HEVC syntax element.
uint16_t VASliceParameterBufferHEVC::num_entry_point_offsets |
HEVC syntax element.
uint8_t VASliceParameterBufferHEVC::num_ref_idx_l0_active_minus1 |
HEVC syntax element. if num_ref_idx_active_override_flag equals 0, host decoder should set its value to num_ref_idx_l0_default_active_minus1.
uint8_t VASliceParameterBufferHEVC::num_ref_idx_l1_active_minus1 |
HEVC syntax element. if num_ref_idx_active_override_flag equals 0, host decoder should set its value to num_ref_idx_l1_default_active_minus1.
int8_t VASliceParameterBufferHEVC::slice_beta_offset_div2 |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::slice_cb_qp_offset |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::slice_cr_qp_offset |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::slice_data_byte_offset |
Byte offset from NAL unit header to the begining of slice_data().
This byte offset is relative to and includes the NAL unit header and represents the number of bytes parsed in the slice_header() after the removal of any emulation prevention bytes in there. However, the slice data buffer passed to the hardware is the original bitstream, thus including any emulation prevention bytes.
uint32_t VASliceParameterBufferHEVC::slice_deblocking_filter_disabled_flag |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::slice_loop_filter_across_slices_enabled_flag |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::slice_qp_delta |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::slice_sao_chroma_flag |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::slice_sao_luma_flag |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::slice_segment_address |
HEVC syntax element.
int8_t VASliceParameterBufferHEVC::slice_tc_offset_div2 |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::slice_temporal_mvp_enabled_flag |
HEVC syntax element.
uint32_t VASliceParameterBufferHEVC::slice_type |
HEVC syntax element.