[Mplayer-cvslog] CVS: main/libvo vo_dga.c,1.41,1.42
Michael Niedermayer
michael at mplayer.dev.hu
Wed Feb 13 00:19:40 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv864
Modified Files:
vo_dga.c
Log Message:
use mem2agpcpy() instead of fast_memcpy()
Index: vo_dga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- vo_dga.c 9 Feb 2002 01:21:48 -0000 1.41
+++ vo_dga.c 12 Feb 2002 23:19:37 -0000 1.42
@@ -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 @@
// 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 ...
More information about the MPlayer-cvslog
mailing list