• Philip Langdale's avatar
    avutil: Add NV24 and NV42 pixel formats · 5de4f1d8
    Philip Langdale authored
    These are the 4:4:4 variants of the semi-planar NV12/NV21 formats.
    
    These formats are not used much, so we've never had a reason to add
    them until now. VDPAU recently added support HEVC 4:4:4 content
    and when you use the OpenGL interop, the returned surfaces are in
    NV24 format, so we need the pixel format for media players, even
    if there's no direct use within ffmpeg.
    
    Separately, there are apparently webcams that use NV24, but I've
    never seen one.
    5de4f1d8
pixfmt_best.c 5.6 KB