diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2014-07-27 22:56:06 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-28 00:39:13 +0200 |
commit | 3b777db1320014286592706b7bb1c2e51364bb83 (patch) | |
tree | 6cb82e62da373e43694722789adee365800566a9 /libavcodec/hevc_filter.c | |
parent | db0578a0e783eb9c25f4bdcaf0be0ab6dee48fcf (diff) | |
download | ffmpeg-3b777db1320014286592706b7bb1c2e51364bb83.tar.gz |
hevc: remove non necessary parameters to ff_hevc_set_qpy
cherry picked from commit 6f58c111ad9920d983bb18eacf901193bac5d937
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_filter.c')
-rw-r--r-- | libavcodec/hevc_filter.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index ac50333d29..a68d843429 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcodec/hevc_filter.c @@ -76,8 +76,7 @@ static int chroma_tc(HEVCContext *s, int qp_y, int c_idx, int tc_offset) return tctable[idxt]; } -static int get_qPy_pred(HEVCContext *s, int xC, int yC, - int xBase, int yBase, int log2_cb_size) +static int get_qPy_pred(HEVCContext *s, int xBase, int yBase, int log2_cb_size) { HEVCLocalContext *lc = s->HEVClc; int ctb_size_mask = (1 << s->sps->log2_ctb_size) - 1; @@ -120,10 +119,9 @@ static int get_qPy_pred(HEVCContext *s, int xC, int yC, return (qPy_a + qPy_b + 1) >> 1; } -void ff_hevc_set_qPy(HEVCContext *s, int xC, int yC, - int xBase, int yBase, int log2_cb_size) +void ff_hevc_set_qPy(HEVCContext *s, int xBase, int yBase, int log2_cb_size) { - int qp_y = get_qPy_pred(s, xC, yC, xBase, yBase, log2_cb_size); + int qp_y = get_qPy_pred(s, xBase, yBase, log2_cb_size); if (s->HEVClc->tu.cu_qp_delta != 0) { int off = s->sps->qp_bd_offset; |