mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
radeonsi/vcn: fix loop filter across slices
PPS header should use pps_loop_filter_across_slices_enabled_flag instead of slice_loop_filter_across_slices_enabled_flag according to HEVC SPEC. Slice header should also use pps_loop_filter_across_slices_enabled_flag as one of the condition to determine if slice flag needs to be present. V2: Apply pps_loop_filter_across_slices_enabled_flag to loop_filter as well So modify loop_filter_across_slices_enabled value to be pps one instead Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: David Rosca <david.rosca@amd.com> Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31064>
This commit is contained in:
parent
af15cceff4
commit
8bf7562416
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ static void radeon_vcn_enc_hevc_get_dbk_param(struct radeon_encoder *enc,
|
|||
struct si_screen *sscreen = (struct si_screen *)enc->screen;
|
||||
|
||||
enc->enc_pic.hevc_deblock.loop_filter_across_slices_enabled =
|
||||
pic->slice.slice_loop_filter_across_slices_enabled_flag;
|
||||
pic->pic.pps_loop_filter_across_slices_enabled_flag;
|
||||
enc->enc_pic.hevc_deblock.deblocking_filter_disabled =
|
||||
pic->slice.slice_deblocking_filter_disabled_flag;
|
||||
enc->enc_pic.hevc_deblock.beta_offset_div2 = pic->slice.slice_beta_offset_div2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue