diff options
Diffstat (limited to 'postproc/yuv2rgb.c')
-rw-r--r-- | postproc/yuv2rgb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/postproc/yuv2rgb.c b/postproc/yuv2rgb.c index a8acec5f19..317ada954e 100644 --- a/postproc/yuv2rgb.c +++ b/postproc/yuv2rgb.c @@ -607,6 +607,14 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c) if(t) return t; } #endif +#ifdef HAVE_ALTIVEC + if (c->flags & SWS_CPU_CAPS_ALTIVEC) + { + SwsFunc t = yuv2rgb_init_altivec(c); + if(t) return t; + } +#endif + MSG_WARN("No accelerated colorspace conversion found\n"); switch(c->dstFormat){ |