summaryrefslogtreecommitdiffstats
path: root/libswscale/ppc
diff options
context:
space:
mode:
authorSergey Lavrushkin <dualfal@gmail.com>2018-08-03 18:06:50 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2018-08-14 18:22:39 +0200
commit582bc5a348f5cd12b6ad3be4ecbee71bc082ea32 (patch)
tree8d53324a7a2b107bf4541740c07a6fcc4640f3b1 /libswscale/ppc
parent551a029a181abe2b7b6f16e9631423a12e9fcae9 (diff)
downloadffmpeg-streaming-582bc5a348f5cd12b6ad3be4ecbee71bc082ea32.zip
ffmpeg-streaming-582bc5a348f5cd12b6ad3be4ecbee71bc082ea32.tar.gz
libswscale: Adds conversions from/to float gray format.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/ppc')
-rw-r--r--libswscale/ppc/swscale_altivec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c
index 9438a63..2fb2337 100644
--- a/libswscale/ppc/swscale_altivec.c
+++ b/libswscale/ppc/swscale_altivec.c
@@ -339,6 +339,7 @@ av_cold void ff_sws_init_swscale_ppc(SwsContext *c)
}
if (!is16BPS(dstFormat) && !isNBPS(dstFormat) &&
dstFormat != AV_PIX_FMT_NV12 && dstFormat != AV_PIX_FMT_NV21 &&
+ dstFormat != AV_PIX_FMT_GRAYF32BE && dstFormat != AV_PIX_FMT_GRAYF32LE &&
!c->needAlpha) {
c->yuv2planeX = yuv2planeX_altivec;
}
OpenPOWER on IntegriCloud