comparison 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
comparison
equal deleted inserted replaced
6046:a5f184563b8c 6047:2f9c17454842
2152 * Decoder should decode to this many channels if it can (0 for default) 2152 * Decoder should decode to this many channels if it can (0 for default)
2153 * - encoding: unused 2153 * - encoding: unused
2154 * - decoding: Set by user. 2154 * - decoding: Set by user.
2155 */ 2155 */
2156 int request_channels; 2156 int request_channels;
2157
2158 /**
2159 * Percentage of dynamic range compression to be applied by the decoder.
2160 * The default value is 1.0, corresponding to full compression.
2161 * - encoding: unused
2162 * - decoding: Set by user.
2163 */
2164 float drc_scale;
2157 } AVCodecContext; 2165 } AVCodecContext;
2158 2166
2159 /** 2167 /**
2160 * AVCodec. 2168 * AVCodec.
2161 */ 2169 */