comparison dca.c @ 11591:59a801bfc636 libavcodec

DCA: align some arrays Optimised implementations of the synth filter will require these arrays 16-byte aligned.
author mru
date Sat, 10 Apr 2010 16:27:47 +0000
parents 8a4984c5cacc
children 18f17f44de37
comparison
equal deleted inserted replaced
11590:feb045e189bf 11591:59a801bfc636
228 int lfe_scale_factor; 228 int lfe_scale_factor;
229 229
230 /* Subband samples history (for ADPCM) */ 230 /* Subband samples history (for ADPCM) */
231 float subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]; 231 float subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4];
232 DECLARE_ALIGNED(16, float, subband_fir_hist)[DCA_PRIM_CHANNELS_MAX][512]; 232 DECLARE_ALIGNED(16, float, subband_fir_hist)[DCA_PRIM_CHANNELS_MAX][512];
233 float subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]; 233 DECLARE_ALIGNED(16, float, subband_fir_noidea)[DCA_PRIM_CHANNELS_MAX][32];
234 int hist_index[DCA_PRIM_CHANNELS_MAX]; 234 int hist_index[DCA_PRIM_CHANNELS_MAX];
235 DECLARE_ALIGNED(16, float, raXin)[32]; 235 DECLARE_ALIGNED(16, float, raXin)[32];
236 236
237 int output; ///< type of output 237 int output; ///< type of output
238 float add_bias; ///< output bias 238 float add_bias; ///< output bias