diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-31 19:00:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-31 19:00:29 +0100 |
commit | ed341549bbc220eb65d4bb8b9bbc36ab4a3e4ed1 (patch) | |
tree | d0e88e19e922401557d0b0c4fde3a7ae8ff91d41 /libavcodec/dsputil_template.c | |
parent | 7e0fc1a24fa6fb773725bad8085ea4790ba9c5dc (diff) | |
parent | a5ba798c16d0614d982a76755fdd72b37d437170 (diff) | |
download | ffmpeg-ed341549bbc220eb65d4bb8b9bbc36ab4a3e4ed1.tar.gz |
Merge commit 'a5ba798c16d0614d982a76755fdd72b37d437170'
* commit 'a5ba798c16d0614d982a76755fdd72b37d437170':
dsputil: remove unused functions copy_block{2, 4, 8, 16}.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 2922883de5..7e20995a1d 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 *p_buf, int p_wrap, int width, int height, int w, int h, int sides) |