• Home
  • Raw
  • Download

Lines Matching refs:nSegments

213                                       cmsInt32Number nSegments, const cmsCurveSegment* Segments,  in AllocateToneCurveStruct()  argument
225 if (nEntries <= 0 && nSegments <= 0) { in AllocateToneCurveStruct()
235 if (nSegments <= 0) { in AllocateToneCurveStruct()
240 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)); in AllocateToneCurveStruct()
243 …p ->Evals = (cmsParametricCurveEvaluator*) _cmsCalloc(ContextID, nSegments, sizeof(cmsParametri… in AllocateToneCurveStruct()
247 p -> nSegments = nSegments; in AllocateToneCurveStruct()
270 if (Segments != NULL && (nSegments > 0)) { in AllocateToneCurveStruct()
274 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*)); in AllocateToneCurveStruct()
277 for (i=0; i< nSegments; i++) { in AllocateToneCurveStruct()
577 for (i = g ->nSegments-1; i >= 0 ; --i) { in EvalSegmentedFn()
634 … cmsInt32Number nSegments, const cmsCurveSegment Segments[]) in cmsBuildSegmentedToneCurve() argument
644 if (nSegments == 1 && Segments[0].Type == 1) { in cmsBuildSegmentedToneCurve()
649 g = AllocateToneCurveStruct(ContextID, nGridPoints, nSegments, Segments, NULL); in cmsBuildSegmentedToneCurve()
770 for (i=0; i < Curve ->nSegments; i++) { in cmsFreeToneCurve()
822 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -… in cmsDupToneCurve()
931 if (InCurve ->nSegments == 1 && InCurve ->Segments[0].Type > 0 && in cmsReverseToneCurveEx()
1199 return t -> nSegments > 1; in cmsIsToneCurveMultisegment()
1206 if (t -> nSegments != 1) return 0; in cmsGetToneCurveParametricType()
1216 if (Curve ->nSegments == 0) { in cmsEvalToneCurveFloat()