On Tue, May 24, 2011 at 09:28:47AM -0400, Ronald S. Bultje wrote: > > --- a/libswscale/swscale.c > +++ b/libswscale/swscale.c > @@ -1179,57 +1176,14 @@ static inline void monoblack2Y(uint8_t *dst, const > uint8_t *src, long width, uin > > //Note: we have C, MMX, MMX2, 3DNOW versions, there is no 3DNOW+MMX2 one > //Plain C versions > -#if CONFIG_RUNTIME_CPUDETECT > -# define COMPILE_C 1 > -# if ARCH_X86 > -# define COMPILE_MMX HAVE_MMX > -# define COMPILE_MMX2 HAVE_MMX2 > -# define COMPILE_3DNOW HAVE_AMD3DNOW > -# elif ARCH_PPC > -# define COMPILE_ALTIVEC HAVE_ALTIVEC > -# endif > -#else /* CONFIG_RUNTIME_CPUDETECT */ > -# if ARCH_X86 > -# if HAVE_MMX2 > -# define COMPILE_MMX2 1 > -# elif HAVE_AMD3DNOW > -# define COMPILE_3DNOW 1 > -# elif HAVE_MMX > -# define COMPILE_MMX 1 > -# else > -# define COMPILE_C 1 > -# endif > -# elif ARCH_PPC && HAVE_ALTIVEC > -# define COMPILE_ALTIVEC 1 > -# else > -# define COMPILE_C 1 > -# endif > -#endif > - > -#ifndef COMPILE_C > -# define COMPILE_C 0 > -#endif > -#ifndef COMPILE_MMX > -# define COMPILE_MMX 0 > -#endif > -#ifndef COMPILE_MMX2 > -# define COMPILE_MMX2 0 > -#endif > -#ifndef COMPILE_3DNOW > -# define COMPILE_3DNOW 0 > -#endif > -#ifndef COMPILE_ALTIVEC > -# define COMPILE_ALTIVEC 0 > -#endif > > -#define COMPILE_TEMPLATE_MMX 0 > #define COMPILE_TEMPLATE_MMX2 0 > #define COMPILE_TEMPLATE_AMD3DNOW 0 > #define COMPILE_TEMPLATE_ALTIVEC 0 > > #include "swscale_template.c"
The comments above this code block look orphaned and confusing now. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
