Mercurial > libavcodec.hg
diff avcodec.h @ 6047:2f9c17454842 libavcodec
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.
author | jbr |
---|---|
date | Thu, 20 Dec 2007 00:55:08 +0000 |
parents | 96cc12fb8040 |
children | 0277500fe13d |
line wrap: on
line diff
--- a/avcodec.h Wed Dec 19 23:03:52 2007 +0000 +++ b/avcodec.h Thu Dec 20 00:55:08 2007 +0000 @@ -2154,6 +2154,14 @@ * - 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; /**