Lines Matching refs:GammaTables
1269 cmsToneCurve** GammaTables = NULL; in OptimizeByJoiningCurves() local
1293 …GammaTables = (cmsToneCurve**) _cmsCalloc(Src ->ContextID, Src ->InputChannels, sizeof(cmsToneCurv… in OptimizeByJoiningCurves()
1294 if (GammaTables == NULL) goto Error; in OptimizeByJoiningCurves()
1297 … GammaTables[i] = cmsBuildTabulatedToneCurve16(Src ->ContextID, PRELINEARIZATION_POINTS, NULL); in OptimizeByJoiningCurves()
1298 if (GammaTables[i] == NULL) goto Error; in OptimizeByJoiningCurves()
1310 GammaTables[j] -> Table16[i] = _cmsQuickSaturateWord(OutFloat[j] * 65535.0); in OptimizeByJoiningCurves()
1313 ObtainedCurves = cmsStageAllocToneCurves(Src ->ContextID, Src ->InputChannels, GammaTables); in OptimizeByJoiningCurves()
1317 cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1318 GammaTables[i] = NULL; in OptimizeByJoiningCurves()
1321 if (GammaTables != NULL) _cmsFree(Src ->ContextID, GammaTables); in OptimizeByJoiningCurves()
1370 if (GammaTables != NULL) { in OptimizeByJoiningCurves()
1372 if (GammaTables[i] != NULL) cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1375 _cmsFree(Src ->ContextID, GammaTables); in OptimizeByJoiningCurves()