diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-10-05 20:47:55 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-10-05 20:47:55 +0400 |
commit | 02a6a6eea4357a23453eee2a2f609d4a5fee1b63 (patch) | |
tree | ba35cf7b4812d344fad99f3af9a263d7f280f9f7 /libswscale/rgb2rgb_template.c | |
parent | b0e047de15ffd3e8ff7b6450b3a6cc6da72486c0 (diff) |
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/rgb2rgb_template.c')
-rw-r--r-- | libswscale/rgb2rgb_template.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libswscale/rgb2rgb_template.c b/libswscale/rgb2rgb_template.c index ce72179ea3..73004d4a7e 100644 --- a/libswscale/rgb2rgb_template.c +++ b/libswscale/rgb2rgb_template.c @@ -28,7 +28,6 @@ */ #include <stddef.h> -#include <inttypes.h> /* for __WORDSIZE */ #undef PREFETCH #undef MOVNTQ @@ -1584,7 +1583,7 @@ static inline void RENAME(yuvPlanartoyuy2)(const uint8_t *ysrc, const uint8_t *u 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(yuvPlanartouyvy)(const uint8_t *ysrc, const uint8_t *u #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; |