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

VP9 Decoding Picture Parameter Buffer Structure. More...

#include <va_dec_vp9.h>

Public Attributes

uint16_t frame_width
 picture width Picture original resolution. The value may not be multiple of 8.
 
uint16_t frame_height
 picture height Picture original resolution. The value may not be multiple of 8.
 
VASurfaceID reference_frames [8]
 Surface indices of reference frames in DPB. More...
 
uint8_t log2_tile_rows
 number of tile rows specified by (1 << log2_tile_rows). It corresponds the variable with same name in VP9 code.
 
uint8_t log2_tile_columns
 number of tile columns specified by (1 << log2_tile_columns). It corresponds the variable with same name in VP9 code.
 
uint8_t frame_header_length_in_bytes
 Number of bytes taken up by the uncompressed frame header, which corresponds to byte length of function read_uncompressed_header() in VP9 code. Specifically, it is the byte count from bit stream buffer start to the last byte of uncompressed frame header. If there are other meta data in the buffer before uncompressed header, its size should be also included here.
 
uint16_t first_partition_size
 The byte count of compressed header the bitstream buffer, which corresponds to syntax first_partition_size in code.
 
uint8_t mb_segment_tree_probs [7]
 
uint8_t profile
 VP9 Profile definition value range [0..3].
 
uint8_t bit_depth
 VP9 bit depth per sample same for both luma and chroma samples.
 
uint32_t va_reserved [VA_PADDING_MEDIUM]
 Reserved bytes for future use, must be zero.
 
uint32_t subsampling_x: 1
 flags for current picture same syntax and semantic as those in VP9 code
 
uint32_t segmentation_temporal_update: 1
 corresponds to variable temporal_update in VP9 code.
 
uint32_t segmentation_update_map: 1
 corresponds to variable update_mb_segmentation_map in VP9 code.
 
uint32_t last_ref_frame: 3
 Index of reference_frames[] and points to the LAST reference frame. It corresponds to active_ref_idx[0] in VP9 code.
 
uint32_t last_ref_frame_sign_bias: 1
 Sign Bias of the LAST reference frame. It corresponds to ref_frame_sign_bias[LAST_FRAME] in VP9 code.
 
uint32_t golden_ref_frame: 3
 Index of reference_frames[] and points to the GOLDERN reference frame. It corresponds to active_ref_idx[1] in VP9 code.
 
uint32_t golden_ref_frame_sign_bias: 1
 Sign Bias of the GOLDERN reference frame. Corresponds to ref_frame_sign_bias[GOLDERN_FRAME] in VP9 code.
 
uint32_t alt_ref_frame: 3
 Index of reference_frames[] and points to the ALTERNATE reference frame. Corresponds to active_ref_idx[2] in VP9 code.
 
uint32_t alt_ref_frame_sign_bias: 1
 Sign Bias of the ALTERNATE reference frame. Corresponds to ref_frame_sign_bias[ALTREF_FRAME] in VP9 code.
 
uint32_t lossless_flag: 1
 Lossless Mode LosslessFlag = base_qindex == 0 && y_dc_delta_q == 0 && uv_dc_delta_q == 0 && uv_ac_delta_q == 0; Where base_qindex, y_dc_delta_q, uv_dc_delta_q and uv_ac_delta_q are all variables in VP9 code.
 

Detailed Description

VP9 Decoding Picture Parameter Buffer Structure.

This structure conveys picture level parameters. App should send a surface with this data structure down to VAAPI once per frame.

Member Data Documentation

◆ mb_segment_tree_probs

uint8_t VADecPictureParameterBufferVP9::mb_segment_tree_probs[7]

These values are segment probabilities with same names in VP9 function setup_segmentation(). They should be parsed directly from bitstream by application.

◆ reference_frames

VASurfaceID VADecPictureParameterBufferVP9::reference_frames[8]

Surface indices of reference frames in DPB.

Each entry of the list specifies the surface index of the picture that is referred by current picture or will be referred by any future picture. Application who calls this API should update this list based on the refreshing information from VP9 bitstream.


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