comparison dca.c @ 10961:34a65026fa06 libavcodec

Move array specifiers outside DECLARE_ALIGNED() invocations
author mru
date Fri, 22 Jan 2010 03:25:11 +0000
parents fedf07e14bee
children 3ef04d1190f0
comparison
equal deleted inserted replaced
10960:10759fd39860 10961:34a65026fa06
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