anv: Fix to set CDEF filter flag correctly.
This fixes to play av1_intel_broken2.ivf. Signed-off-by: Hyunjun Ko <zzoon@igalia.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34866>
This commit is contained in:
@@ -2100,7 +2100,7 @@ anv_av1_decode_video_tile(struct anv_cmd_buffer *cmd_buffer,
|
||||
pic.AllowScreenContentToolsFlag = std_pic_info->flags.allow_screen_content_tools;
|
||||
pic.ForceIntegerMVFlag = std_pic_info->flags.force_integer_mv;
|
||||
pic.AllowWarpedMotionFlag = std_pic_info->flags.allow_warped_motion;
|
||||
pic.UseCDEFFilterFlag = !frame_lossless && seq_hdr->flags.enable_cdef;
|
||||
pic.UseCDEFFilterFlag = !frame_lossless && seq_hdr->flags.enable_cdef && !std_pic_info->flags.allow_intrabc;
|
||||
pic.UseSuperResFlag = std_pic_info->flags.use_superres;
|
||||
pic.FrameLevelLoopRestorationFilterEnable = frame_restoration_type[0] || frame_restoration_type[1] || frame_restoration_type[2];
|
||||
pic.FrameType = std_pic_info->frame_type;
|
||||
|
||||
Reference in New Issue
Block a user