mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge commit '73bb8f61d48dbf7237df2e9cacd037f12b84b00a'
* commit '73bb8f61d48dbf7237df2e9cacd037f12b84b00a':
hevcdsp: remove an unneeded variable in the loop filter
Conflicts:
libavcodec/hevc_filter.c
See: d7e162d46b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
226b290f9f
@ -383,7 +383,8 @@ static void deblocking_filter_CTB(HEVCContext *s, int x0, int y0)
|
||||
if (bs0 || bs1) {
|
||||
const int qp = (get_qPy(s, x - 1, y) + get_qPy(s, x, y) + 1) >> 1;
|
||||
|
||||
beta = betatable[av_clip(qp + beta_offset, 0, MAX_QP)];
|
||||
beta = betatable[av_clip(qp + beta_offset, 0, MAX_QP)];
|
||||
|
||||
tc[0] = bs0 ? TC_CALC(qp, bs0) : 0;
|
||||
tc[1] = bs1 ? TC_CALC(qp, bs1) : 0;
|
||||
src = &s->frame->data[LUMA][y * s->frame->linesize[LUMA] + (x << s->sps->pixel_shift)];
|
||||
@ -450,7 +451,7 @@ static void deblocking_filter_CTB(HEVCContext *s, int x0, int y0)
|
||||
tc_offset = x >= x0 ? cur_tc_offset : left_tc_offset;
|
||||
beta_offset = x >= x0 ? cur_beta_offset : left_beta_offset;
|
||||
|
||||
beta = betatable[av_clip(qp + beta_offset, 0, MAX_QP)];
|
||||
beta = betatable[av_clip(qp + beta_offset, 0, MAX_QP)];
|
||||
tc[0] = bs0 ? TC_CALC(qp, bs0) : 0;
|
||||
tc[1] = bs1 ? TC_CALC(qp, bs1) : 0;
|
||||
src = &s->frame->data[LUMA][y * s->frame->linesize[LUMA] + (x << s->sps->pixel_shift)];
|
||||
|
Loading…
Reference in New Issue
Block a user