• Lauri Kasanen's avatar
    swscale/ppc: VSX-optimize yuv2rgb_full_X · 8607e29f
    Lauri Kasanen authored
    ./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
    8607e29f
Name
Last commit
Last update
..
aarch64 Loading commit data...
arm Loading commit data...
ppc Loading commit data...
tests Loading commit data...
x86 Loading commit data...
Makefile Loading commit data...
alphablend.c Loading commit data...
bayer_template.c Loading commit data...
gamma.c Loading commit data...
hscale.c Loading commit data...
hscale_fast_bilinear.c Loading commit data...
input.c Loading commit data...
libswscale.v Loading commit data...
log2_tab.c Loading commit data...
options.c Loading commit data...
output.c Loading commit data...
rgb2rgb.c Loading commit data...
rgb2rgb.h Loading commit data...
rgb2rgb_template.c Loading commit data...
slice.c Loading commit data...
swscale.c Loading commit data...
swscale.h Loading commit data...
swscale_internal.h Loading commit data...
swscale_unscaled.c Loading commit data...
swscaleres.rc Loading commit data...
utils.c Loading commit data...
version.h Loading commit data...
vscale.c Loading commit data...
yuv2rgb.c Loading commit data...