Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsgamma.c213 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()
[all …]
Dcmstypes.c1144 if (Curve ->nSegments == 1 && Curve ->Segments[0].Type == 1) { in Type_Curve_Write()
1196 …if (Curve ->nSegments != 1) return cmsSigCurveType; // Only 1-segment curves can be saved… in DecideCurveType()
1247 if (Curve ->nSegments > 1 || typen < 1) { in Type_ParametricCurve_Write()
2592 if ((Curves[i] ->nSegments == 0)|| in WriteSetOfCurves()
2593 ((Curves[i]->nSegments == 2) && (Curves[i] ->Segments[1].Type == 0)) ) in WriteSetOfCurves()
3927 cmsUInt16Number nSegments; in ReadSegmentedCurve() local
3939 if (!_cmsReadUInt16Number(io, &nSegments)) return NULL; in ReadSegmentedCurve()
3942 if (nSegments < 1) return NULL; in ReadSegmentedCurve()
3943 Segments = (cmsCurveSegment*) _cmsCalloc(self ->ContextID, nSegments, sizeof(cmsCurveSegment)); in ReadSegmentedCurve()
3947 for (i=0; i < (cmsUInt32Number) nSegments - 1; i++) { in ReadSegmentedCurve()
[all …]
Dlcms2_internal.h789 …cmsUInt32Number nSegments; // Number of segments in the curve. Zero for a 16-bit based tables member
/external/fonttools/Lib/fontTools/pens/
DpointPen.py183 nSegments = len(segments)
184 for i in range(nSegments):
190 if i + 1 != nSegments or outputImpliedClosingLine or not closed:
/external/pdfium/third_party/lcms/
D0002-old-performance-fix.patch12 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
D0017-memory-leak-ReadSegmentedCurve.patch29 + for (i=0; i < nSegments; i++) {
D0027-changes-from-beginning-of-time.patch87 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
/external/mesa3d/src/gallium/state_trackers/nine/
Ddevice9.h617 float nSegments );
Dnine_lock.c1457 float nSegments ) in LockDevice9_SetNPatchMode() argument
1461 r = NineDevice9_SetNPatchMode(This, nSegments); in LockDevice9_SetNPatchMode()
Ddevice9.c2693 float nSegments ) in NineDevice9_SetNPatchMode() argument
/external/mesa3d/include/D3D9/
Dd3d9.h237 virtual HRESULT WINAPI SetNPatchMode(float nSegments) = 0;
825 HRESULT (WINAPI *SetNPatchMode)(IDirect3DDevice9 *This, float nSegments);
1076 HRESULT (WINAPI *SetNPatchMode)(IDirect3DDevice9Ex *This, float nSegments);
/external/pdfium/third_party/lcms/include/
Dlcms2.h1156 …SEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveS…