Mercurial > libavcodec.hg
comparison dca.c @ 11898:771f6e96ea43 libavcodec
Fix typo in macro name.
Patch by Nick Brereton, nick nbrereton net
author | cehoyos |
---|---|
date | Sun, 20 Jun 2010 22:07:32 +0000 |
parents | 7dd2a45249a9 |
children | 9b1095b2616a |
comparison
equal
deleted
inserted
replaced
11897:697ab0e6d756 | 11898:771f6e96ea43 |
---|---|
42 //#define TRACE | 42 //#define TRACE |
43 | 43 |
44 #define DCA_PRIM_CHANNELS_MAX (5) | 44 #define DCA_PRIM_CHANNELS_MAX (5) |
45 #define DCA_SUBBANDS (32) | 45 #define DCA_SUBBANDS (32) |
46 #define DCA_ABITS_MAX (32) /* Should be 28 */ | 46 #define DCA_ABITS_MAX (32) /* Should be 28 */ |
47 #define DCA_SUBSUBFAMES_MAX (4) | 47 #define DCA_SUBSUBFRAMES_MAX (4) |
48 #define DCA_LFE_MAX (3) | 48 #define DCA_LFE_MAX (3) |
49 | 49 |
50 enum DCAMode { | 50 enum DCAMode { |
51 DCA_MONO = 0, | 51 DCA_MONO = 0, |
52 DCA_CHANNEL, | 52 DCA_CHANNEL, |
220 int downmix_coef[DCA_PRIM_CHANNELS_MAX][2]; ///< stereo downmix coefficients | 220 int downmix_coef[DCA_PRIM_CHANNELS_MAX][2]; ///< stereo downmix coefficients |
221 int dynrange_coef; ///< dynamic range coefficient | 221 int dynrange_coef; ///< dynamic range coefficient |
222 | 222 |
223 int high_freq_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]; ///< VQ encoded high frequency subbands | 223 int high_freq_vq[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS]; ///< VQ encoded high frequency subbands |
224 | 224 |
225 float lfe_data[2 * DCA_SUBSUBFAMES_MAX * DCA_LFE_MAX * | 225 float lfe_data[2 * DCA_SUBSUBFRAMES_MAX * DCA_LFE_MAX * |
226 2 /*history */ ]; ///< Low frequency effect data | 226 2 /*history */ ]; ///< Low frequency effect data |
227 int lfe_scale_factor; | 227 int lfe_scale_factor; |
228 | 228 |
229 /* Subband samples history (for ADPCM) */ | 229 /* Subband samples history (for ADPCM) */ |
230 float subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]; | 230 float subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]; |