swscale/output: VSX-optimize 16-bit yuv2plane1
authorLauri Kasanen <cand@gmx.com>
Thu, 13 Dec 2018 12:07:58 +0000 (14:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 14 Dec 2018 18:09:11 +0000 (19:09 +0100)
commitb4c8c03b004077c0160c9898e8e5b7acc3bea630
tree026274f5bcd711c191cc463d17ef4f007a927c52
parent5282db5929f25ca9566a47ad217794842b364afc
swscale/output: VSX-optimize 16-bit yuv2plane1

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

2120 UNITS in planar1,   65393 runs,    143 skips

-cpuflags 0

19157 UNITS in planar1,   65512 runs,     24 skips

9.03632 speedup, 16be similarly.

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

Signed-off-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/ppc/swscale_vsx.c