Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsgamma.c214 cmsUInt32Number 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()
676 for (i = (int) g->nSegments - 1; i >= 0; --i) { in EvalSegmentedFn()
[all …]
Dcmstypes.c1150 if (Curve ->nSegments == 1 && Curve ->Segments[0].Type == 1) { in Type_Curve_Write()
1202 …if (Curve ->nSegments != 1) return cmsSigCurveType; // Only 1-segment curves can be saved… in DecideCurveType()
1253 if (Curve ->nSegments > 1 || typen < 1) { in Type_ParametricCurve_Write()
2603 if ((Curves[i] ->nSegments == 0)|| in WriteSetOfCurves()
2604 ((Curves[i]->nSegments == 2) && (Curves[i] ->Segments[1].Type == 0)) ) in WriteSetOfCurves()
3940 cmsUInt16Number nSegments; in ReadSegmentedCurve() local
3952 if (!_cmsReadUInt16Number(io, &nSegments)) return NULL; in ReadSegmentedCurve()
3955 if (nSegments < 1) return NULL; in ReadSegmentedCurve()
3956 Segments = (cmsCurveSegment*) _cmsCalloc(self ->ContextID, nSegments, sizeof(cmsCurveSegment)); in ReadSegmentedCurve()
3960 for (i=0; i < (cmsUInt32Number) nSegments - 1; i++) { in ReadSegmentedCurve()
[all …]
Dlcms2_internal.h841 …cmsUInt32Number nSegments; // Number of segments in the curve. Zero for a 16-bit based tables member
/external/pdfium/third_party/lcms/
D0002-old-performance-fix.patch12 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
D0030-const-data.patch50 if (Segments != NULL && (nSegments > 0)) {
55 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*));
D0027-changes-from-beginning-of-time.patch87 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
/external/fonttools/Lib/fontTools/pens/
DpointPen.py195 nSegments = len(segments)
197 for i in range(nSegments):
213 i + 1 != nSegments
/external/mesa3d/src/gallium/frontends/nine/
Ddevice9.h631 float nSegments );
Dnine_lock.c1457 float nSegments ) in LockDevice9_SetNPatchMode() argument
1461 r = NineDevice9_SetNPatchMode(This, nSegments); in LockDevice9_SetNPatchMode()
Ddevice9.c2839 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.h1164 …EXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsUInt32Number nSegments, const cmsCurveS…