[Mplayer-cvslog] CVS: main/TOOLS fastmemcpybench.c,1.4,1.5
Michael Niedermayer
michael at mplayer.dev.hu
Fri Nov 23 13:00:47 CET 2001
Update of /cvsroot/mplayer/main/TOOLS
In directory mplayer:/var/tmp.root/cvs-serv14666
Modified Files:
fastmemcpybench.c
Log Message:
missaligned arrays, as nick requested
Index: fastmemcpybench.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/fastmemcpybench.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fastmemcpybench.c 22 Nov 2001 19:22:49 -0000 1.4
+++ fastmemcpybench.c 23 Nov 2001 12:00:40 -0000 1.5
@@ -21,7 +21,6 @@
//#define ARR_SIZE 100000
#define ARR_SIZE (1024*768*2)
-
#ifdef HAVE_MGA
#include "../drivers/mga_vid.h"
@@ -107,9 +106,9 @@
mga_init();
marr1 = &frame[3];
#else
- marr1 = &arr1[0];
+ marr1 = &arr1[3];
#endif
- marr2 = &arr2[0];
+ marr2 = &arr2[9];
for(i=0; i<ARR_SIZE; i++) marr1[i] = marr2[i] = i;
More information about the MPlayer-cvslog
mailing list