Searched refs:sad (Results 1 – 7 of 7) sorted by relevance
48 int sad = 0; in sadShort2IntParamRight() local50 sad += Math.abs(s[i] - param); in sadShort2IntParamRight()52 return sad; in sadShort2IntParamRight()79 int sad = 0; in sadShort2IntParamLeft() local81 sad += Math.abs(param - s[i]); in sadShort2IntParamLeft()83 return sad; in sadShort2IntParamLeft()110 int sad = 0; in sadShort2IntConstRight() local112 sad += Math.abs(s[i] - 32767); in sadShort2IntConstRight()114 return sad; in sadShort2IntConstRight()141 int sad = 0; in sadShort2IntConstLeft() local[all …]
30 short sad = 0; in sadShort2Short() local32 sad += Math.abs(s1[i] - s2[i]); in sadShort2Short()34 return sad; in sadShort2Short()39 short sad = 0; in sadShort2ShortAlt() local43 sad += s >= p ? s - p : p - s; in sadShort2ShortAlt()45 return sad; in sadShort2ShortAlt()50 short sad = 0; in sadShort2ShortAlt2() local56 sad += x; in sadShort2ShortAlt2()58 return sad; in sadShort2ShortAlt2()85 int sad = 0; in sadShort2Int() local[all …]
26 byte sad = 0; in sadByte2Byte()28 sad += Math.abs(b1[i] - b2[i]); in sadByte2Byte()30 return sad; in sadByte2Byte()35 byte sad = 0; in sadByte2ByteAlt()39 sad += s >= p ? s - p : p - s; in sadByte2ByteAlt()41 return sad; in sadByte2ByteAlt()46 byte sad = 0; in sadByte2ByteAlt2()52 sad += x; in sadByte2ByteAlt2()54 return sad; in sadByte2ByteAlt2()59 short sad = 0; in sadByte2Short() local[all …]
28 char sad = 0; in sadChar2Char() local30 sad += Math.abs(s1[i] - s2[i]); in sadChar2Char()32 return sad; in sadChar2Char()37 char sad = 0; in sadChar2CharAlt() local41 sad += s >= p ? s - p : p - s; in sadChar2CharAlt()43 return sad; in sadChar2CharAlt()48 char sad = 0; in sadChar2CharAlt2() local54 sad += x; in sadChar2CharAlt2()56 return sad; in sadChar2CharAlt2()75 int sad = 0; in sadChar2Int() local[all …]
28 short sad = 0; in sadCastedChar2Short() local30 sad += Math.abs(((short) s1[i]) - ((short) s2[i])); in sadCastedChar2Short()32 return sad; in sadCastedChar2Short()37 short sad = 0; in sadCastedChar2ShortAlt() local41 sad += s >= p ? s - p : p - s; in sadCastedChar2ShortAlt()43 return sad; in sadCastedChar2ShortAlt()48 short sad = 0; in sadCastedChar2ShortAlt2() local54 sad += x; in sadCastedChar2ShortAlt2()56 return sad; in sadCastedChar2ShortAlt2()99 int sad = 0; in sadCastedChar2Int() local[all …]
44 int sad = 0; in sadInt2Int() local46 sad += Math.abs(x[i] - y[i]); in sadInt2Int()48 return sad; in sadInt2Int()70 int sad = 0; in sadInt2IntAlt() local74 sad += s >= p ? s - p : p - s; in sadInt2IntAlt()76 return sad; in sadInt2IntAlt()101 int sad = 0; in sadInt2IntAlt2() local107 sad += m; in sadInt2IntAlt2()109 return sad; in sadInt2IntAlt2()140 long sad = 0; in sadInt2Long() local[all …]
48 long sad = 0; in sadLong2Long() local50 sad += Math.abs(x[i] - y[i]); in sadLong2Long()52 return sad; in sadLong2Long()75 long sad = 0; in sadLong2LongAlt() local79 sad += s >= p ? s - p : p - s; in sadLong2LongAlt()81 return sad; in sadLong2LongAlt()110 long sad = 0; in sadLong2LongAlt2() local116 sad += m; in sadLong2LongAlt2()118 return sad; in sadLong2LongAlt2()147 long sad = 1; // starts at 1 in sadLong2LongAt1() local[all …]