Revision 74a841af

View differences:

libavcodec/dct-test.c
186 186
    }
187 187
}
188 188

  
189
static DCTELEM block[64] __attribute__ ((aligned (16)));
190
static DCTELEM block1[64] __attribute__ ((aligned (8)));
191
static DCTELEM block_org[64] __attribute__ ((aligned (8)));
189
DECLARE_ALIGNED(16, static DCTELEM, block[64]);
190
DECLARE_ALIGNED(8, static DCTELEM, block1[64]);
191
DECLARE_ALIGNED(8, static DCTELEM, block_org[64]);
192 192

  
193 193
static inline void mmx_emms(void)
194 194
{
......
384 384
#endif
385 385
}
386 386

  
387
static uint8_t img_dest[64] __attribute__ ((aligned (8)));
388
static uint8_t img_dest1[64] __attribute__ ((aligned (8)));
387
DECLARE_ALIGNED(8, static uint8_t, img_dest[64]);
388
DECLARE_ALIGNED(8, static uint8_t, img_dest1[64]);
389 389

  
390 390
static void idct248_ref(uint8_t *dest, int linesize, int16_t *block)
391 391
{
libavcodec/x86/fft_sse.c
22 22
#include "libavutil/x86_cpu.h"
23 23
#include "libavcodec/dsputil.h"
24 24

  
25
static const int m1m1m1m1[4] __attribute__((aligned(16))) =
25
DECLARE_ALIGNED(16, static const int, m1m1m1m1[4]) =
26 26
    { 1 << 31, 1 << 31, 1 << 31, 1 << 31 };
27 27

  
28 28
void ff_fft_dispatch_sse(FFTComplex *z, int nbits);
libavcodec/x86/h264dsp_mmx.c
157 157
static void ff_h264_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride)
158 158
{
159 159
    int i;
160
    int16_t __attribute__ ((aligned(8))) b2[64];
160
    DECLARE_ALIGNED_8(int16_t, b2[64]);
161 161

  
162 162
    block[0] += 32;
163 163

  

Also available in: Unified diff