[Mplayer-cvslog] CVS: main/libmpcodecs vf_eq.c,1.2,1.3

Richard Felker CVS rfelker at mplayerhq.hu
Thu Aug 22 18:55:20 CEST 2002


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

Modified Files:
	vf_eq.c 
Log Message:
#ifdef ARCH_X86 as requested (??)


Index: vf_eq.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_eq.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vf_eq.c	22 Aug 2002 04:59:45 -0000	1.2
+++ vf_eq.c	22 Aug 2002 16:54:58 -0000	1.3
@@ -21,6 +21,7 @@
 	int contrast;
 };
 
+#ifdef ARCH_X86
 #ifdef HAVE_MMX
 static void process_MMX(unsigned char *dest, int dstride, unsigned char *src, int sstride,
 		    int w, int h, int brightness, int contrast)
@@ -79,6 +80,7 @@
 	asm volatile ( "emms \n\t" ::: "memory" );
 }
 #endif
+#endif
 
 static void process_C(unsigned char *dest, int dstride, unsigned char *src, int sstride,
 		    int w, int h, int brightness, int contrast)
@@ -205,8 +207,10 @@
 	if (args) sscanf(args, "%d:%d", &vf->priv->brightness, &vf->priv->contrast);
 
 	process = process_C;
+#ifdef ARCH_X86
 #ifdef HAVE_MMX
 	if(gCpuCaps.hasMMX) process = process_MMX;
+#endif
 #endif
 	
 	return 1;




More information about the MPlayer-cvslog mailing list