Lines Matching refs:GammaTables
1415 cmsToneCurve** GammaTables = NULL; in OptimizeByJoiningCurves() local
1439 …GammaTables = (cmsToneCurve**) _cmsCalloc(Src ->ContextID, Src ->InputChannels, sizeof(cmsToneCurv… in OptimizeByJoiningCurves()
1440 if (GammaTables == NULL) goto Error; in OptimizeByJoiningCurves()
1443 … GammaTables[i] = cmsBuildTabulatedToneCurve16(Src ->ContextID, PRELINEARIZATION_POINTS, NULL); in OptimizeByJoiningCurves()
1444 if (GammaTables[i] == NULL) goto Error; in OptimizeByJoiningCurves()
1456 GammaTables[j] -> Table16[i] = _cmsQuickSaturateWord(OutFloat[j] * 65535.0); in OptimizeByJoiningCurves()
1459 ObtainedCurves = cmsStageAllocToneCurves(Src ->ContextID, Src ->InputChannels, GammaTables); in OptimizeByJoiningCurves()
1463 cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1464 GammaTables[i] = NULL; in OptimizeByJoiningCurves()
1467 if (GammaTables != NULL) { in OptimizeByJoiningCurves()
1468 _cmsFree(Src->ContextID, GammaTables); in OptimizeByJoiningCurves()
1469 GammaTables = NULL; in OptimizeByJoiningCurves()
1520 if (GammaTables != NULL) { in OptimizeByJoiningCurves()
1522 if (GammaTables[i] != NULL) cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1525 _cmsFree(Src ->ContextID, GammaTables); in OptimizeByJoiningCurves()