diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-07-12 07:50:28 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-08-21 08:46:05 +0200 |
commit | d8ebb6157d12183ed3fc987cd2ba18b404758828 (patch) | |
tree | d4fec4fc6d9d5d94ba7a8ff272fa01e1cb43df75 /libavcodec/hevc.c | |
parent | a1926a29fb4325afa46842883f197c74d4535c36 (diff) | |
download | ffmpeg-d8ebb6157d12183ed3fc987cd2ba18b404758828.tar.gz |
hevcdsp: fix a function name
put_weighted_pred_avg should be put_unweighted_pred_avg, there is no
weighting there.
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 6395563ab2..f17c313b83 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -1806,8 +1806,8 @@ static void hls_prediction_unit(HEVCContext *s, int x0, int y0, dst0, s->frame->linesize[0], tmp, tmp2, tmpstride, nPbW, nPbH); } else { - s->hevcdsp.put_weighted_pred_avg(dst0, s->frame->linesize[0], - tmp, tmp2, tmpstride, nPbW, nPbH); + s->hevcdsp.put_unweighted_pred_avg(dst0, s->frame->linesize[0], + tmp, tmp2, tmpstride, nPbW, nPbH); } chroma_mc(s, tmp, tmp2, tmpstride, ref0->frame, @@ -1832,8 +1832,8 @@ static void hls_prediction_unit(HEVCContext *s, int x0, int y0, dst2, s->frame->linesize[2], tmp2, tmp4, tmpstride, nPbW / 2, nPbH / 2); } else { - s->hevcdsp.put_weighted_pred_avg(dst1, s->frame->linesize[1], tmp, tmp3, tmpstride, nPbW/2, nPbH/2); - s->hevcdsp.put_weighted_pred_avg(dst2, s->frame->linesize[2], tmp2, tmp4, tmpstride, nPbW/2, nPbH/2); + s->hevcdsp.put_unweighted_pred_avg(dst1, s->frame->linesize[1], tmp, tmp3, tmpstride, nPbW/2, nPbH/2); + s->hevcdsp.put_unweighted_pred_avg(dst2, s->frame->linesize[2], tmp2, tmp4, tmpstride, nPbW/2, nPbH/2); } } } |