ffmpeg | branch: release/7.0 | Anton Khirnov <an...@khirnov.net> | Wed Sep  4 
12:09:03 2024 +0200| [f705bc5b7333ed45d476f473df8f6bf893e867e2] | committer: 
Anton Khirnov

lavc/hevcdec: set per-CTB filter parameters for WPP

Fixes #10887

(cherry picked from commit 536bb988889eec08c5a1d5fd733f9e98569ae65e)
Signed-off-by: Anton Khirnov <an...@khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f705bc5b7333ed45d476f473df8f6bf893e867e2
---

 libavcodec/hevcdec.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index d729925bdb..9b3f31c948 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -2635,6 +2635,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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to