|
VA-API
2.23.0
|
VVC Slice Parameter Buffer Structure. More...
#include <va_dec_vvc.h>
Public Attributes | |
| uint32_t | reserved: 16 |
| Reserved for future use, must be zero. | |
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 beginning of slice_data(). More... | |
| uint8_t | RefPicList [2][15] |
| index into ReferenceFrames[] RefPicList[][] corresponds to VVC spec variable with the same name. Value range [0..14, 0xFF], where 0xFF indicates invalid entry. | |
| uint16_t | sh_subpic_id |
| the subpicture ID of the subpicture that contains the slice. The value of the variable CurrSubpicIdx is derived to be such that SubpicIdVal[CurrSubpicIdx] is equal to sh_subpic_id. CurrSubpicIdx is the index of array VASubPicArrayBufferVVC.SubPicSet[]. And it is the spec variable with the same name. | |
| uint16_t | sh_slice_address |
| uint16_t | sh_num_tiles_in_slice_minus1 |
| uint8_t | sh_slice_type |
| uint8_t | sh_num_alf_aps_ids_luma |
| uint8_t | sh_alf_aps_id_luma [7] |
| uint8_t | sh_alf_aps_id_chroma |
| uint8_t | sh_alf_cc_cb_aps_id |
| uint8_t | sh_alf_cc_cr_aps_id |
| uint8_t | NumRefIdxActive [2] |
| NumRefIdxActive[i] - 1 specifies the maximum reference index for RPL i that may be used to decode the slice. When NumRefIdxActive[i] is equal to 0, no reference index for RPL i is used to decode the slice. NumRefIdxActive[] corresponds to VVC spec variable with the same name. It is derived according to formula (138) in VVC spec section 7.4.8. | |
| uint8_t | sh_collocated_ref_idx |
| int8_t | SliceQpY |
| initial value of the QpY quantization parameter for the slice. SliceQpY corresponds to VVC spec variable with the same name. It is derived according to formula (86) in VVC spec section 7.4.3.8 and formula (139) in VVC Spec section 7.4.8. | |
| int8_t | sh_cb_qp_offset |
| int8_t | sh_cr_qp_offset |
| int8_t | sh_joint_cbcr_qp_offset |
| int8_t | sh_luma_beta_offset_div2 |
| int8_t | sh_luma_tc_offset_div2 |
| int8_t | sh_cb_beta_offset_div2 |
| int8_t | sh_cb_tc_offset_div2 |
| int8_t | sh_cr_beta_offset_div2 |
| int8_t | sh_cr_tc_offset_div2 |
| uint8_t | reserved8b [VA_PADDING_LOW - 1] |
| Reserved bytes for future use, must be zero. | |
| uint32_t | reserved32b |
| VAWeightedPredInfo | WPInfo |
| union { | |
| } | sh_flags |
| uint32_t | va_reserved [VA_PADDING_MEDIUM] |
| Reserved bytes for future use, must be zero. | |
VVC Slice Parameter Buffer Structure.
VASliceParameterBufferVVC structure should be accompanied by a slice data buffer, which holds the whole packed slice NAL unit bit stream with emulation prevention bytes not removed.
This structure conveys parameters related to slice header and should be sent once per slice.
| uint32_t VASliceParameterBufferVVC::slice_data_byte_offset |
Byte offset from NAL unit header to the beginning 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.
1.9.1