From 49cef7443a37a91827f0b8d8f7494f1fec563a1b Mon Sep 17 00:00:00 2001 From: Brian Foley Date: Sun, 26 Nov 2006 18:25:07 +0000 Subject: Move copy_block* functions to dsp dsputil.h Patch by Brian Foley % bfoley A compsoc P nuigalway P ie % Original thread: Date: Nov 26, 2006 6:44 PM Subject: Re: [Ffmpeg-devel] [PATCH] put_mpeg4_qpel16_h_lowpass altivec, take 2 Originally committed as revision 7172 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.h | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) (limited to 'libavcodec/dsputil.h') diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 1097b8735e..35deb6aabc 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -698,4 +698,81 @@ static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int st return score;\ } + +static inline void copy_block2(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) +{ + int i; + for(i=0; i