diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-02 19:19:12 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-02 21:29:59 -0700 |
commit | 0d793db1b0a4edff37fee8318f5656ffe6fe3951 (patch) | |
tree | 0adf2c24036b44c51acca536b66d24b635cf6476 /libswscale | |
parent | f190f676bc93a7e80344f2feeb3b9b44604d4717 (diff) | |
download | ffmpeg-0d793db1b0a4edff37fee8318f5656ffe6fe3951.tar.gz |
swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/ppc/swscale_template.c | 4 | ||||
-rw-r--r-- | libswscale/swscale.c | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/libswscale/ppc/swscale_template.c b/libswscale/ppc/swscale_template.c index 3ee100a57c..01afe43bb2 100644 --- a/libswscale/ppc/swscale_template.c +++ b/libswscale/ppc/swscale_template.c @@ -19,11 +19,8 @@ */ -#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, @@ -61,7 +58,6 @@ static inline void RENAME(yuv2packedX)(SwsContext *c, const int16_t *lumFilter, chrFilter, chrUSrc, chrVSrc, chrFilterSize, alpSrc, dest, dstW, dstY); } -#endif static void RENAME(sws_init_swScale)(SwsContext *c) { diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 02cf7cb382..d6bdfdd3cc 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1186,14 +1186,11 @@ static inline void monoblack2Y(uint8_t *dst, const uint8_t *src, int width, uint //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 |