ffmpeg/libswscale/ppc
Lauri Kasanen 8dd9df9ecd swscale/output: Altivec-optimize float yuv2plane1
This function wouldn't benefit from VSX instructions, so I put it
under altivec.

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

3743 UNITS in planar1,   65495 runs,     41 skips

-cpuflags 0

23511 UNITS in planar1,   65530 runs,      6 skips

grayf32be

4647 UNITS in planar1,   65449 runs,     87 skips

-cpuflags 0

28608 UNITS in planar1,   65530 runs,      6 skips

The native speedup is 6.28133, and the bswapping one 6.15623.
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>
2018-12-26 20:28:58 +01:00
..
Makefile swscale/ppc: Move VSX-using code to its own file 2018-12-04 02:59:07 +01:00
swscale_altivec.c swscale/output: Altivec-optimize float yuv2plane1 2018-12-26 20:28:58 +01:00
swscale_ppc_template.c swscale/ppc: Move VSX-using code to its own file 2018-12-04 02:59:07 +01:00
swscale_vsx.c swscale/output: VSX-optimize 16-bit yuv2plane1 2018-12-14 19:09:11 +01:00
yuv2rgb_altivec.c
yuv2rgb_altivec.h
yuv2yuv_altivec.c