Revision 12794f73 libswscale/swscale_template.c

View differences:

libswscale/swscale_template.c
1136 1136
#if HAVE_ALTIVEC
1137 1137
    /* The following list of supported dstFormat values should
1138 1138
       match what's found in the body of altivec_yuv2packedX() */
1139
    if (c->dstFormat==PIX_FMT_ABGR  || c->dstFormat==PIX_FMT_BGRA  ||
1139
    if (!(c->flags & SWS_BITEXACT) &&
1140
       (c->dstFormat==PIX_FMT_ABGR  || c->dstFormat==PIX_FMT_BGRA  ||
1140 1141
        c->dstFormat==PIX_FMT_BGR24 || c->dstFormat==PIX_FMT_RGB24 ||
1141
        c->dstFormat==PIX_FMT_RGBA  || c->dstFormat==PIX_FMT_ARGB)
1142
        c->dstFormat==PIX_FMT_RGBA  || c->dstFormat==PIX_FMT_ARGB))
1142 1143
            altivec_yuv2packedX (c, lumFilter, lumSrc, lumFilterSize,
1143 1144
                                 chrFilter, chrSrc, chrFilterSize,
1144 1145
                                 dest, dstW, dstY);

Also available in: Unified diff