Searched refs:nSegments (Results 1 – 12 of 12) sorted by relevance
/external/pdfium/third_party/lcms/src/ |
D | cmsgamma.c | 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() [all …]
|
D | cmstypes.c | 1144 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 …]
|
D | lcms2_internal.h | 789 …cmsUInt32Number nSegments; // Number of segments in the curve. Zero for a 16-bit based tables member
|
/external/fonttools/Lib/fontTools/pens/ |
D | pointPen.py | 183 nSegments = len(segments) 184 for i in range(nSegments): 190 if i + 1 != nSegments or outputImpliedClosingLine or not closed:
|
/external/pdfium/third_party/lcms/ |
D | 0002-old-performance-fix.patch | 12 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
|
D | 0017-memory-leak-ReadSegmentedCurve.patch | 29 + for (i=0; i < nSegments; i++) {
|
D | 0027-changes-from-beginning-of-time.patch | 87 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | device9.h | 617 float nSegments );
|
D | nine_lock.c | 1457 float nSegments ) in LockDevice9_SetNPatchMode() argument 1461 r = NineDevice9_SetNPatchMode(This, nSegments); in LockDevice9_SetNPatchMode()
|
D | device9.c | 2693 float nSegments ) in NineDevice9_SetNPatchMode() argument
|
/external/mesa3d/include/D3D9/ |
D | d3d9.h | 237 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/ |
D | lcms2.h | 1156 …SEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveS…
|