diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-09-04 12:09:03 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-13 12:10:11 +0200 |
commit | 536bb988889eec08c5a1d5fd733f9e98569ae65e (patch) | |
tree | 3e3d99b1bf286af6cb0231253f0cb00859dac209 | |
parent | 21ef80f3d9a5d53e93bbcacfdf09c02e5a77102b (diff) | |
download | ffmpeg-536bb988889eec08c5a1d5fd733f9e98569ae65e.tar.gz |
lavc/hevcdec: set per-CTB filter parameters for WPP
Fixes #10887
-rw-r--r-- | libavcodec/hevc/hevcdec.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |