Revision 74a841af libavcodec/dct-test.c

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
{

Also available in: Unified diff