summaryrefslogtreecommitdiff
path: root/libswresample/swresample_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-10 00:25:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-10 00:25:09 +0100
commitead3a2a37e67de617cad33b7e9bdb8ade6ed220f (patch)
tree2dd95712df07b85c581461eb5d6ac4fef2f269a5 /libswresample/swresample_internal.h
parent6908ded20e8040a48f6e281e665aabd6b1066a9e (diff)
downloadffmpeg-ead3a2a37e67de617cad33b7e9bdb8ade6ed220f.tar.gz
swr: add noise_scale field to seperate it from the noise shaping scales
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 5236098a40..8423c3a767 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -54,6 +54,7 @@ struct DitherContext {
enum SwrDitherType method;
int dither_pos;
float scale;
+ float noise_scale; ///< Noise scale
int ns_taps; ///< Noise shaping dither taps
float ns_scale; ///< Noise shaping dither scale
float ns_scale_1; ///< Noise shaping dither scale^-1