radeonsi/uvd: Set H264 gaps_in_frame_num_value_allowed_flag

Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36223>
(cherry picked from commit 4df3e56fe2)
This commit is contained in:
David Rosca 2025-07-18 15:19:21 +02:00 committed by Eric Engestrom
parent 49af1f5a93
commit 7707e7085b
2 changed files with 2 additions and 1 deletions

View file

@ -1324,7 +1324,7 @@
"description": "radeonsi/uvd: Set H264 gaps_in_frame_num_value_allowed_flag",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -513,6 +513,7 @@ static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_
result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1;
result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2;
result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3;
result.sps_info_flags |= pic->pps->sps->gaps_in_frame_num_value_allowed_flag << 5;
result.chroma_format = pic->pps->sps->chroma_format_idc;
result.bit_depth_luma_minus8 = pic->pps->sps->bit_depth_luma_minus8;