mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
radv/video: Override direct_spatial_mv_pred to 1
VCN always uses spatial direct mode.
Cc: mesa-stable
Reviewed-by: David Rosca <david.rosca@amd.com>
(cherry picked from commit 9e37969179)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
parent
e9956932bb
commit
de081cee46
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@
|
|||
"description": "radv/video: Override direct_spatial_mv_pred to 1",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -933,7 +933,7 @@ radv_enc_slice_header(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInf
|
|||
radv_enc_code_ue(cmd_buffer, 0);
|
||||
|
||||
if (pic->primary_pic_type == STD_VIDEO_H264_PICTURE_TYPE_B) {
|
||||
radv_enc_code_fixed_bits(cmd_buffer, slice_info->pStdSliceHeader->flags.direct_spatial_mv_pred_flag, 1);
|
||||
radv_enc_code_fixed_bits(cmd_buffer, 1, 1); /* direct_spatial_mv_pred */
|
||||
}
|
||||
const StdVideoEncodeH264ReferenceListsInfo *ref_lists = pic->pRefLists;
|
||||
/* ref_pic_list_modification() */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue