mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02: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>
This commit is contained in:
parent
e5a9b1f28a
commit
9e37969179
1 changed files with 1 additions and 1 deletions
|
|
@ -1113,7 +1113,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