lavc/hevcdec: set per-CTB filter parameters for WPP
Fixes #10887 (cherry picked from commit536bb98888) Signed-off-by: Anton Khirnov <anton@khirnov.net> (cherry picked from commitf705bc5b73) Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
86c595cc1b
commit
f00f71f590
1 changed files with 5 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue