diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-08-28 16:53:33 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-08-31 03:53:25 +0400 |
commit | 17337f54c057accf12b0e87d12f576194ad085a8 (patch) | |
tree | 1b09c5750a307bbae18fbbcae93aa79b40bf602a /libswscale/x86/swscale.c | |
parent | 43b73d59a8b6cba60b0401b39f0f577bc6c1df9e (diff) |
x86: Split inline and external assembly #ifdefs
Diffstat (limited to 'libswscale/x86/swscale.c')
-rw-r--r-- | libswscale/x86/swscale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index db9fb732b9..581d6f79f7 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -70,7 +70,7 @@ DECLARE_ALIGNED(8, const uint64_t, ff_bgr2UVOffset) = 0x8080808080808080ULL; DECLARE_ALIGNED(8, const uint64_t, ff_w1111) = 0x0001000100010001ULL; //MMX versions -#if HAVE_MMX +#if HAVE_MMX_INLINE #undef RENAME #define COMPILE_TEMPLATE_MMXEXT 0 #define RENAME(a) a ## _MMX @@ -78,7 +78,7 @@ DECLARE_ALIGNED(8, const uint64_t, ff_w1111) = 0x0001000100010001ULL; #endif //MMX2 versions -#if HAVE_MMXEXT +#if HAVE_MMXEXT_INLINE #undef RENAME #undef COMPILE_TEMPLATE_MMXEXT #define COMPILE_TEMPLATE_MMXEXT 1 @@ -308,7 +308,7 @@ av_cold void ff_sws_init_swScale_mmx(SwsContext *c) #if HAVE_INLINE_ASM if (cpu_flags & AV_CPU_FLAG_MMX) sws_init_swScale_MMX(c); -#if HAVE_MMXEXT +#if HAVE_MMXEXT_INLINE if (cpu_flags & AV_CPU_FLAG_MMXEXT) sws_init_swScale_MMX2(c); #endif |