diff options
author | Lauri Kasanen <cand@gmx.com> | 2019-03-20 13:17:43 +0200 |
---|---|---|
committer | Lauri Kasanen <cand@gmx.com> | 2019-03-27 09:05:08 +0200 |
commit | 681957b88d18f51d0f52add4f7bb1c9fc5d8323b (patch) | |
tree | 0fc81a9cee658eb654280c8a206ecf1b2e30c560 /libavformat | |
parent | 81a4719d8eaffd2e0251777cd121ecb54b239784 (diff) | |
download | ffmpeg-681957b88d18f51d0f52add4f7bb1c9fc5d8323b.tar.gz |
swscale/ppc: VSX-optimize yuv2rgb_full
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 \
-s 1200x1440 -f null -vframes 100 -pix_fmt $i -nostats \
-cpuflags 0 -v error -
This uses 32-bit mul, so POWER8 only.
The following output formats get about 4.5x speedup:
rgb24
39980 UNITS in yuv2packed1, 32768 runs, 0 skips
8774 UNITS in yuv2packed1, 32768 runs, 0 skips
bgr24
40069 UNITS in yuv2packed1, 32768 runs, 0 skips
8772 UNITS in yuv2packed1, 32766 runs, 2 skips
rgba
39759 UNITS in yuv2packed1, 32768 runs, 0 skips
8681 UNITS in yuv2packed1, 32767 runs, 1 skips
bgra
39729 UNITS in yuv2packed1, 32768 runs, 0 skips
8696 UNITS in yuv2packed1, 32766 runs, 2 skips
argb
39766 UNITS in yuv2packed1, 32768 runs, 0 skips
8672 UNITS in yuv2packed1, 32766 runs, 2 skips
bgra
39784 UNITS in yuv2packed1, 32768 runs, 0 skips
8659 UNITS in yuv2packed1, 32767 runs, 1 skips
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions