diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-09-27 18:13:37 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-09-27 18:48:30 +0200 |
commit | 2b5b1e1e9b89063d352e2efed014f9d761b85032 (patch) | |
tree | 05ae95e7dbb8048c4ddedb50cd7941dcaa5e2d34 /libswscale/ppc | |
parent | e87a501e7d03ac68b58520108fe24ad9d0b36765 (diff) |
swscale: Rename is9_OR_10 to match what it does
It is used to select functions that work with 9-15bits.
Diffstat (limited to 'libswscale/ppc')
-rw-r--r-- | libswscale/ppc/swscale_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c index 004b385af2..9e3ddf359d 100644 --- a/libswscale/ppc/swscale_altivec.c +++ b/libswscale/ppc/swscale_altivec.c @@ -298,7 +298,7 @@ av_cold void ff_sws_init_swscale_ppc(SwsContext *c) if (c->srcBpc == 8 && c->dstBpc <= 10) { c->hyScale = c->hcScale = hScale_altivec_real; } - if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat) && + if (!is16BPS(dstFormat) && !is9_15BPS(dstFormat) && dstFormat != AV_PIX_FMT_NV12 && dstFormat != AV_PIX_FMT_NV21 && !c->alpPixBuf) { c->yuv2planeX = yuv2planeX_altivec; |