diff options
author | Mans Rullgard <mans@mansr.com> | 2012-04-21 19:51:19 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-04-21 20:00:39 +0100 |
commit | d7458bc8c62ae1cb2ffc805b989fcddf4029dda6 (patch) | |
tree | 2bb2a0810cfc7a6dba30fef133557630adb8fd3e | |
parent | 94c9bf8887ed58de16c8ecffca2bd216751a40ed (diff) | |
download | ffmpeg-d7458bc8c62ae1cb2ffc805b989fcddf4029dda6.tar.gz |
dsputil: remove unused functions
These functions were left unused by the lowres removal.
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r-- | libavcodec/dsputil.c | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 62485b4f75..8add2bd981 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -380,38 +380,6 @@ void ff_put_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels, } } -static void put_pixels_clamped4_c(const DCTELEM *block, uint8_t *restrict pixels, - int line_size) -{ - int i; - - /* read the pixels */ - for(i=0;i<4;i++) { - pixels[0] = av_clip_uint8(block[0]); - pixels[1] = av_clip_uint8(block[1]); - pixels[2] = av_clip_uint8(block[2]); - pixels[3] = av_clip_uint8(block[3]); - - pixels += line_size; - block += 8; - } -} - -static void put_pixels_clamped2_c(const DCTELEM *block, uint8_t *restrict pixels, - int line_size) -{ - int i; - - /* read the pixels */ - for(i=0;i<2;i++) { - pixels[0] = av_clip_uint8(block[0]); - pixels[1] = av_clip_uint8(block[1]); - - pixels += line_size; - block += 8; - } -} - void ff_put_signed_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels, int line_size) @@ -453,36 +421,6 @@ void ff_add_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels, } } -static void add_pixels_clamped4_c(const DCTELEM *block, uint8_t *restrict pixels, - int line_size) -{ - int i; - - /* read the pixels */ - for(i=0;i<4;i++) { - pixels[0] = av_clip_uint8(pixels[0] + block[0]); - pixels[1] = av_clip_uint8(pixels[1] + block[1]); - pixels[2] = av_clip_uint8(pixels[2] + block[2]); - pixels[3] = av_clip_uint8(pixels[3] + block[3]); - pixels += line_size; - block += 8; - } -} - -static void add_pixels_clamped2_c(const DCTELEM *block, uint8_t *restrict pixels, - int line_size) -{ - int i; - - /* read the pixels */ - for(i=0;i<2;i++) { - pixels[0] = av_clip_uint8(pixels[0] + block[0]); - pixels[1] = av_clip_uint8(pixels[1] + block[1]); - pixels += line_size; - block += 8; - } -} - static int sum_abs_dctelem_c(DCTELEM *block) { int sum=0, i; |