sws: add dither enum
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Aug 2013 15:19:32 +0000 (17:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Aug 2013 19:39:32 +0000 (21:39 +0200)
commit1e0e193240a8e47a980ac76b8b5af831b17b7928
tree94c567820d1581aacfad6d01f1ba79d28a1df195
parent60e9b8556ab33af8087968b1de15867ede7c5685
sws: add dither enum

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: Michael Niedermayer <michaelni@gmx.at>
doc/APIchanges
libswscale/options.c
libswscale/output.c
libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/swscale_unscaled.c
libswscale/utils.c
libswscale/version.h