• Philip Langdale's avatar
    swscale: Add support for NV24 and NV42 · cd483180
    Philip Langdale authored
    The implementation is pretty straight-forward. Most of the existing
    NV12 codepaths work regardless of subsampling and are re-used as is.
    Where necessary I wrote the slightly different NV24 versions.
    
    Finally, the one thing that confused me for a long time was the
    asm specific x86 path that did an explicit exclusion check for NV12.
    I replaced that with a semi-planar check and also updated the
    equivalent PPC code, which Lauri kindly checked.
    cd483180
swscale_template.c 71.7 KB