[Mplayer-cvslog] CVS: main/libmpcodecs pullup.c,1.9,1.10

Richard Felker CVS rfelker at mplayerhq.hu
Thu Dec 11 05:56:40 CET 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv5564

Modified Files:
	pullup.c 
Log Message:
100l bug found by Zoli, wasted time and unfairly delocalized the metrics

Index: pullup.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/pullup.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- pullup.c	8 Nov 2003 00:26:46 -0000	1.9
+++ pullup.c	11 Dec 2003 04:56:19 -0000	1.10
@@ -61,7 +61,7 @@
 {
 	int ret;
 	asm volatile (
-		"movl $8, %%ecx \n\t"
+		"movl $4, %%ecx \n\t"
 		"pxor %%mm6, %%mm6 \n\t"
 		"pxor %%mm7, %%mm7 \n\t"
 		"subl %%eax, %%edi \n\t"
@@ -163,7 +163,7 @@
 static int licomb_y(unsigned char *a, unsigned char *b, int s)
 {
 	int i, j, diff=0;
-	for (i=8; i; i--) {
+	for (i=4; i; i--) {
 		for (j=0; j<8; j++)
 			diff += ABS((a[j]<<1) - b[j-s] - b[j])
 				+ ABS((b[j]<<1) - a[j] - a[j+s]);



More information about the MPlayer-cvslog mailing list