• Stefano Sabatini's avatar
    imgconvert: remove PixFmtInfo.pixel_type field · d7e14c0d
    Stefano Sabatini authored
    The field is only used for checking if a format is YUV planar
    and if the format is paletted.
    
    This patch replaces the current is_planar_yuv() code with a function
    which uses the pixdesc information. The new implementation is less
    efficient, but this should not be an issue as the functions which use
    it (av_picture_crop/pad()) are deprecated and currently never used in
    the codebase.
    d7e14c0d
imgconvert.c 26.8 KB