summaryrefslogtreecommitdiffstats
path: root/libvo/vo_syncfb.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-05 14:27:54 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-05 14:27:54 +0000
commit6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1 (patch)
treeef08af22a70727d8ee9a902f622cf1d5042f5344 /libvo/vo_syncfb.c
parentac87b4a173d2aee564e7cdca3037f101d946fbad (diff)
downloadmpv-6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1.tar.bz2
mpv-6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1.tar.xz
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
Diffstat (limited to 'libvo/vo_syncfb.c')
-rw-r--r--libvo/vo_syncfb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libvo/vo_syncfb.c b/libvo/vo_syncfb.c
index a6b965e264..472f89c617 100644
--- a/libvo/vo_syncfb.c
+++ b/libvo/vo_syncfb.c
@@ -127,7 +127,7 @@ write_frame_YUV420P2(uint_8 *y,uint_8 *cr, uint_8 *cb)
for(h=0; h < _config.src_height; h++)
{
- memcpy(dest, y, _config.src_width);
+ fast_memcpy(dest, y, _config.src_width);
y += _config.src_width;
dest += bespitch;
}
@@ -161,7 +161,7 @@ write_slice_YUV420P2(uint_8 *y,uint_8 *cr, uint_8 *cb,uint_32 slice_num)
for(h=0; h < 16; h++)
{
- memcpy(dest, y, _config.src_width);
+ fast_memcpy(dest, y, _config.src_width);
y += _config.src_width;
dest += bespitch;
}
@@ -190,7 +190,7 @@ write_slice_YUV420P3(uint_8 *y,uint_8 *cr, uint_8 *cb,int stride[],uint_32 ypos,
dest = frame_mem + bufinfo.offset + (bespitch * ypos);
for(h=0; h < ysize; h++)
{
- memcpy(dest, y, xsize);
+ fast_memcpy(dest, y, xsize);
y += stride[0];
dest += bespitch;
}
@@ -201,7 +201,7 @@ write_slice_YUV420P3(uint_8 *y,uint_8 *cr, uint_8 *cb,int stride[],uint_32 ypos,
dest = frame_mem + bufinfo.offset_p2 + (bespitch * ypos)/4;
for(h=0; h < ysize; h++)
{
- memcpy(dest, cr, xsize);
+ fast_memcpy(dest, cr, xsize);
cr += stride[1];
dest += bespitch/2;
}
@@ -209,7 +209,7 @@ write_slice_YUV420P3(uint_8 *y,uint_8 *cr, uint_8 *cb,int stride[],uint_32 ypos,
dest = frame_mem + bufinfo.offset_p3 + (bespitch * ypos)/4;
for(h=0; h < ysize; h++)
{
- memcpy(dest, cb, xsize);
+ fast_memcpy(dest, cb, xsize);
cb += stride[2];
dest += bespitch/2;
}