• Home
  • Raw
  • Download

Lines Matching refs:nSegments

214                                       cmsInt32Number nSegments, const cmsCurveSegment* Segments,  in AllocateToneCurveStruct()  argument
226 if (nEntries <= 0 && nSegments <= 0) { in AllocateToneCurveStruct()
236 if (nSegments <= 0) { in AllocateToneCurveStruct()
241 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)); in AllocateToneCurveStruct()
244 …p ->Evals = (cmsParametricCurveEvaluator*) _cmsCalloc(ContextID, nSegments, sizeof(cmsParametri… in AllocateToneCurveStruct()
248 p -> nSegments = nSegments; in AllocateToneCurveStruct()
271 if (Segments != NULL && (nSegments > 0)) { in AllocateToneCurveStruct()
275 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*)); in AllocateToneCurveStruct()
278 for (i=0; i< nSegments; i++) { in AllocateToneCurveStruct()
578 for (i = g ->nSegments-1; i >= 0 ; --i) { in EvalSegmentedFn()
635 … cmsInt32Number nSegments, const cmsCurveSegment Segments[]) in cmsBuildSegmentedToneCurve() argument
645 if (nSegments == 1 && Segments[0].Type == 1) { in cmsBuildSegmentedToneCurve()
650 g = AllocateToneCurveStruct(ContextID, nGridPoints, nSegments, Segments, NULL); in cmsBuildSegmentedToneCurve()
772 for (i=0; i < Curve ->nSegments; i++) { in cmsFreeToneCurve()
827 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -… in cmsDupToneCurve()
936 if (InCurve ->nSegments == 1 && InCurve ->Segments[0].Type > 0 && in cmsReverseToneCurveEx()
1204 return t -> nSegments > 1; in cmsIsToneCurveMultisegment()
1211 if (t -> nSegments != 1) return 0; in cmsGetToneCurveParametricType()
1221 if (Curve ->nSegments == 0) { in cmsEvalToneCurveFloat()