Searched refs:srcMin (Results 1 – 1 of 1) sorted by relevance
510 static int mapM(int srcMin, int srcMax, int srcVal, int dstMin, int dstMax, in mapM() argument517 if ((srcMin == srcMax) || (srcVal < srcMin) || (srcVal > srcMax)) in mapM()526 numerator = (srcVal - srcMin) * (dstMax - dstMin); in mapM()527 denominator = srcMax - srcMin; in mapM()