|
|
@ -967,14 +967,19 @@ static inline void RENAME(yuv2packedX)(SwsContext *c, int16_t *lumFilter, int16_ |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
default: |
|
|
|
default: |
|
|
|
#ifdef HAVE_ALTIVEC |
|
|
|
#ifdef HAVE_ALTIVEC |
|
|
|
altivec_yuv2packedX (c, lumFilter, lumSrc, lumFilterSize, |
|
|
|
/* The following list of supported dstFormat values should
|
|
|
|
chrFilter, chrSrc, chrFilterSize, |
|
|
|
match what's found in the body of altivec_yuv2packedX() */ |
|
|
|
dest, dstW, dstY); |
|
|
|
if(c->dstFormat==IMGFMT_ABGR || c->dstFormat==IMGFMT_BGRA || |
|
|
|
#else |
|
|
|
c->dstFormat==IMGFMT_BGR24 || c->dstFormat==IMGFMT_RGB24 || |
|
|
|
yuv2packedXinC(c, lumFilter, lumSrc, lumFilterSize, |
|
|
|
c->dstFormat==IMGFMT_RGBA || c->dstFormat==IMGFMT_ARGB) |
|
|
|
chrFilter, chrSrc, chrFilterSize, |
|
|
|
altivec_yuv2packedX (c, lumFilter, lumSrc, lumFilterSize, |
|
|
|
dest, dstW, dstY); |
|
|
|
chrFilter, chrSrc, chrFilterSize, |
|
|
|
|
|
|
|
dest, dstW, dstY); |
|
|
|
|
|
|
|
else |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
yuv2packedXinC(c, lumFilter, lumSrc, lumFilterSize, |
|
|
|
|
|
|
|
chrFilter, chrSrc, chrFilterSize, |
|
|
|
|
|
|
|
dest, dstW, dstY); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|