mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38686>
(cherry picked from commit 9e37969179)
This commit is contained in:
parent
540dd28ad0
commit
a72e8eefa1
2 changed files with 2 additions and 2 deletions
|
|
@ -784,7 +784,7 @@
|
||||||
"description": "radv/video: Override direct_spatial_mv_pred to 1",
|
"description": "radv/video: Override direct_spatial_mv_pred to 1",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": null,
|
"because_sha": null,
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -951,7 +951,7 @@ radv_enc_slice_header(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInf
|
||||||
radv_enc_code_ue(cmd_buffer, 0);
|
radv_enc_code_ue(cmd_buffer, 0);
|
||||||
|
|
||||||
if (pic->primary_pic_type == STD_VIDEO_H264_PICTURE_TYPE_B) {
|
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;
|
const StdVideoEncodeH264ReferenceListsInfo *ref_lists = pic->pRefLists;
|
||||||
/* ref_pic_list_modification() */
|
/* ref_pic_list_modification() */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue