comparison x86/h264dsp_mmx.c @ 9793:54456267c77c libavcodec

Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
author ramiro
date Thu, 04 Jun 2009 23:25:09 +0000
parents 96e6cab7470a
children afb9e56fbee9
comparison
equal deleted inserted replaced
9792:05ea4942df9b 9793:54456267c77c
155 } 155 }
156 156
157 static void ff_h264_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride) 157 static void ff_h264_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride)
158 { 158 {
159 int i; 159 int i;
160 int16_t __attribute__ ((aligned(8))) b2[64]; 160 DECLARE_ALIGNED_8(int16_t, b2[64]);
161 161
162 block[0] += 32; 162 block[0] += 32;
163 163
164 for(i=0; i<2; i++){ 164 for(i=0; i<2; i++){
165 DECLARE_ALIGNED_8(uint64_t, tmp); 165 DECLARE_ALIGNED_8(uint64_t, tmp);