Lines Matching refs:diff
41 int diff = x - y; in sad2() local
42 if (diff < 0) diff = -diff; in sad2()
43 return diff; in sad2()
54 int diff = x - y; in sad3() local
55 return diff >= 0 ? diff : -diff; in sad3()
66 int diff = x - y; in sad3Alt() local
67 return 0 <= diff ? diff : -diff; in sad3Alt()
91 long diff = x - y; in sadL2() local
92 if (diff < 0L) diff = -diff; in sadL2()
93 return diff; in sadL2()
104 long diff = x - y; in sadL3() local
105 return diff >= 0L ? diff : -diff; in sadL3()
116 long diff = x - y; in sadL3Alt() local
117 return 0L <= diff ? diff : -diff; in sadL3Alt()