Lines Matching refs:GammaTables
1369 cmsToneCurve** GammaTables = NULL; in OptimizeByJoiningCurves() local
1393 …GammaTables = (cmsToneCurve**) _cmsCalloc(Src ->ContextID, Src ->InputChannels, sizeof(cmsToneCurv… in OptimizeByJoiningCurves()
1394 if (GammaTables == NULL) goto Error; in OptimizeByJoiningCurves()
1397 … GammaTables[i] = cmsBuildTabulatedToneCurve16(Src ->ContextID, PRELINEARIZATION_POINTS, NULL); in OptimizeByJoiningCurves()
1398 if (GammaTables[i] == NULL) goto Error; in OptimizeByJoiningCurves()
1410 GammaTables[j] -> Table16[i] = _cmsQuickSaturateWord(OutFloat[j] * 65535.0); in OptimizeByJoiningCurves()
1413 ObtainedCurves = cmsStageAllocToneCurves(Src ->ContextID, Src ->InputChannels, GammaTables); in OptimizeByJoiningCurves()
1417 cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1418 GammaTables[i] = NULL; in OptimizeByJoiningCurves()
1421 if (GammaTables != NULL) { in OptimizeByJoiningCurves()
1422 _cmsFree(Src->ContextID, GammaTables); in OptimizeByJoiningCurves()
1423 GammaTables = NULL; in OptimizeByJoiningCurves()
1473 if (GammaTables != NULL) { in OptimizeByJoiningCurves()
1475 if (GammaTables[i] != NULL) cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1478 _cmsFree(Src ->ContextID, GammaTables); in OptimizeByJoiningCurves()