diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-28 19:56:55 -0800 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-01-30 14:18:06 +0100 |
commit | a5ba798c16d0614d982a76755fdd72b37d437170 (patch) | |
tree | 45f9c730a249407acb551012a0fd68a19a101cb7 /libavcodec/dsputil_template.c | |
parent | 61d36761efda663c5ce07a5ec13659431b08f3c2 (diff) | |
download | ffmpeg-a5ba798c16d0614d982a76755fdd72b37d437170.tar.gz |
dsputil: remove unused functions copy_block{2, 4, 8, 16}.
Diffstat (limited to 'libavcodec/dsputil_template.c')
-rw-r--r-- | libavcodec/dsputil_template.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/libavcodec/dsputil_template.c b/libavcodec/dsputil_template.c index 42f2b7b6c9..62edd90e8c 100644 --- a/libavcodec/dsputil_template.c +++ b/libavcodec/dsputil_template.c @@ -29,54 +29,6 @@ #include "bit_depth_template.c" -static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) -{ - int i; - for(i=0; i<h; i++) - { - AV_WN2P(dst , AV_RN2P(src )); - dst+=dstStride; - src+=srcStride; - } -} - -static inline void FUNC(copy_block4)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) -{ - int i; - for(i=0; i<h; i++) - { - AV_WN4P(dst , AV_RN4P(src )); - dst+=dstStride; - src+=srcStride; - } -} - -static inline void FUNC(copy_block8)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) -{ - int i; - for(i=0; i<h; i++) - { - AV_WN4P(dst , AV_RN4P(src )); - AV_WN4P(dst+4*sizeof(pixel), AV_RN4P(src+4*sizeof(pixel))); - dst+=dstStride; - src+=srcStride; - } -} - -static inline void FUNC(copy_block16)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) -{ - int i; - for(i=0; i<h; i++) - { - AV_WN4P(dst , AV_RN4P(src )); - AV_WN4P(dst+ 4*sizeof(pixel), AV_RN4P(src+ 4*sizeof(pixel))); - AV_WN4P(dst+ 8*sizeof(pixel), AV_RN4P(src+ 8*sizeof(pixel))); - AV_WN4P(dst+12*sizeof(pixel), AV_RN4P(src+12*sizeof(pixel))); - dst+=dstStride; - src+=srcStride; - } -} - /* draw the edges of width 'w' of an image of size width, height */ //FIXME check that this is ok for mpeg4 interlaced static void FUNCC(draw_edges)(uint8_t *_buf, int _wrap, int width, int height, int w, int h, int sides) |