Mercurial > mplayer.hg
diff libswscale/rgb2rgb.c @ 20576:9e7c80f126d6
Use common define for x86_32 and x86_64.
author | diego |
---|---|
date | Wed, 01 Nov 2006 18:36:20 +0000 |
parents | aca9e9783f67 |
children | 1f2ba24b4e47 |
line wrap: on
line diff
--- a/libswscale/rgb2rgb.c Wed Nov 01 18:19:02 2006 +0000 +++ b/libswscale/rgb2rgb.c Wed Nov 01 18:36:20 2006 +0000 @@ -88,7 +88,7 @@ long srcStride1, long srcStride2, long srcStride3, long dstStride); -#if defined(ARCH_X86) || defined(ARCH_X86_64) +#if defined(ARCH_X86) static const uint64_t mmx_null __attribute__((aligned(8))) = 0x0000000000000000ULL; static const uint64_t mmx_one __attribute__((aligned(8))) = 0xFFFFFFFFFFFFFFFFULL; static const uint64_t mask32b attribute_used __attribute__((aligned(8))) = 0x000000FF000000FFULL; @@ -150,7 +150,7 @@ 0x0602060206020602LL, 0x0004000400040004LL,}; #endif -#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */ +#endif /* defined(ARCH_X86) */ #define RGB2YUV_SHIFT 8 #define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5)) @@ -172,7 +172,7 @@ #define RENAME(a) a ## _C #include "rgb2rgb_template.c" -#if defined(ARCH_X86) || defined(ARCH_X86_64) +#if defined(ARCH_X86) //MMX versions #undef RENAME