diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-10 19:52:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-10 19:54:41 +0200 |
commit | db2eadb2f57ad5a580c9ad5b2d288c4f6a2eeecb (patch) | |
tree | 1f2a13cd4aa60f6c16490efd2731681f2cad98c2 /libswresample/swresample.h | |
parent | 5c1f312888fc0094e4755c10c9700af87c9c3a40 (diff) | |
download | ffmpeg-db2eadb2f57ad5a580c9ad5b2d288c4f6a2eeecb.tar.gz |
swr: add dither support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.h')
-rw-r--r-- | libswresample/swresample.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libswresample/swresample.h b/libswresample/swresample.h index f912bac042..1f87617d9d 100644 --- a/libswresample/swresample.h +++ b/libswresample/swresample.h @@ -30,7 +30,7 @@ #include "libavutil/samplefmt.h" #define LIBSWRESAMPLE_VERSION_MAJOR 0 -#define LIBSWRESAMPLE_VERSION_MINOR 10 +#define LIBSWRESAMPLE_VERSION_MINOR 11 #define LIBSWRESAMPLE_VERSION_MICRO 100 #define LIBSWRESAMPLE_VERSION_INT AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \ @@ -45,6 +45,11 @@ //TODO use int resample ? //long term TODO can we enable this dynamically? +enum SwrDitherType { + SWR_DITHER_NONE = 0, + SWR_DITHER_RECTANGULAR, + SWR_DITHER_NB, ///< not part of API/ABI +}; typedef struct SwrContext SwrContext; |