Mercurial > libavcodec.hg
comparison dca.c @ 11369:98970e51365a libavcodec
Remove DECLARE_ALIGNED_{8,16} macros
These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.
author | mru |
---|---|
date | Sat, 06 Mar 2010 14:24:59 +0000 |
parents | 3ef04d1190f0 |
children | 4b3da727d832 |
comparison
equal
deleted
inserted
replaced
11368:3d4f64b8fb10 | 11369:98970e51365a |
---|---|
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]; |
231 DECLARE_ALIGNED_16(float, subband_fir_hist)[DCA_PRIM_CHANNELS_MAX][512]; | 231 DECLARE_ALIGNED(16, float, subband_fir_hist)[DCA_PRIM_CHANNELS_MAX][512]; |
232 float subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]; | 232 float subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]; |
233 int hist_index[DCA_PRIM_CHANNELS_MAX]; | 233 int hist_index[DCA_PRIM_CHANNELS_MAX]; |
234 DECLARE_ALIGNED_16(float, raXin)[32]; | 234 DECLARE_ALIGNED(16, float, raXin)[32]; |
235 | 235 |
236 int output; ///< type of output | 236 int output; ///< type of output |
237 float add_bias; ///< output bias | 237 float add_bias; ///< output bias |
238 float scale_bias; ///< output scale | 238 float scale_bias; ///< output scale |
239 | 239 |
240 DECLARE_ALIGNED_16(float, samples)[1536]; /* 6 * 256 = 1536, might only need 5 */ | 240 DECLARE_ALIGNED(16, float, samples)[1536]; /* 6 * 256 = 1536, might only need 5 */ |
241 const float *samples_chanptr[6]; | 241 const float *samples_chanptr[6]; |
242 | 242 |
243 uint8_t dca_buffer[DCA_MAX_FRAME_SIZE]; | 243 uint8_t dca_buffer[DCA_MAX_FRAME_SIZE]; |
244 int dca_buffer_size; ///< how much data is in the dca_buffer | 244 int dca_buffer_size; ///< how much data is in the dca_buffer |
245 | 245 |