Home
last modified time | relevance | path

Searched refs:nSegments (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsgamma.c214 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()
[all …]
Dcmstypes.c1130 if (Curve ->nSegments == 1 && Curve ->Segments[0].Type == 1) { in Type_Curve_Write()
1182 …if (Curve ->nSegments != 1) return cmsSigCurveType; // Only 1-segment curves can be saved… in DecideCurveType()
1233 if (Curve ->nSegments > 1 || typen < 1) { in Type_ParametricCurve_Write()
2575 if ((Curves[i] ->nSegments == 0)|| in WriteSetOfCurves()
2576 ((Curves[i]->nSegments == 2) && (Curves[i] ->Segments[1].Type == 0)) ) in WriteSetOfCurves()
3902 cmsUInt16Number nSegments; in ReadSegmentedCurve() local
3914 if (!_cmsReadUInt16Number(io, &nSegments)) return NULL; in ReadSegmentedCurve()
3917 if (nSegments < 1) return NULL; in ReadSegmentedCurve()
3918 Segments = (cmsCurveSegment*) _cmsCalloc(self ->ContextID, nSegments, sizeof(cmsCurveSegment)); in ReadSegmentedCurve()
3922 for (i=0; i < (cmsUInt32Number) nSegments - 1; i++) { in ReadSegmentedCurve()
[all …]
Dlcms2_internal.h776 …cmsUInt32Number nSegments; // Number of segments in the curve. Zero for a 16-bit based tables member
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
DbtDiscreteDynamicsWorld.cpp1226 static int nSegments = 8*4; in debugDrawConstraint() local
1227 … btScalar fAngleInRadians = btScalar(2.*3.1415926) * (btScalar)(nSegments-1)/btScalar(nSegments); in debugDrawConstraint()
1230 for (int i=0; i<nSegments; i++) in debugDrawConstraint()
1232 fAngleInRadians = btScalar(2.*3.1415926) * (btScalar)i/btScalar(nSegments); in debugDrawConstraint()
1237 if (i%(nSegments/8) == 0) in debugDrawConstraint()
/external/pdfium/third_party/lcms2-2.6/include/
Dlcms2.h1151 …SEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveS…