Searched refs:normalizedVal (Results 1 – 1 of 1) sorted by relevance
67 final float normalizedVal = MathUtils.norm(GAMMA_SPACE_MIN, GAMMA_SPACE_MAX, val); in convertGammaToLinear() local69 if (normalizedVal <= R) { in convertGammaToLinear()70 ret = MathUtils.sq(normalizedVal / R); in convertGammaToLinear()72 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinear()116 final float normalizedVal = MathUtils.norm(min, max, val) * 12; in convertLinearToGammaFloat() local118 if (normalizedVal <= 1f) { in convertLinearToGammaFloat()119 ret = MathUtils.sqrt(normalizedVal) * R; in convertLinearToGammaFloat()121 ret = A * MathUtils.log(normalizedVal - B) + C; in convertLinearToGammaFloat()