mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
frontends/va: Get AV1 decode subsampling_x/y
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32663>
This commit is contained in:
parent
d94597a2d8
commit
245d8c8e99
2 changed files with 6 additions and 0 deletions
|
|
@ -153,6 +153,10 @@ void vlVaHandlePictureParameterBufferAV1(vlVaDriver *drv, vlVaContext *context,
|
|||
context->desc.av1.picture_parameter.bit_depth_idx = av1->bit_depth_idx;
|
||||
context->desc.av1.picture_parameter.seq_info_fields.mono_chrome =
|
||||
av1->seq_info_fields.fields.mono_chrome;
|
||||
context->desc.av1.picture_parameter.seq_info_fields.subsampling_x =
|
||||
av1->seq_info_fields.fields.subsampling_x;
|
||||
context->desc.av1.picture_parameter.seq_info_fields.subsampling_y =
|
||||
av1->seq_info_fields.fields.subsampling_y;
|
||||
|
||||
context->desc.av1.picture_parameter.pic_info_fields.showable_frame =
|
||||
av1->pic_info_fields.bits.showable_frame;
|
||||
|
|
|
|||
|
|
@ -1792,6 +1792,8 @@ struct pipe_av1_picture_desc
|
|||
uint32_t mono_chrome:1;
|
||||
uint32_t ref_frame_mvs:1;
|
||||
uint32_t film_grain_params_present:1;
|
||||
uint32_t subsampling_x:1;
|
||||
uint32_t subsampling_y:1;
|
||||
} seq_info_fields;
|
||||
|
||||
uint32_t current_frame_id;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue