diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-07 22:03:49 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-02-07 22:08:19 +0100 |
commit | b9ba5253dd1232be4b48cfe61c31ff4b3de3d10a (patch) | |
tree | 2f543938d10723c226c11b1d206e0bab21c7915b /libavcodec/dsputil.h | |
parent | 9e31729d692f1e721b7ed1a3a0f51b68c064d68f (diff) | |
download | ffmpeg-b9ba5253dd1232be4b48cfe61c31ff4b3de3d10a.tar.gz |
dsputil: Move copy_block functions to a separate header
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index d42518c522..22c204c475 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -514,40 +514,4 @@ static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int st return score;\ } - -static inline void copy_block8(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) -{ - int i; - for(i=0; i<h; i++) - { - AV_COPY64U(dst, src); - dst+=dstStride; - src+=srcStride; - } -} - -static inline void copy_block9(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) -{ - int i; - for(i=0; i<h; i++) - { - AV_COPY64U(dst, src); - dst[8]= src[8]; - dst+=dstStride; - src+=srcStride; - } -} - -static inline void copy_block17(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) -{ - int i; - for(i=0; i<h; i++) - { - AV_COPY128U(dst, src); - dst[16]= src[16]; - dst+=dstStride; - src+=srcStride; - } -} - #endif /* AVCODEC_DSPUTIL_H */ |