Home | History | Annotate | Download | only in src

Lines Matching refs:src1

39     __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
43 x7 = src2 ^ src1; /* check odd/even combination */
44 if ((uint32)src2 >= (uint32)src1)
46 src1 = src2 - src1; /* subs */
50 src1 = src1 - src2;
52 x7 = x7 ^ src1; /* only odd bytes need to add carry */
55 src1 = src1 + (x7 >> 7); /* add 0xFF to the negative byte, add back carry */
56 src1 = src1 ^(x7 >> 7); /* take absolute value of negative byte */
58 return src1;
186 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
192 EOR x7, src2, src1; /* check odd/even combination */
193 SUBS src1, src2, src1;
194 EOR x7, x7, src1;
198 ADD src1, src1, x7, asr #7; /* add 0xFF to the negative byte, add back carry */
199 EOR src1, src1, x7, asr #7; /* take absolute value of negative byte */
202 return src1;
205 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask)
211 EOR x7, src2, src1; /* check odd/even combination */
212 ADDS src1, src2, src1;
213 EOR x7, x7, src1; /* only odd bytes need to add carry */
216 SUB src1, src1, x7, asr #7; /* add 0xFF to the negative byte, add back carry */
217 EOR src1, src1, x7, asr #7; /* take absolute value of negative byte */
220 return src1;
355 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask)
368 : "+r"(src1), "=&r"(x7)
372 return src1;
375 __inline int32 sad_4pixelN(int32 src1, int32 src2, int32 mask)
387 : "+r"(src1), "=&r"(x7)
391 return src1;