diff libmpcodecs/vf_pp7.c @ 23457:a124f3abc1ec

Replace implicit use of fast_memcpy via macro by explicit use to allow for future optimization.
author reimar
date Tue, 05 Jun 2007 14:27:54 +0000
parents 7e4f5f62703d
children 00fff9a3b735
line wrap: on
line diff
--- a/libmpcodecs/vf_pp7.c	Tue Jun 05 14:12:37 2007 +0000
+++ b/libmpcodecs/vf_pp7.c	Tue Jun 05 14:27:54 2007 +0000
@@ -290,15 +290,15 @@
     if (!src || !dst) return; // HACK avoid crash for Y8 colourspace
     for(y=0; y<height; y++){
         int index= 8 + 8*stride + y*stride;
-        memcpy(p_src + index, src + y*src_stride, width);
+        fast_memcpy(p_src + index, src + y*src_stride, width);
         for(x=0; x<8; x++){ 
             p_src[index         - x - 1]= p_src[index +         x    ];
             p_src[index + width + x    ]= p_src[index + width - x - 1];
         }
     }
     for(y=0; y<8; y++){
-        memcpy(p_src + (       7-y)*stride, p_src + (       y+8)*stride, stride);
-        memcpy(p_src + (height+8+y)*stride, p_src + (height-y+7)*stride, stride);
+        fast_memcpy(p_src + (       7-y)*stride, p_src + (       y+8)*stride, stride);
+        fast_memcpy(p_src + (height+8+y)*stride, p_src + (height-y+7)*stride, stride);
     }
     //FIXME (try edge emu)