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

HEVC Quantization Matrix Buffer Structure. More...

#include <va_enc_hevc.h>

Public Attributes

uint8_t scaling_lists_4x4 [3][2][16]
 scaling lists, corresponds to same HEVC spec syntax element ScalingList[ i ][ MatrixID ][ j ]. More...
 
uint8_t scaling_lists_8x8 [3][2][64]
 8x8 scaling,
 
uint8_t scaling_lists_16x16 [3][2][64]
 16x16 scaling, correspongs i = 2, MatrixID is in the range of 0 to 5, inclusive. And j is in the range of 0 to 63, inclusive.
 
uint8_t scaling_lists_32x32 [2][64]
 32x32 scaling, correspongs i = 3, MatrixID is in the range of 0 to 1, inclusive. And j is in the range of 0 to 63, inclusive.
 
uint8_t scaling_list_dc_16x16 [3][2]
 DC values of the 16x16 scaling lists, corresponds to HEVC spec syntax scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8 with sizeID = 2 and matrixID in the range of 0 to 5, inclusive.
 
uint8_t scaling_list_dc_32x32 [2]
 DC values of the 32x32 scaling lists, corresponds to HEVC spec syntax scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8 with sizeID = 3 and matrixID in the range of 0 to 1, inclusive.
 
uint32_t va_reserved [VA_PADDING_LOW]
 Reserved bytes for future use, must be zero.
 

Detailed Description

HEVC Quantization Matrix Buffer Structure.

This structure is sent once per frame, and only when scaling_list_enabled_flag = 1 and scaling_list_data_present_flag = 1. Only when scaling_list_data_present_flag = 1, app still needs to send in this structure. When scaling_list_enabled_flag = 1 and scaling_list_data_present_flag = 0, driver is responsible to generate the default scaling list values.

Matrix entries are in raster scan order which follows HEVC spec.

Member Data Documentation

◆ scaling_lists_4x4

uint8_t VAQMatrixBufferHEVC::scaling_lists_4x4[3][2][16]

scaling lists, corresponds to same HEVC spec syntax element ScalingList[ i ][ MatrixID ][ j ].

4x4 scaling,


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