Revision 68b51e58 libavcodec/i386/dsputil_mmx.c

View differences:

libavcodec/i386/dsputil_mmx.c
303 303
            :"memory");
304 304
}
305 305

  
306
static const unsigned char __align8 vector128[8] =
306
static DECLARE_ALIGNED_8(const unsigned char, vector128[8]) =
307 307
  { 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 };
308 308

  
309 309
void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size)
......
1546 1546
        "movq "#d", "#o"+48(%1)       \n\t"\
1547 1547

  
1548 1548
static int hadamard8_diff_mmx(void *s, uint8_t *src1, uint8_t *src2, int stride, int h){
1549
    uint64_t temp[16] __align8;
1549
    DECLARE_ALIGNED_8(uint64_t, temp[16]);
1550 1550
    int sum=0;
1551 1551

  
1552 1552
    assert(h==8);
......
1633 1633
}
1634 1634

  
1635 1635
static int hadamard8_diff_mmx2(void *s, uint8_t *src1, uint8_t *src2, int stride, int h){
1636
    uint64_t temp[16] __align8;
1636
    DECLARE_ALIGNED_8(uint64_t, temp[16]);
1637 1637
    int sum=0;
1638 1638

  
1639 1639
    assert(h==8);

Also available in: Unified diff