summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2007-12-20 00:55:08 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2007-12-20 00:55:08 +0000
commit1408352ada60d5a174b48d547114bb086812fcdb (patch)
tree5fc703d20a2a6d9226684deec3fb2749ea570e5f /libavcodec/avcodec.h
parentcd31f8dc23649fc61658fadee302ce20f761303b (diff)
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.h8
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;
/**