Lines Matching refs:sad
48 int sad = 0; in sadShort2IntParamRight() local
50 sad += Math.abs(s[i] - param); in sadShort2IntParamRight()
52 return sad; in sadShort2IntParamRight()
79 int sad = 0; in sadShort2IntParamLeft() local
81 sad += Math.abs(param - s[i]); in sadShort2IntParamLeft()
83 return sad; in sadShort2IntParamLeft()
110 int sad = 0; in sadShort2IntConstRight() local
112 sad += Math.abs(s[i] - 32767); in sadShort2IntConstRight()
114 return sad; in sadShort2IntConstRight()
141 int sad = 0; in sadShort2IntConstLeft() local
143 sad += Math.abs(32767 - s[i]); in sadShort2IntConstLeft()
145 return sad; in sadShort2IntConstLeft()
172 int sad = 0; in sadShort2IntInvariantRight() local
175 sad += Math.abs(s[i] - x); in sadShort2IntInvariantRight()
177 return sad; in sadShort2IntInvariantRight()
204 int sad = 0; in sadShort2IntInvariantLeft() local
207 sad += Math.abs(x - s[i]); in sadShort2IntInvariantLeft()
209 return sad; in sadShort2IntInvariantLeft()
239 int sad = 0; in sadShort2IntCastedExprRight() local
242 sad += Math.abs(s[i] - x); in sadShort2IntCastedExprRight()
244 return sad; in sadShort2IntCastedExprRight()
274 int sad = 0; in sadShort2IntCastedExprLeft() local
277 sad += Math.abs(x - s[i]); in sadShort2IntCastedExprLeft()
279 return sad; in sadShort2IntCastedExprLeft()