diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-12-20 00:55:08 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-12-20 00:55:08 +0000 |
commit | 1408352ada60d5a174b48d547114bb086812fcdb (patch) | |
tree | 5fc703d20a2a6d9226684deec3fb2749ea570e5f /libavcodec/avcodec.h | |
parent | cd31f8dc23649fc61658fadee302ce20f761303b (diff) | |
download | ffmpeg-1408352ada60d5a174b48d547114bb086812fcdb.tar.gz |
Add option for user to scale the amount of dynamic range compression which is
applied by the audio decoder, and use that option in the AC3 decoder.
Originally committed as revision 11280 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 88d600c50f..a32f961403 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2154,6 +2154,14 @@ typedef struct AVCodecContext { * - decoding: Set by user. */ int request_channels; + + /** + * Percentage of dynamic range compression to be applied by the decoder. + * The default value is 1.0, corresponding to full compression. + * - encoding: unused + * - decoding: Set by user. + */ + float drc_scale; } AVCodecContext; /** |