diff options
Diffstat (limited to 'src/video_out/yuv2rgb_mmx.c')
-rw-r--r-- | src/video_out/yuv2rgb_mmx.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/video_out/yuv2rgb_mmx.c b/src/video_out/yuv2rgb_mmx.c index adac1929a..ea4cf9698 100644 --- a/src/video_out/yuv2rgb_mmx.c +++ b/src/video_out/yuv2rgb_mmx.c @@ -34,6 +34,7 @@ #include "attributes.h" #include "cpu_accel.h" #include "yuv2rgb.h" +#include "memcpy.h" #define CPU_MMXEXT 0 #define CPU_MMX 1 @@ -432,7 +433,7 @@ static inline void yuv420_rgb16 (yuv2rgb_t *this, while (--dst_height > 0 && dy < 32768) { - memcpy (image, image-rgb_stride, this->dest_width*2); + fast_memcpy (image, image-rgb_stride, this->dest_width*2); dy += this->step_dy; image += rgb_stride; @@ -540,7 +541,7 @@ static inline void yuv420_rgb15 (yuv2rgb_t *this, while (--dst_height > 0 && dy < 32768) { - memcpy (image, image-rgb_stride, this->dest_width*2); + fast_memcpy (image, image-rgb_stride, this->dest_width*2); dy += this->step_dy; image += rgb_stride; @@ -647,7 +648,7 @@ static inline void yuv420_rgb24 (yuv2rgb_t *this, while (--dst_height > 0 && dy < 32768) { - memcpy (image, image-rgb_stride, this->dest_width*3); + fast_memcpy (image, image-rgb_stride, this->dest_width*3); dy += this->step_dy; image += rgb_stride; @@ -755,7 +756,7 @@ static inline void yuv420_argb32 (yuv2rgb_t *this, while (--dst_height > 0 && dy < 32768) { - memcpy (image, image-rgb_stride, this->dest_width*4); + fast_memcpy (image, image-rgb_stride, this->dest_width*4); dy += this->step_dy; image += rgb_stride; @@ -863,7 +864,7 @@ static inline void yuv420_abgr32 (yuv2rgb_t *this, while (--dst_height > 0 && dy < 32768) { - memcpy (image, image-rgb_stride, this->dest_width*4); + fast_memcpy (image, image-rgb_stride, this->dest_width*4); dy += this->step_dy; image += rgb_stride; |