frontends/va: Add more params from VADecPictureParameterBufferAV1 and VASliceParameterBufferAV1 to pipe_av1_picture_desc
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18875>
This commit is contained in:
@@ -903,8 +903,10 @@ struct pipe_av1_picture_desc
|
||||
uint32_t enable_dual_filter:1;
|
||||
uint32_t enable_order_hint:1;
|
||||
uint32_t enable_jnt_comp:1;
|
||||
uint32_t enable_cdef:1;
|
||||
uint32_t mono_chrome:1;
|
||||
uint32_t ref_frame_mvs:1;
|
||||
uint32_t film_grain_params_present:1;
|
||||
} seq_info_fields;
|
||||
|
||||
uint32_t current_frame_id;
|
||||
@@ -922,6 +924,7 @@ struct pipe_av1_picture_desc
|
||||
struct {
|
||||
uint32_t enabled:1;
|
||||
uint32_t update_map:1;
|
||||
uint32_t update_data:1;
|
||||
uint32_t temporal_update:1;
|
||||
} segment_info_fields;
|
||||
|
||||
@@ -966,11 +969,14 @@ struct pipe_av1_picture_desc
|
||||
uint8_t tile_rows;
|
||||
uint32_t tile_col_start_sb[65];
|
||||
uint32_t tile_row_start_sb[65];
|
||||
uint16_t width_in_sbs[64];
|
||||
uint16_t height_in_sbs[64];
|
||||
uint16_t context_update_tile_id;
|
||||
|
||||
struct {
|
||||
uint32_t frame_type:2;
|
||||
uint32_t show_frame:1;
|
||||
uint32_t showable_frame:1;
|
||||
uint32_t error_resilient_mode:1;
|
||||
uint32_t disable_cdf_update:1;
|
||||
uint32_t allow_screen_content_tools:1;
|
||||
@@ -981,6 +987,7 @@ struct pipe_av1_picture_desc
|
||||
uint32_t is_motion_mode_switchable:1;
|
||||
uint32_t use_ref_frame_mvs:1;
|
||||
uint32_t disable_frame_end_update_cdf:1;
|
||||
uint32_t uniform_tile_spacing_flag:1;
|
||||
uint32_t allow_warped_motion:1;
|
||||
} pic_info_fields;
|
||||
|
||||
@@ -1007,6 +1014,7 @@ struct pipe_av1_picture_desc
|
||||
int8_t v_ac_delta_q;
|
||||
|
||||
struct {
|
||||
uint16_t using_qmatrix:1;
|
||||
uint16_t qm_y:4;
|
||||
uint16_t qm_u:4;
|
||||
uint16_t qm_v:4;
|
||||
@@ -1033,21 +1041,28 @@ struct pipe_av1_picture_desc
|
||||
uint16_t yframe_restoration_type:2;
|
||||
uint16_t cbframe_restoration_type:2;
|
||||
uint16_t crframe_restoration_type:2;
|
||||
uint16_t lr_unit_shift:2;
|
||||
uint16_t lr_uv_shift:1;
|
||||
} loop_restoration_fields;
|
||||
|
||||
uint16_t lr_unit_size[3];
|
||||
|
||||
struct {
|
||||
uint32_t wmtype;
|
||||
uint8_t invalid;
|
||||
int32_t wmmat[8];
|
||||
} wm[7];
|
||||
|
||||
uint32_t refresh_frame_flags;
|
||||
uint8_t matrix_coefficients;
|
||||
} picture_parameter;
|
||||
|
||||
struct {
|
||||
uint32_t slice_data_size[256];
|
||||
uint32_t slice_data_offset[256];
|
||||
uint16_t slice_data_row[256];
|
||||
uint16_t slice_data_col[256];
|
||||
uint8_t slice_data_anchor_frame_idx[256];
|
||||
} slice_parameter;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user