diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-10-31 15:40:12 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-19 18:52:54 -0500 |
commit | b2fe6756e34d1316d0fa799e8a5ace993059c407 (patch) | |
tree | 0fc8dea25140a8af90cdfb96af5b5d8f97560ab7 /libavresample/avresample.h | |
parent | 582368626188c070d4300913c6da5efa4c24cfb2 (diff) | |
download | ffmpeg-b2fe6756e34d1316d0fa799e8a5ace993059c407.tar.gz |
lavr: add option for dithering during sample format conversion to s16
Diffstat (limited to 'libavresample/avresample.h')
-rw-r--r-- | libavresample/avresample.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavresample/avresample.h b/libavresample/avresample.h index 4841d262c0..34998aa0cc 100644 --- a/libavresample/avresample.h +++ b/libavresample/avresample.h @@ -119,6 +119,15 @@ enum AVResampleFilterType { AV_RESAMPLE_FILTER_TYPE_KAISER, /**< Kaiser Windowed Sinc */ }; +enum AVResampleDitherMethod { + AV_RESAMPLE_DITHER_NONE, /**< Do not use dithering */ + AV_RESAMPLE_DITHER_RECTANGULAR, /**< Rectangular Dither */ + AV_RESAMPLE_DITHER_TRIANGULAR, /**< Triangular Dither*/ + AV_RESAMPLE_DITHER_TRIANGULAR_HP, /**< Triangular Dither with High Pass */ + AV_RESAMPLE_DITHER_TRIANGULAR_NS, /**< Triangular Dither with Noise Shaping */ + AV_RESAMPLE_DITHER_NB, /**< Number of dither types. Not part of ABI. */ +}; + /** * Return the LIBAVRESAMPLE_VERSION_INT constant. */ |