Revision 68b51e58 libavcodec/wmadec.c

View differences:

libavcodec/wmadec.c
102 102
    int block_pos; /* current position in frame */
103 103
    uint8_t ms_stereo; /* true if mid/side stereo mode */
104 104
    uint8_t channel_coded[MAX_CHANNELS]; /* true if channel is coded */
105
    float exponents[MAX_CHANNELS][BLOCK_MAX_SIZE] __attribute__((aligned(16)));
105
    DECLARE_ALIGNED_16(float, exponents[MAX_CHANNELS][BLOCK_MAX_SIZE]);
106 106
    float max_exponent[MAX_CHANNELS];
107 107
    int16_t coefs1[MAX_CHANNELS][BLOCK_MAX_SIZE];
108
    float coefs[MAX_CHANNELS][BLOCK_MAX_SIZE] __attribute__((aligned(16)));
108
    DECLARE_ALIGNED_16(float, coefs[MAX_CHANNELS][BLOCK_MAX_SIZE]);
109 109
    MDCTContext mdct_ctx[BLOCK_NB_SIZES];
110 110
    float *windows[BLOCK_NB_SIZES];
111
    FFTSample mdct_tmp[BLOCK_MAX_SIZE] __attribute__((aligned(16))); /* temporary storage for imdct */
111
    DECLARE_ALIGNED_16(FFTSample, mdct_tmp[BLOCK_MAX_SIZE]); /* temporary storage for imdct */
112 112
    /* output buffer for one frame and the last for IMDCT windowing */
113
    float frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE * 2] __attribute__((aligned(16)));
113
    DECLARE_ALIGNED_16(float, frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE * 2]);
114 114
    /* last frame info */
115 115
    uint8_t last_superframe[MAX_CODED_SUPERFRAME_SIZE + 4]; /* padding added */
116 116
    int last_bitoffset;
......
1097 1097

  
1098 1098
    for(ch = 0; ch < s->nb_channels; ch++) {
1099 1099
        if (s->channel_coded[ch]) {
1100
            FFTSample output[BLOCK_MAX_SIZE * 2] __attribute__((aligned(16)));
1100
            DECLARE_ALIGNED_16(FFTSample, output[BLOCK_MAX_SIZE * 2]);
1101 1101
            float *ptr;
1102 1102
            int i, n4, index, n;
1103 1103

  

Also available in: Unified diff