Lines Matching refs:TheCurves
163 return Data ->TheCurves; in _cmsStageGetPtrToCurveSet()
179 if (Data ->TheCurves == NULL) return; in EvaluateCurves()
182 Out[i] = cmsEvalToneCurveFloat(Data ->TheCurves[i], In[i]); in EvaluateCurves()
197 if (Data ->TheCurves != NULL) { in CurveSetElemTypeFree()
199 if (Data ->TheCurves[i] != NULL) in CurveSetElemTypeFree()
200 cmsFreeToneCurve(Data ->TheCurves[i]); in CurveSetElemTypeFree()
203 _cmsFree(mpe ->ContextID, Data ->TheCurves); in CurveSetElemTypeFree()
219 …NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(mpe ->ContextID, NewElem ->nCurves, sizeof(cmsTo… in CurveSetDup()
221 if (NewElem ->TheCurves == NULL) goto Error; in CurveSetDup()
226 NewElem ->TheCurves[i] = cmsDupToneCurve(Data ->TheCurves[i]); in CurveSetDup()
227 if (NewElem ->TheCurves[i] == NULL) goto Error; in CurveSetDup()
235 if (NewElem ->TheCurves != NULL) { in CurveSetDup()
237 if (NewElem ->TheCurves[i]) in CurveSetDup()
238 cmsFreeToneCurve(NewElem ->TheCurves[i]); in CurveSetDup()
241 _cmsFree(mpe ->ContextID, NewElem ->TheCurves); in CurveSetDup()
268 NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(ContextID, nChannels, sizeof(cmsToneCurve*)); in cmsStageAllocToneCurves()
269 if (NewElem ->TheCurves == NULL) { in cmsStageAllocToneCurves()
277 NewElem ->TheCurves[i] = cmsBuildGamma(ContextID, 1.0); in cmsStageAllocToneCurves()
280 NewElem ->TheCurves[i] = cmsDupToneCurve(Curves[i]); in cmsStageAllocToneCurves()
283 if (NewElem ->TheCurves[i] == NULL) { in cmsStageAllocToneCurves()