VA-API 2.24.1
Loading...
Searching...
No Matches
VASliceParameterBufferVVC Struct Reference

VVC Slice Parameter Buffer Structure. More...

#include <va_dec_vvc.h>

Public Attributes

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().
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.
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.
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.
uint8_t reserved8b [VA_PADDING_LOW - 1]
 Reserved bytes for future use, must be zero.
uint32_t va_reserved [VA_PADDING_MEDIUM]
 Reserved bytes for future use, must be zero.

Detailed Description

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.

Member Data Documentation

◆ slice_data_byte_offset

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.


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