Searched refs:normalizedVal (Results 1 – 2 of 2) sorted by relevance
56 final float normalizedVal = MathUtils.norm(GAMMA_SPACE_MIN, GAMMA_SPACE_MAX, val); in convertGammaToLinear() local58 if (normalizedVal <= R) { in convertGammaToLinear()59 ret = MathUtils.sq(normalizedVal / R); in convertGammaToLinear()61 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinear()79 final float normalizedVal = MathUtils.norm(GAMMA_SPACE_MIN, GAMMA_SPACE_MAX, val); in convertGammaToLinearFloat() local81 if (normalizedVal <= R) { in convertGammaToLinearFloat()82 ret = MathUtils.sq(normalizedVal / R); in convertGammaToLinearFloat()84 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinearFloat()132 final float normalizedVal = MathUtils.norm(min, max, val) * 12; in convertLinearToGammaFloat() local134 if (normalizedVal <= 1f) { in convertLinearToGammaFloat()[all …]
74 final float normalizedVal = val * 12; in convertLinearToGamma() local76 if (normalizedVal <= 1f) { in convertLinearToGamma()77 ret = MathUtils.sqrt(normalizedVal) * R; in convertLinearToGamma()79 ret = A * MathUtils.log(normalizedVal - B) + C; in convertLinearToGamma()