• Reimar Döffinger's avatar
    Optimize pure C unscaled yuv2rgb. · 4fab08c9
    Reimar Döffinger authored
    Aligning the tables reduces the amount of code generated on
    e.g. ARM as the offset constant then has few enough set bits
    so it can be encoded inside a single instruction instead of 2.
    Ideally all should be declared aligned, but the DECLARE_ALIGNED
    macros does not work with pointer tables, thus also reordered
    the tables.
    Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
    4fab08c9
swscale_internal.h 38.1 KB