VA-API  2.22.0
Public Attributes | List of all members
VASegmentParameterVP9 Struct Reference

VP9 Segmentation Parameter Data Structure. More...

#include <va_dec_vp9.h>

Public Attributes

uint8_t filter_level [4][2]
 Specifies the filter level information per segment. The value corresponds to variable lfi->lvl[seg][ref][mode] in VP9 code, where m is [ref], and n is [mode] in FilterLevel[m][n].
 
int16_t luma_ac_quant_scale
 Specifies per segment Luma AC quantization scale. Corresponding to y_dequant[qindex][1] in vp9_mb_init_quantizer() function of VP9 code.
 
int16_t luma_dc_quant_scale
 Specifies per segment Luma DC quantization scale. Corresponding to y_dequant[qindex][0] in vp9_mb_init_quantizer() function of VP9 code.
 
int16_t chroma_ac_quant_scale
 Specifies per segment Chroma AC quantization scale. Corresponding to uv_dequant[qindex][1] in vp9_mb_init_quantizer() function of VP9 code.
 
int16_t chroma_dc_quant_scale
 Specifies per segment Chroma DC quantization scale. Corresponding to uv_dequant[qindex][0] in vp9_mb_init_quantizer() function of VP9 code.
 
uint32_t va_reserved [VA_PADDING_LOW]
 Reserved bytes for future use, must be zero.
 
uint16_t segment_reference_enabled: 1
 Indicates if per segment reference frame indicator is enabled. Corresponding to variable feature_enabled when j == SEG_LVL_REF_FRAME in function setup_segmentation() VP9 code.
 
uint16_t segment_reference: 2
 Specifies per segment reference indication. 0: reserved 1: Last ref 2: golden 3: altref Value can be derived from variable data when j == SEG_LVL_REF_FRAME in function setup_segmentation() VP9 code.
 
uint16_t segment_reference_skipped: 1
 Indicates if per segment skip feature is enabled. Corresponding to variable feature_enabled when j == SEG_LVL_SKIP in function setup_segmentation() VP9 code.
 

Detailed Description

VP9 Segmentation Parameter Data Structure.

This structure conveys per segment parameters. 8 of this data structure will be included in VASegmentationParameterBufferVP9 and sent to API in a single buffer.


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