• Lauri Kasanen's avatar
    swscale/output: Altivec-optimize float yuv2plane1 · 8dd9df9e
    Lauri Kasanen authored
    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: 's avatarLauri Kasanen <cand@gmx.com>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    8dd9df9e
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...