H A D | sad_inline.h | 42 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) argument 46 x7 = src2 ^ src1; /* check odd/even combination */ 47 if ((uint32)src2 >= (uint32)src1) 49 src1 = src2 - src1; /* subs */ 53 src1 = src1 - src2; 55 x7 = x7 ^ src1; /* only odd bytes need to add carry */ 58 src1 = src1 189 sad_4pixel(int32 src1, int32 src2, int32 mask) argument 195 EOR x7, src2, src1; /* check odd/even combination */ local 196 SUBS src1, src2, src1; local 197 EOR x7, x7, src1; local 201 ADD src1, src1, x7, asr #7; /* add 0xFF to the negative byte, add back carry */ local 202 EOR src1, src1, x7, asr #7; /* take absolute value of negative byte */ local 208 sad_4pixelN(int32 src1, int32 src2, int32 mask) argument 214 EOR x7, src2, src1; /* check odd/even combination */ local 215 ADDS src1, src2, src1; local 216 EOR x7, x7, src1; /* only odd bytes need to add carry */ local 219 SUB src1, src1, x7, asr #7; /* add 0xFF to the negative byte, add back carry */ local 220 EOR src1, src1, x7, asr #7; /* take absolute value of negative byte */ local 365 sad_4pixel(int32 src1, int32 src2, int32 mask) argument 390 sad_4pixelN(int32 src1, int32 src2, int32 mask) argument [all...] |