aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/swresample_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-11 13:26:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-11 13:26:32 +0200
commit1fc4ff2205cdad4fbb7225f0f32cb7e32edc1eec (patch)
tree418162cfc8a4a8ab81f598edc90c1a5339a8d50f /libswresample/swresample_internal.h
parent22057e8ecb6bc18ad60a7d0ac7f11f9c0635c1e5 (diff)
downloadffmpeg-1fc4ff2205cdad4fbb7225f0f32cb7e32edc1eec.tar.gz
swr: generate more dither noise to improve quality.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r--libswresample/swresample_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index 114ca83c24..68b51305bc 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -50,6 +50,7 @@ struct SwrContext {
const int *channel_map; ///< channel index (or -1 if muted channel) map
int used_ch_count; ///< number of used input channels (mapped channel count if channel_map, otherwise in.ch_count)
enum SwrDitherType dither_method;
+ int dither_pos;
int int_bps; ///< internal bytes per sample
int resample_first; ///< 1 if resampling must come first, 0 if rematrixing