[Mplayer-cvslog] CVS: main/postproc yuv2rgb.c,1.22,1.23

Alex Beregszaszi syncmail at mplayerhq.hu
Mon Apr 5 23:34:06 CEST 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/postproc
In directory mail:/var2/tmp/cvs-serv22486

Modified Files:
	yuv2rgb.c 
Log Message:
make gcc happy under hurd

Index: yuv2rgb.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/yuv2rgb.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- yuv2rgb.c	27 Dec 2003 19:54:59 -0000	1.22
+++ yuv2rgb.c	5 Apr 2004 21:34:04 -0000	1.23
@@ -159,13 +159,13 @@
 #ifdef ARCH_X86
 
 /* hope these constant values are cache line aligned */
-uint64_t __attribute__((aligned(8))) mmx_00ffw = 0x00ff00ff00ff00ff;
-uint64_t __attribute__((aligned(8))) mmx_redmask = 0xf8f8f8f8f8f8f8f8;
-uint64_t __attribute__((aligned(8))) mmx_grnmask = 0xfcfcfcfcfcfcfcfc;
-
-uint64_t __attribute__((aligned(8))) M24A=   0x00FF0000FF0000FFLL;
-uint64_t __attribute__((aligned(8))) M24B=   0xFF0000FF0000FF00LL;
-uint64_t __attribute__((aligned(8))) M24C=   0x0000FF0000FF0000LL;
+uint64_t __attribute__((aligned(8))) mmx_00ffw = 0x00ff00ff00ff00ffULL;
+uint64_t __attribute__((aligned(8))) mmx_redmask = 0xf8f8f8f8f8f8f8f8ULL;
+uint64_t __attribute__((aligned(8))) mmx_grnmask = 0xfcfcfcfcfcfcfcfcULL;
+
+uint64_t __attribute__((aligned(8))) M24A=   0x00FF0000FF0000FFULL;
+uint64_t __attribute__((aligned(8))) M24B=   0xFF0000FF0000FF00ULL;
+uint64_t __attribute__((aligned(8))) M24C=   0x0000FF0000FF0000ULL;
 
 // the volatile is required because gcc otherwise optimizes some writes away not knowing that these
 // are read in the asm block




More information about the MPlayer-cvslog mailing list