Searched refs:normalizedVal (Results 1 – 1 of 1) sorted by relevance
54 final float normalizedVal = MathUtils.norm(0, GAMMA_SPACE_MAX, val); in convertGammaToLinear() local56 if (normalizedVal <= R) { in convertGammaToLinear()57 ret = MathUtils.sq(normalizedVal / R); in convertGammaToLinear()59 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinear()91 final float normalizedVal = MathUtils.norm(min, max, val) * 12; in convertLinearToGamma() local93 if (normalizedVal <= 1f) { in convertLinearToGamma()94 ret = MathUtils.sqrt(normalizedVal) * R; in convertLinearToGamma()96 ret = A * MathUtils.log(normalizedVal - B) + C; in convertLinearToGamma()