Lines Matching defs:src1
42 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
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 + (x7 >> 7); /* add 0xFF to the negative byte, add back carry */
59 src1 = src1 ^(x7 >> 7); /* take absolute value of negative byte */
61 return src1;
189 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
195 EOR x7, src2, src1; /* check odd/even combination */
196 SUBS src1, src2, src1;
197 EOR x7, x7, src1;
201 ADD src1, src1, x7, asr #7; /* add 0xFF to the negative byte, add back carry */
202 EOR src1, src1, x7, asr #7; /* take absolute value of negative byte */
205 return src1;
208 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask)
214 EOR x7, src2, src1; /* check odd/even combination */
215 ADDS src1, src2, src1;
216 EOR x7, x7, src1; /* only odd bytes need to add carry */
219 SUB src1, src1, x7, asr #7; /* add 0xFF to the negative byte, add back carry */
220 EOR src1, src1, x7, asr #7; /* take absolute value of negative byte */
223 return src1;
365 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
369 register int32 s1 = src1;
390 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask)
394 register int32 s1 = src1;