*/
-#if COMPILE_TEMPLATE_ALTIVEC
#include "swscale_altivec_template.c"
-#endif
-#if COMPILE_TEMPLATE_ALTIVEC
static inline void RENAME(yuv2yuvX)(SwsContext *c, const int16_t *lumFilter,
const int16_t **lumSrc, int lumFilterSize,
const int16_t *chrFilter, const int16_t **chrUSrc,
chrFilter, chrUSrc, chrVSrc, chrFilterSize,
alpSrc, dest, dstW, dstY);
}
-#endif
static void RENAME(sws_init_swScale)(SwsContext *c)
{
//Plain C versions
#define COMPILE_TEMPLATE_MMX2 0
-#define COMPILE_TEMPLATE_ALTIVEC 0
#include "swscale_template.c"
#if HAVE_ALTIVEC
#undef RENAME
-#undef COMPILE_TEMPLATE_ALTIVEC
-#define COMPILE_TEMPLATE_ALTIVEC 1
#define RENAME(a) a ## _altivec
#include "ppc/swscale_template.c"
#endif