swscale/output: VSX-optimize nbps yuv2plane1
authorLauri Kasanen <cand@gmx.com>
Tue, 27 Nov 2018 13:26:00 +0000 (15:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Dec 2018 00:56:57 +0000 (01:56 +0100)
commit1046cba24be41c624489f40513aeaba7e52ca9ff
treee4fcaba567800be3c0a8cc7ca19364f504528758
parent11817c3316d93b64cc92b992cb375f92c3380025
swscale/output: VSX-optimize nbps yuv2plane1

./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt yuv420p9le \
-f null -vframes 100 -v error -nostats -

Speedups:
yuv2plane1_9BE_vsx 11.2042
yuv2plane1_9LE_vsx 11.156
yuv2plane1_10BE_vsx 9.89428
yuv2plane1_10LE_vsx 10.3637
yuv2plane1_12BE_vsx 9.71923
yuv2plane1_12LE_vsx 11.0404
yuv2plane1_14BE_vsx 10.1763
yuv2plane1_14LE_vsx 11.2728

Fate passes, each format tested with an image to video conversion.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/ppc/swscale_vsx.c