comparison x86/dsputilenc_mmx.c @ 11369:98970e51365a libavcodec

Remove DECLARE_ALIGNED_{8,16} macros These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead.
author mru
date Sat, 06 Mar 2010 14:24:59 +0000
parents 34a65026fa06
children f5ccf2e590d6
comparison
equal deleted inserted replaced
11368:3d4f64b8fb10 11369:98970e51365a
1061 "paddusw "#t", "#a" \n\t"\ 1061 "paddusw "#t", "#a" \n\t"\
1062 "movd "#a", "#dst" \n\t"\ 1062 "movd "#a", "#dst" \n\t"\
1063 1063
1064 #define HADAMARD8_DIFF_MMX(cpu) \ 1064 #define HADAMARD8_DIFF_MMX(cpu) \
1065 static int hadamard8_diff_##cpu(void *s, uint8_t *src1, uint8_t *src2, int stride, int h){\ 1065 static int hadamard8_diff_##cpu(void *s, uint8_t *src1, uint8_t *src2, int stride, int h){\
1066 DECLARE_ALIGNED_8(uint64_t, temp)[13];\ 1066 DECLARE_ALIGNED(8, uint64_t, temp)[13];\
1067 int sum;\ 1067 int sum;\
1068 \ 1068 \
1069 assert(h==8);\ 1069 assert(h==8);\
1070 \ 1070 \
1071 DIFF_PIXELS_4x8(src1, src2, stride, temp[0]);\ 1071 DIFF_PIXELS_4x8(src1, src2, stride, temp[0]);\
1144 }\ 1144 }\
1145 WRAPPER8_16_SQ(hadamard8_diff_##cpu, hadamard8_diff16_##cpu) 1145 WRAPPER8_16_SQ(hadamard8_diff_##cpu, hadamard8_diff16_##cpu)
1146 1146
1147 #define HADAMARD8_DIFF_SSE2(cpu) \ 1147 #define HADAMARD8_DIFF_SSE2(cpu) \
1148 static int hadamard8_diff_##cpu(void *s, uint8_t *src1, uint8_t *src2, int stride, int h){\ 1148 static int hadamard8_diff_##cpu(void *s, uint8_t *src1, uint8_t *src2, int stride, int h){\
1149 DECLARE_ALIGNED_16(uint64_t, temp)[4];\ 1149 DECLARE_ALIGNED(16, uint64_t, temp)[4];\
1150 int sum;\ 1150 int sum;\
1151 \ 1151 \
1152 assert(h==8);\ 1152 assert(h==8);\
1153 \ 1153 \
1154 DIFF_PIXELS_8x8(src1, src2, stride, temp[0]);\ 1154 DIFF_PIXELS_8x8(src1, src2, stride, temp[0]);\