_RocdecVp9SegmentParameter Struct Reference

_RocdecVp9SegmentParameter Struct Reference#

rocDecode: _RocdecVp9SegmentParameter Struct Reference
_RocdecVp9SegmentParameter Struct Reference

VP9 Segmentation Parameter Data Structure This structure is configured to be the same as VA-API VASegmentParameterVP9 structure. More...

#include <develop/api/rocdecode.h>

Data Fields

union {
   struct {
      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.
 
   }   fields
 
   uint16_t   value
 
segment_flags
 
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 [4]
 Reserved bytes for future use, must be zero.
 

Detailed Description

VP9 Segmentation Parameter Data Structure This structure is configured to be the same as VA-API VASegmentParameterVP9 structure.


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