[FFmpeg-cvslog] lavc/hevcdec: set per-CTB filter parameters for WPP
Anton Khirnov
git at videolan.org
Fri Sep 13 13:22:52 EEST 2024
ffmpeg | branch: release/6.1 | Anton Khirnov <anton at khirnov.net> | Wed Sep 4 12:09:03 2024 +0200| [f00f71f590f02bc4a280c9efed3988ceb06d32e1] | committer: Anton Khirnov
lavc/hevcdec: set per-CTB filter parameters for WPP
Fixes #10887
(cherry picked from commit 536bb988889eec08c5a1d5fd733f9e98569ae65e)
Signed-off-by: Anton Khirnov <anton at khirnov.net>
(cherry picked from commit f705bc5b7333ed45d476f473df8f6bf893e867e2)
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f00f71f590f02bc4a280c9efed3988ceb06d32e1
---
libavcodec/hevcdec.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index 13316eebf3..d6be8140ff 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -2628,6 +2628,11 @@ static int hls_decode_entry_wpp(AVCodecContext *avctxt, void *hevc_lclist,
if (ret < 0)
goto error;
hls_sao_param(lc, x_ctb >> s->ps.sps->log2_ctb_size, y_ctb >> s->ps.sps->log2_ctb_size);
+
+ s->deblock[ctb_addr_rs].beta_offset = s->sh.beta_offset;
+ s->deblock[ctb_addr_rs].tc_offset = s->sh.tc_offset;
+ s->filter_slice_edges[ctb_addr_rs] = s->sh.slice_loop_filter_across_slices_enabled_flag;
+
more_data = hls_coding_quadtree(lc, x_ctb, y_ctb, s->ps.sps->log2_ctb_size, 0);
if (more_data < 0) {
More information about the ffmpeg-cvslog
mailing list