summaryrefslogtreecommitdiff
path: root/src/video_out
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-21 00:18:22 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-21 00:18:22 +0000
commitf6a5ce6f826295e677b55aebb9571db5fd17fe22 (patch)
treee2bfd362c831cf3b8441bdb9431e7d9725a5dfbc /src/video_out
parent9813284b8994e87505472857f5dacd903d4e234f (diff)
downloadxine-lib-f6a5ce6f826295e677b55aebb9571db5fd17fe22.tar.gz
xine-lib-f6a5ce6f826295e677b55aebb9571db5fd17fe22.tar.bz2
more memcpy stuff
CVS patchset: 846 CVS date: 2001/10/21 00:18:22
Diffstat (limited to 'src/video_out')
-rw-r--r--src/video_out/yuv2rgb.c6
-rw-r--r--src/video_out/yuv2rgb_mmx.c11
2 files changed, 9 insertions, 8 deletions
diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c
index 573989200..b7b28adfb 100644
--- a/src/video_out/yuv2rgb.c
+++ b/src/video_out/yuv2rgb.c
@@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: yuv2rgb.c,v 1.24 2001/10/09 22:20:11 miguelfreitas Exp $
+ * $Id: yuv2rgb.c,v 1.25 2001/10/21 00:18:22 miguelfreitas Exp $
*/
#include "config.h"
@@ -37,7 +37,7 @@
#include "cpu_accel.h"
#include "monitor.h"
#include "utils.h"
-
+#include "memcpy.h"
static int prof_scale_line = -1;
@@ -1131,7 +1131,7 @@ static void scale_line_1_1 (uint8_t *source, uint8_t *dest,
int width, int step) {
profiler_start_count(prof_scale_line);
- memcpy(dest, source, width);
+ fast_memcpy(dest, source, width);
profiler_stop_count(prof_scale_line);
}
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;