[FFmpeg-cvslog] r27720 - trunk/libswscale/rgb2rgb_template.c

diego subversion
Sun Oct 5 18:47:55 CEST 2008


Author: diego
Date: Sun Oct  5 18:47:55 2008
New Revision: 27720

Log:
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.


Modified:
   trunk/libswscale/rgb2rgb_template.c

Modified: trunk/libswscale/rgb2rgb_template.c
==============================================================================
--- trunk/libswscale/rgb2rgb_template.c	(original)
+++ trunk/libswscale/rgb2rgb_template.c	Sun Oct  5 18:47:55 2008
@@ -28,7 +28,6 @@
  */
 
 #include <stddef.h>
-#include <inttypes.h> /* for __WORDSIZE */
 
 #undef PREFETCH
 #undef MOVNTQ
@@ -1584,7 +1583,7 @@ static inline void RENAME(yuvPlanartoyuy
         ysrc += lumStride;
         dst += dstStride;
 
-#elif __WORDSIZE >= 64
+#elif HAVE_FAST_64BIT
         int i;
         uint64_t *ldst = (uint64_t *) dst;
         const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;
@@ -1690,7 +1689,7 @@ static inline void RENAME(yuvPlanartouyv
 #else
 //FIXME adapt the Alpha ASM code from yv12->yuy2
 
-#if __WORDSIZE >= 64
+#if HAVE_FAST_64BIT
         int i;
         uint64_t *ldst = (uint64_t *) dst;
         const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;




More information about the ffmpeg-cvslog mailing list