# HG changeset patch # User mru # Date 1270916867 0 # Node ID 59a801bfc636cc1977042a0c43a20c21f00bb7f7 # Parent feb045e189bf689d18fed0f3dc6916ccdaf52cca DCA: align some arrays Optimised implementations of the synth filter will require these arrays 16-byte aligned. diff -r feb045e189bf -r 59a801bfc636 dca.c --- a/dca.c Thu Apr 08 06:27:39 2010 +0000 +++ b/dca.c Sat Apr 10 16:27:47 2010 +0000 @@ -230,7 +230,7 @@ /* Subband samples history (for ADPCM) */ float subband_samples_hist[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][4]; DECLARE_ALIGNED(16, float, subband_fir_hist)[DCA_PRIM_CHANNELS_MAX][512]; - float subband_fir_noidea[DCA_PRIM_CHANNELS_MAX][32]; + DECLARE_ALIGNED(16, float, subband_fir_noidea)[DCA_PRIM_CHANNELS_MAX][32]; int hist_index[DCA_PRIM_CHANNELS_MAX]; DECLARE_ALIGNED(16, float, raXin)[32]; diff -r feb045e189bf -r 59a801bfc636 dcadata.h --- a/dcadata.h Thu Apr 08 06:27:39 2010 +0000 +++ b/dcadata.h Sat Apr 10 16:27:47 2010 +0000 @@ -6282,7 +6282,7 @@ /* FIR filter coefficients, they can be cut on half and maybe use float instead of double*/ -static const float fir_32bands_perfect[] = +DECLARE_ALIGNED(16, static const float, fir_32bands_perfect)[] = { +1.135985195E-010, +7.018770981E-011, @@ -6798,7 +6798,7 @@ -1.135985195E-010 }; -static const float fir_32bands_nonperfect[] = +DECLARE_ALIGNED(16, static const float, fir_32bands_nonperfect)[] = { -1.390191784E-007, -1.693738625E-007,