Searched refs:normalizedVal (Results 1 – 1 of 1) sorted by relevance
55 final float normalizedVal = MathUtils.norm(GAMMA_SPACE_MIN, GAMMA_SPACE_MAX, val); in convertGammaToLinear() local57 if (normalizedVal <= R) { in convertGammaToLinear()58 ret = MathUtils.sq(normalizedVal / R); in convertGammaToLinear()60 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinear()78 final float normalizedVal = MathUtils.norm(GAMMA_SPACE_MIN, GAMMA_SPACE_MAX, val); in convertGammaToLinearFloat() local80 if (normalizedVal <= R) { in convertGammaToLinearFloat()81 ret = MathUtils.sq(normalizedVal / R); in convertGammaToLinearFloat()83 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinearFloat()131 final float normalizedVal = MathUtils.norm(min, max, val) * 12; in convertLinearToGammaFloat() local133 if (normalizedVal <= 1f) { in convertLinearToGammaFloat()[all …]