Home | History | Annotate | Download | only in src

Lines Matching refs:nSegments

209 // no optimation curve is computed. nSegments may also be zero in the inverse case, where only the
213 cmsInt32Number nSegments, const cmsCurveSegment* Segments,
225 if (nEntries <= 0 && nSegments <= 0) {
235 if (nSegments <= 0) {
240 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment));
243 p ->Evals = (cmsParametricCurveEvaluator*) _cmsCalloc(ContextID, nSegments, sizeof(cmsParametricCurveEvaluator));
247 p -> nSegments = nSegments;
270 if (Segments != NULL && (nSegments > 0)) {
274 p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*));
277 for (i=0; i< nSegments; i++) {
577 for (i = g ->nSegments-1; i >= 0 ; --i) {
634 cmsInt32Number nSegments, const cmsCurveSegment Segments[])
644 if (nSegments == 1 && Segments[0].Type == 1) {
649 g = AllocateToneCurveStruct(ContextID, nGridPoints, nSegments, Segments, NULL);
770 for (i=0; i < Curve ->nSegments; i++) {
822 return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In ->Segments, In ->Table16);
931 if (InCurve ->nSegments == 1 && InCurve ->Segments[0].Type > 0 &&
1199 return t -> nSegments > 1;
1206 if (t -> nSegments != 1) return 0;
1216 if (Curve ->nSegments == 0) {