64 uint32_t reserved : 30;
80 typedef struct _VASegmentationStructAV1 {
114 } segment_info_fields;
137 int16_t feature_data[8][8];
144 uint8_t feature_mask[8];
153 typedef struct _VAFilmGrainStructAV1 {
161 uint32_t chroma_scaling_from_luma : 1;
162 uint32_t grain_scaling_minus_8 : 2;
163 uint32_t ar_coeff_lag : 2;
164 uint32_t ar_coeff_shift_minus_6 : 2;
165 uint32_t grain_scale_shift : 2;
166 uint32_t overlap_flag : 1;
167 uint32_t clip_to_restricted_range : 1;
172 } film_grain_info_fields;
176 uint8_t num_y_points;
177 uint8_t point_y_value[14];
178 uint8_t point_y_scaling[14];
180 uint8_t num_cb_points;
181 uint8_t point_cb_value[10];
182 uint8_t point_cb_scaling[10];
184 uint8_t num_cr_points;
185 uint8_t point_cr_value[10];
186 uint8_t point_cr_scaling[10];
188 int8_t ar_coeffs_y[24];
189 int8_t ar_coeffs_cb[25];
190 int8_t ar_coeffs_cr[25];
192 uint8_t cb_luma_mult;
195 uint8_t cr_luma_mult;
216 typedef struct _VAWarpedMotionParamsAV1 {
234 } VAWarpedMotionParamsAV1;
243 typedef struct _VADecPictureParameterBufferAV1 {
253 uint8_t order_hint_bits_minus_1;
268 uint32_t still_picture : 1;
269 uint32_t use_128x128_superblock : 1;
270 uint32_t enable_filter_intra : 1;
271 uint32_t enable_intra_edge_filter : 1;
275 uint32_t enable_masked_compound : 1;
277 uint32_t enable_dual_filter : 1;
278 uint32_t enable_order_hint : 1;
279 uint32_t enable_jnt_comp : 1;
280 uint32_t enable_cdef : 1;
281 uint32_t mono_chrome : 1;
282 uint32_t color_range : 1;
283 uint32_t subsampling_x : 1;
284 uint32_t subsampling_y : 1;
285 va_deprecated uint32_t chroma_sample_position : 1;
286 uint32_t film_grain_params_present : 1;
338 uint16_t frame_height_minus1;
345 uint16_t output_frame_height_in_tiles_minus_1;
356 VASurfaceID ref_frame_map[8];
368 uint8_t ref_frame_idx[7];
397 uint16_t width_in_sbs_minus_1[63];
398 uint16_t height_in_sbs_minus_1[63];
407 uint16_t context_update_tile_id;
425 uint32_t show_frame : 1;
426 uint32_t showable_frame : 1;
427 uint32_t error_resilient_mode : 1;
428 uint32_t disable_cdf_update : 1;
429 uint32_t allow_screen_content_tools : 1;
430 uint32_t force_integer_mv : 1;
431 uint32_t allow_intrabc : 1;
432 uint32_t use_superres : 1;
433 uint32_t allow_high_precision_mv : 1;
434 uint32_t is_motion_mode_switchable : 1;
435 uint32_t use_ref_frame_mvs : 1;
437 uint32_t disable_frame_end_update_cdf : 1;
438 uint32_t uniform_tile_spacing_flag : 1;
439 uint32_t allow_warped_motion : 1;
463 uint8_t filter_level[2];
469 uint8_t filter_level_v;
477 uint8_t mode_ref_delta_enabled : 1;
478 uint8_t mode_ref_delta_update : 1;
484 } loop_filter_info_fields;
490 int8_t ref_deltas[8];
496 int8_t mode_deltas[2];
529 uint16_t using_qmatrix : 1;
549 uint32_t log2_delta_q_res : 2;
554 uint32_t log2_delta_lf_res : 2;
566 uint32_t reference_select : 1;
568 uint32_t reduced_tx_set_used : 1;
570 uint32_t skip_mode_present : 1;
576 } mode_control_fields;
600 uint8_t cdef_y_strengths[8];
602 uint8_t cdef_uv_strengths[8];
608 uint16_t yframe_restoration_type : 2;
609 uint16_t cbframe_restoration_type : 2;
610 uint16_t crframe_restoration_type : 2;
611 uint16_t lr_unit_shift : 2;
612 uint16_t lr_uv_shift : 1;
618 } loop_restoration_fields;
622 VAWarpedMotionParamsAV1 wm[7];
627 uint32_t va_reserved[VA_PADDING_MEDIUM];
647 typedef struct _VASliceParameterBufferAV1 {
665 uint16_t tile_column;
667 va_deprecated uint16_t tg_start;
668 va_deprecated uint16_t tg_end;
#define VA_PADDING_LOW
Definition: va.h:360
VAAV1TransformationType
Definition: va_dec_av1.h:203
uint8_t anchor_frames_num
number of anchor frames for large scale tile This parameter gives the number of entries of anchor_fra...
Definition: va_dec_av1.h:310
VASurfaceID current_frame
Picture level information.
Definition: va_dec_av1.h:298
uint32_t slice_data_offset
Definition: va_dec_av1.h:658
uint8_t base_qindex
quantization
Definition: va_dec_av1.h:503
uint8_t superres_scale_denominator
Supper resolution scale denominator. When use_superres=1, superres_scale_denominator must be in the r...
Definition: va_dec_av1.h:453
int8_t y_dc_delta_q
Y DC delta from Y AC value range [-64..63].
Definition: va_dec_av1.h:507
uint8_t anchor_frame_idx
anchor frame index for large scale tile. index into an array AnchorFrames of the frames that the tile...
Definition: va_dec_av1.h:674
int8_t u_ac_delta_q
U AC delta from Y AC value range [-64..63].
Definition: va_dec_av1.h:515
uint32_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:573
uint16_t output_frame_width_in_tiles_minus_1
Output frame buffer size in unit of tiles Valid only when large_scale_tile equals 1....
Definition: va_dec_av1.h:344
uint8_t matrix_coefficients
corresponds to AV1 spec variable of the same name.
Definition: va_dec_av1.h:264
uint16_t frame_width_minus1
Picture resolution minus 1 Picture original resolution. If SuperRes is enabled, this is the upscaled ...
Definition: va_dec_av1.h:337
uint8_t interp_filter
Interpolation filter. value range [0..4].
Definition: va_dec_av1.h:458
int8_t u_dc_delta_q
U DC delta from Y AC value range [-64..63].
Definition: va_dec_av1.h:511
uint16_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:615
uint16_t tile_count_minus_1
number of tiles minus 1 in large scale tile list Same as AV1 semantic element. Valid only when large_...
Definition: va_dec_av1.h:404
uint32_t slice_data_size
The byte count of current tile in the bitstream buffer, starting from first byte of the buffer....
Definition: va_dec_av1.h:654
int8_t v_ac_delta_q
V AC delta from Y AC value range [-64..63].
Definition: va_dec_av1.h:523
uint32_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:444
uint8_t filter_level_u
chroma loop filter levels. value range [0..63].
Definition: va_dec_av1.h:468
uint8_t tile_cols
tile structure When uniform_tile_spacing_flag == 1, width_in_sbs_minus_1[] and height_in_sbs_minus_1[...
Definition: va_dec_av1.h:389
uint16_t tile_idx_in_tile_list
tile index in the tile list. Valid only when large_scale_tile is enabled. Driver uses this field to d...
Definition: va_dec_av1.h:680
uint32_t slice_data_flag
Definition: va_dec_av1.h:662
uint8_t primary_ref_frame
primary reference frame index Index into ref_frame_idx[], specifying which reference frame contains p...
Definition: va_dec_av1.h:377
VASurfaceID current_display_picture
display buffer of current picture Used for film grain applied decoded picture. Valid only when apply_...
Definition: va_dec_av1.h:304
uint8_t profile
sequence level information
Definition: va_dec_av1.h:251
int8_t v_dc_delta_q
V DC delta from Y AC value range [-64..63].
Definition: va_dec_av1.h:519
uint8_t bit_depth_idx
bit depth index value range [0..2] 0 - bit depth 8; 1 - bit depth 10; 2 - bit depth 12;
Definition: va_dec_av1.h:261
VASurfaceID * anchor_frames_list
anchor frame list for large scale tile For large scale tile applications, the anchor frames could com...
Definition: va_dec_av1.h:330
uint8_t cdef_damping_minus_3
CDEF parameters.
Definition: va_dec_av1.h:581
@ VAAV1TransformationIdentity
Definition: va_dec_av1.h:205
@ VAAV1TransformationTranslation
Definition: va_dec_av1.h:207
@ VAAV1TransformationAffine
Definition: va_dec_av1.h:211
@ VAAV1TransformationCount
Definition: va_dec_av1.h:213
@ VAAV1TransformationRotzoom
Definition: va_dec_av1.h:209
AV1 Decoding Picture Parameter Buffer Structure.
Definition: va_dec_av1.h:243
uint8_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:481
uint16_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:539
uint16_t qm_y
qm level value range [0..15] Invalid if using_qmatrix equals 0.
Definition: va_dec_av1.h:534
uint32_t large_scale_tile
indicate if current frame in large scale tile mode
Definition: va_dec_av1.h:441
uint32_t enable_interintra_compound
Definition: va_dec_av1.h:274
uint8_t sharpness_level
flags for reference pictures same syntax and semantic as those in AV1 code
Definition: va_dec_av1.h:476
uint32_t delta_q_present_flag
delta_q parameters
Definition: va_dec_av1.h:548
uint32_t delta_lf_multi
CONFIG_LOOPFILTER_LEVEL.
Definition: va_dec_av1.h:558
uint32_t tx_mode
read_tx_mode value range [0..2]
Definition: va_dec_av1.h:563
uint32_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:288
uint32_t delta_lf_present_flag
delta_lf parameters
Definition: va_dec_av1.h:553
uint32_t frame_type
flags for current picture same syntax and semantic as those in AV1 code
Definition: va_dec_av1.h:424
Film Grain Information.
Definition: va_dec_av1.h:153
uint32_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:169
uint32_t apply_grain
Specify whether or not film grain is applied on current frame. If set to 0, all the rest parameters s...
Definition: va_dec_av1.h:160
AV1 Decoding Picture Parameter Buffer Structure.
Definition: va_dec_av1.h:80
uint32_t update_map
Definition: va_dec_av1.h:96
uint32_t enabled
Definition: va_dec_av1.h:90
uint32_t reserved
Reserved bytes for future use, must be zero.
Definition: va_dec_av1.h:111
uint32_t temporal_update
Definition: va_dec_av1.h:102
uint32_t update_data
Definition: va_dec_av1.h:108
AV1 Slice Parameter Buffer Structure.
Definition: va_dec_av1.h:647
Definition: va_dec_av1.h:55
uint32_t lst_support
Definition: va_dec_av1.h:62