swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.
This commit is contained in:
parent
f190f676bc
commit
0d793db1b0
@ -19,11 +19,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#if COMPILE_TEMPLATE_ALTIVEC
|
|
||||||
#include "swscale_altivec_template.c"
|
#include "swscale_altivec_template.c"
|
||||||
#endif
|
|
||||||
|
|
||||||
#if COMPILE_TEMPLATE_ALTIVEC
|
|
||||||
static inline void RENAME(yuv2yuvX)(SwsContext *c, const int16_t *lumFilter,
|
static inline void RENAME(yuv2yuvX)(SwsContext *c, const int16_t *lumFilter,
|
||||||
const int16_t **lumSrc, int lumFilterSize,
|
const int16_t **lumSrc, int lumFilterSize,
|
||||||
const int16_t *chrFilter, const int16_t **chrUSrc,
|
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,
|
chrFilter, chrUSrc, chrVSrc, chrFilterSize,
|
||||||
alpSrc, dest, dstW, dstY);
|
alpSrc, dest, dstW, dstY);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static void RENAME(sws_init_swScale)(SwsContext *c)
|
static void RENAME(sws_init_swScale)(SwsContext *c)
|
||||||
{
|
{
|
||||||
|
@ -1186,14 +1186,11 @@ static inline void monoblack2Y(uint8_t *dst, const uint8_t *src, int width, uint
|
|||||||
//Plain C versions
|
//Plain C versions
|
||||||
|
|
||||||
#define COMPILE_TEMPLATE_MMX2 0
|
#define COMPILE_TEMPLATE_MMX2 0
|
||||||
#define COMPILE_TEMPLATE_ALTIVEC 0
|
|
||||||
|
|
||||||
#include "swscale_template.c"
|
#include "swscale_template.c"
|
||||||
|
|
||||||
#if HAVE_ALTIVEC
|
#if HAVE_ALTIVEC
|
||||||
#undef RENAME
|
#undef RENAME
|
||||||
#undef COMPILE_TEMPLATE_ALTIVEC
|
|
||||||
#define COMPILE_TEMPLATE_ALTIVEC 1
|
|
||||||
#define RENAME(a) a ## _altivec
|
#define RENAME(a) a ## _altivec
|
||||||
#include "ppc/swscale_template.c"
|
#include "ppc/swscale_template.c"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user