summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-20 22:37:59 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-10 17:07:12 +0200
commit9b83919f44eb1c87dc9431112944f0cccf6a599f (patch)
treed5dc047b684367ed16ec2124467bc4fc315dec04 /libavcodec/ac3dec.h
parenta67c061e0f3b55ffcc96f336fc0998e44b86c8e4 (diff)
ac3dec: add a drc_scale private option
Deprecate corresponding AVCodecContext option. This is the first test of decoder private options.
Diffstat (limited to 'libavcodec/ac3dec.h')
-rw-r--r--libavcodec/ac3dec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h
index aed87432f5..a7cebafbe9 100644
--- a/libavcodec/ac3dec.h
+++ b/libavcodec/ac3dec.h
@@ -63,6 +63,7 @@
#define SPX_MAX_BANDS 17
typedef struct {
+ AVClass *class; ///< class for AVOptions
AVCodecContext *avctx; ///< parent context
GetBitContext gbc; ///< bitstream reader
uint8_t *input_buffer; ///< temp buffer to prevent overread
@@ -141,6 +142,7 @@ typedef struct {
///@name Dynamic range
float dynamic_range[2]; ///< dynamic range
+ float drc_scale; ///< percentage of dynamic range compression to be applied
///@}
///@name Bandwidth