VA-API  2.19.0
Public Attributes | List of all members
VASliceParameterBufferHEVC Struct Reference

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.
 

Detailed Description

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.

Member Data Documentation

◆ cabac_init_flag

uint32_t VASliceParameterBufferHEVC::cabac_init_flag

HEVC syntax element.

◆ ChromaOffsetL0

int8_t VASliceParameterBufferHEVC::ChromaOffsetL0[15][2]

corresponds to HEVC spec variable of the same name.

◆ ChromaOffsetL1

int8_t VASliceParameterBufferHEVC::ChromaOffsetL1[15][2]

corresponds to HEVC spec variable of the same name.

◆ collocated_from_l0_flag

uint32_t VASliceParameterBufferHEVC::collocated_from_l0_flag

HEVC syntax element.

◆ collocated_ref_idx

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].

◆ color_plane_id

uint32_t VASliceParameterBufferHEVC::color_plane_id

HEVC syntax element.

◆ delta_chroma_log2_weight_denom

int8_t VASliceParameterBufferHEVC::delta_chroma_log2_weight_denom

HEVC syntax element.

◆ delta_chroma_weight_l0

int8_t VASliceParameterBufferHEVC::delta_chroma_weight_l0[15][2]

HEVC syntax element.

◆ delta_chroma_weight_l1

int8_t VASliceParameterBufferHEVC::delta_chroma_weight_l1[15][2]

HEVC syntax element.

◆ delta_luma_weight_l0

int8_t VASliceParameterBufferHEVC::delta_luma_weight_l0[15]

HEVC syntax element.

◆ delta_luma_weight_l1

int8_t VASliceParameterBufferHEVC::delta_luma_weight_l1[15]

HEVC syntax element.

◆ dependent_slice_segment_flag

uint32_t VASliceParameterBufferHEVC::dependent_slice_segment_flag

HEVC syntax element.

◆ entry_offset_to_subset_array

uint16_t VASliceParameterBufferHEVC::entry_offset_to_subset_array

HEVC syntax element.

◆ five_minus_max_num_merge_cand

uint8_t VASliceParameterBufferHEVC::five_minus_max_num_merge_cand

HEVC syntax element.

◆ LastSliceOfPic

uint32_t VASliceParameterBufferHEVC::LastSliceOfPic

current slice is last slice of picture.

◆ luma_log2_weight_denom

uint8_t VASliceParameterBufferHEVC::luma_log2_weight_denom

HEVC syntax element.

◆ luma_offset_l0

int8_t VASliceParameterBufferHEVC::luma_offset_l0[15]

HEVC syntax element.

◆ luma_offset_l1

int8_t VASliceParameterBufferHEVC::luma_offset_l1[15]

HEVC syntax element.

◆ mvd_l1_zero_flag

uint32_t VASliceParameterBufferHEVC::mvd_l1_zero_flag

HEVC syntax element.

◆ num_entry_point_offsets

uint16_t VASliceParameterBufferHEVC::num_entry_point_offsets

HEVC syntax element.

◆ num_ref_idx_l0_active_minus1

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.

◆ num_ref_idx_l1_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.

◆ slice_beta_offset_div2

int8_t VASliceParameterBufferHEVC::slice_beta_offset_div2

HEVC syntax element.

◆ slice_cb_qp_offset

int8_t VASliceParameterBufferHEVC::slice_cb_qp_offset

HEVC syntax element.

◆ slice_cr_qp_offset

int8_t VASliceParameterBufferHEVC::slice_cr_qp_offset

HEVC syntax element.

◆ slice_data_byte_offset

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.

◆ slice_deblocking_filter_disabled_flag

uint32_t VASliceParameterBufferHEVC::slice_deblocking_filter_disabled_flag

HEVC syntax element.

◆ slice_loop_filter_across_slices_enabled_flag

uint32_t VASliceParameterBufferHEVC::slice_loop_filter_across_slices_enabled_flag

HEVC syntax element.

◆ slice_qp_delta

int8_t VASliceParameterBufferHEVC::slice_qp_delta

HEVC syntax element.

◆ slice_sao_chroma_flag

uint32_t VASliceParameterBufferHEVC::slice_sao_chroma_flag

HEVC syntax element.

◆ slice_sao_luma_flag

uint32_t VASliceParameterBufferHEVC::slice_sao_luma_flag

HEVC syntax element.

◆ slice_segment_address

uint32_t VASliceParameterBufferHEVC::slice_segment_address

HEVC syntax element.

◆ slice_tc_offset_div2

int8_t VASliceParameterBufferHEVC::slice_tc_offset_div2

HEVC syntax element.

◆ slice_temporal_mvp_enabled_flag

uint32_t VASliceParameterBufferHEVC::slice_temporal_mvp_enabled_flag

HEVC syntax element.

◆ slice_type

uint32_t VASliceParameterBufferHEVC::slice_type

HEVC syntax element.


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