[FFmpeg-cvslog] swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.

Ronald S. Bultje git at videolan.org
Sat Jun 4 06:39:57 CEST 2011


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Thu Jun  2 19:19:12 2011 -0700| [0d793db1b0a4edff37fee8318f5656ffe6fe3951] | committer: Ronald S. Bultje

swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0d793db1b0a4edff37fee8318f5656ffe6fe3951
---

 libswscale/ppc/swscale_template.c |    4 ----
 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 3ee100a..01afe43 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 02cf7cb..d6bdfdd 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



More information about the ffmpeg-cvslog mailing list