]> git.sesse.net Git - ffmpeg/commit
swscale/ppc: VSX-optimize hscale_fast
authorLauri Kasanen <cand@gmx.com>
Tue, 23 Apr 2019 11:54:46 +0000 (14:54 +0300)
committerLauri Kasanen <cand@gmx.com>
Tue, 30 Apr 2019 11:41:28 +0000 (14:41 +0300)
commitd0e4d0429ed2841283e31d5f2cb6b1c56210382c
treeea887d1884a3611310cb82f65acf504435373b90
parent2d81acaa1adf2280d74d280491f05f0baa4a31d9
swscale/ppc: VSX-optimize hscale_fast

./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 -sws_flags fast_bilinear \
        -s 2400x720 -f rawvideo -vframes 5 -pix_fmt abgr -nostats test.raw

4.27 speedup for hyscale_fast:
  24796 UNITS in hyscale_fast,    4096 runs,      0 skips
   5797 UNITS in hyscale_fast,    4096 runs,      0 skips

4.48 speedup for hcscale_fast:
  19911 UNITS in hcscale_fast,    4095 runs,      1 skips
   4437 UNITS in hcscale_fast,    4096 runs,      0 skips
libswscale/ppc/swscale_vsx.c