• Michael Niedermayer's avatar
    sws: add dither enum · 1e0e1932
    Michael Niedermayer authored
    This allows specifying more dither algorithms without using up flags and
    without ambiguities.
    
    Also initialize the new field based on the flags and use it.
    Note, improving the logic of the checks is left to subsequent
    commits, this here only switches from flags to enum.
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    1e0e1932
swscale_internal.h 37.7 KB