LA Log encoding clamp values

This commit is contained in:
Desmis
2020-10-28 16:38:17 +01:00
parent aae90a0ad3
commit ca5d6e44ee
4 changed files with 26 additions and 11 deletions

View File

@@ -1553,6 +1553,7 @@ void Color::calcGamma (double pwr, double ts, GammaValues &gamma)
gamma[4] = g[4];
gamma[5] = g[5];
gamma[6] = 0.;
printf("g0=%f g1=%f g2=%f g3=%f g4=%f g5=%f\n", g[0], g[1], g[2], g[3], g[4], g[5] );
}
void Color::gammaf2lut (LUTf &gammacurve, float gamma, float start, float slope, float divisor, float factor)
{