From 6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 5 Jun 2007 14:27:54 +0000 Subject: Replace implicit use of fast_memcpy via macro by explicit use to allow for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_tfields.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libmpcodecs/vf_tfields.c') diff --git a/libmpcodecs/vf_tfields.c b/libmpcodecs/vf_tfields.c index 07d79546a6..5f6a761599 100644 --- a/libmpcodecs/vf_tfields.c +++ b/libmpcodecs/vf_tfields.c @@ -27,7 +27,7 @@ static inline void *my_memcpy_pic(void * dst, void * src, int bytesPerLine, int for(i=0; i>2; d += ds; s += ss; - if (!up) memcpy(d, s, w); + if (!up) fast_memcpy(d, s, w); asm volatile("emms \n\t" : : : "memory"); } #endif @@ -276,7 +276,7 @@ static void qpel_li_C(unsigned char *d, unsigned char *s, int w, int h, int ds, int i, j, ssd=ss; if (up) { ssd = -ss; - memcpy(d, s, w); + fast_memcpy(d, s, w); d += ds; s += ss; } @@ -286,7 +286,7 @@ static void qpel_li_C(unsigned char *d, unsigned char *s, int w, int h, int ds, d += ds; s += ss; } - if (!up) memcpy(d, s, w); + if (!up) fast_memcpy(d, s, w); } static void qpel_4tap_C(unsigned char *d, unsigned char *s, int w, int h, int ds, int ss, int up) @@ -294,7 +294,7 @@ static void qpel_4tap_C(unsigned char *d, unsigned char *s, int w, int h, int ds int i, j, ssd=ss; if (up) { ssd = -ss; - memcpy(d, s, w); + fast_memcpy(d, s, w); d += ds; s += ss; } for (j=0; j>2; d += ds; s += ss; - if (!up) memcpy(d, s, w); + if (!up) fast_memcpy(d, s, w); } static void (*qpel_li)(unsigned char *d, unsigned char *s, int w, int h, int ds, int ss, int up); -- cgit v1.2.3