ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Wed Sep  4 
12:09:03 2024 +0200| [536bb988889eec08c5a1d5fd733f9e98569ae65e] | committer: 
Anton Khirnov

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

Fixes #10887

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

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

diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index dc82f05a91..d915d74d22 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/libavcodec/hevc/hevcdec.c
@@ -2629,6 +2629,11 @@ static int hls_decode_entry_wpp(AVCodecContext *avctx, 
void *hevc_lclist,
             goto error;
         hls_sao_param(lc, l, pps, sps,
                       x_ctb >> sps->log2_ctb_size, y_ctb >> 
sps->log2_ctb_size);
+
+        l->deblock[ctb_addr_rs].beta_offset = s->sh.beta_offset;
+        l->deblock[ctb_addr_rs].tc_offset   = s->sh.tc_offset;
+        l->filter_slice_edges[ctb_addr_rs]  = 
s->sh.slice_loop_filter_across_slices_enabled_flag;
+
         more_data = hls_coding_quadtree(lc, l, pps, sps, x_ctb, y_ctb, 
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