diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-14 16:25:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-14 16:33:16 +0100 |
commit | b821def9f5ee9db7c72db6e5232f94ff25ee05fd (patch) | |
tree | 2a4fcb6b6f7d6736682c22a649ac69669371dd3d /libavcodec/proresdsp.c | |
parent | cb613657ee464a770a44e67540eef04f6a25f0cc (diff) | |
download | ffmpeg-b821def9f5ee9db7c72db6e5232f94ff25ee05fd.tar.gz |
avcodec/proresdsp: rename CLIP_AND_BIAS to BANANA
See: IRC log
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/proresdsp.c')
-rw-r--r-- | libavcodec/proresdsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/proresdsp.c b/libavcodec/proresdsp.c index c3d1f5c745..ef252dcfee 100644 --- a/libavcodec/proresdsp.c +++ b/libavcodec/proresdsp.c @@ -31,7 +31,7 @@ #define CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) ///< minimum value for clipping resulting pixels #define CLIP_MAX (1 << PRORES_BITS_PER_SAMPLE) - CLIP_MIN - 1 ///< maximum value for clipping resulting pixels -#define CLIP_AND_BIAS(x) (av_clip((x), CLIP_MIN, CLIP_MAX)) +#define CLIP(x) (av_clip((x), CLIP_MIN, CLIP_MAX)) #if CONFIG_PRORES_DECODER | CONFIG_PRORES_LGPL_DECODER /** @@ -45,7 +45,7 @@ static void put_pixels(uint16_t *dst, int stride, const int16_t *in) for (x = 0; x < 8; x++) { src_offset = (y << 3) + x; - dst[dst_offset + x] = CLIP_AND_BIAS(in[src_offset]); + dst[dst_offset + x] = CLIP(in[src_offset]); } } } |