• Reimar Döffinger's avatar
    Optimized unscaled yuvp9/yuvp10 -> yuvp16 conversion. · 118bd609
    Reimar Döffinger authored
    About 30% faster on 32 bit Atom, 120% faster on 64 bit Phenom2.
    This is interesting because supporting P16 is easier in e.g.
    OpenGL (can misuse support for any 2-component 8 bit format),
    whereas supporting p9/p10 without conversion needs a texture
    format with at least 14 bits actual precision.
    The shiftonly == 0 case is not optimized since the code is more
    complex and the speed gain less obvious.
    Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
    118bd609
Name
Last commit
Last update
..
bfin Loading commit data...
ppc Loading commit data...
sparc Loading commit data...
x86 Loading commit data...
Makefile Loading commit data...
colorspace-test.c Loading commit data...
input.c Loading commit data...
libswscale.v 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...
swscale-test.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...
utils.c Loading commit data...
version.h Loading commit data...
yuv2rgb.c Loading commit data...