diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-12 23:19:37 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-12 23:19:37 +0000 |
commit | 859ae44c0a72538513a141731f556f9b741d8fea (patch) | |
tree | 7a7c734018196a8dafd24dfd2e24691154d8e5a2 /libvo | |
parent | 7a4350e4c14add138b66f2c0c43b2796cf01094c (diff) |
use mem2agpcpy() instead of fast_memcpy()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4683 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_dga.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c index d8d1c3a45c..0a3f75b9c4 100644 --- a/libvo/vo_dga.c +++ b/libvo/vo_dga.c @@ -23,6 +23,9 @@ * - works only on x86 architectures * * $Log$ + * Revision 1.42 2002/02/12 23:19:37 michael + * use mem2agpcpy() instead of fast_memcpy() + * * Revision 1.41 2002/02/09 01:21:48 arpi * 10000hl to Holm... control MUST BE static... * @@ -480,14 +483,14 @@ static uint32_t draw_frame( uint8_t *src[] ){ // use some stride ... int i; for(i=0; i< vo_dga_lines; i++){ - memcpy(d, s, vo_dga_bytes_per_line); + mem2agpcpy(d, s, vo_dga_bytes_per_line); d+=vo_dga_vp_skip; d+=vo_dga_bytes_per_line; s+=vo_dga_bytes_per_line; } }else{ // no stride, cool + fast ... - memcpy(d,s, vo_dga_bytes_per_line * vo_dga_lines); + mem2agpcpy(d,s, vo_dga_bytes_per_line * vo_dga_lines); } #else /* ARCH_X86 and NO_MMX */ // use some homebrewn assembly code ... |