ffmpeg/libswscale/ppc
Lauri Kasanen 8607e29fa3 swscale/ppc: VSX-optimize yuv2rgb_full_X
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 \
                -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \
                -cpuflags 0 -v error -

32-bit mul, power8 only.

~6.4x speedup:

rgb24
 214278 UNITS in yuv2packedX,   16384 runs,      0 skips
  33249 UNITS in yuv2packedX,   16384 runs,      0 skips
bgr24
 214616 UNITS in yuv2packedX,   16384 runs,      0 skips
  33233 UNITS in yuv2packedX,   16384 runs,      0 skips
rgba
 214517 UNITS in yuv2packedX,   16384 runs,      0 skips
  33271 UNITS in yuv2packedX,   16384 runs,      0 skips
bgra
 214973 UNITS in yuv2packedX,   16384 runs,      0 skips
  33397 UNITS in yuv2packedX,   16384 runs,      0 skips
argb
 214613 UNITS in yuv2packedX,   16384 runs,      0 skips
  33310 UNITS in yuv2packedX,   16384 runs,      0 skips
bgra
 214637 UNITS in yuv2packedX,   16384 runs,      0 skips
  33330 UNITS in yuv2packedX,   16384 runs,      0 skips
2019-04-07 09:20:34 +03:00
..
Makefile swscale/ppc: Move VSX-using code to its own file 2018-12-04 02:59:07 +01:00
swscale_altivec.c swscale/ppc: Clean up some mixed decl warnings 2019-03-20 10:21:53 +02:00
swscale_ppc_template.c swscale/ppc: Add av_unused to template vars only used in one includer 2019-03-20 10:21:55 +02:00
swscale_vsx.c swscale/ppc: VSX-optimize yuv2rgb_full_X 2019-04-07 09:20:34 +03:00
yuv2rgb_altivec.c
yuv2rgb_altivec.h
yuv2yuv_altivec.c