Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/lcms2/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/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp445 FX_DWORD nSegments = *(FX_DWORD*)(pBuffer + 16); in LoadPredefined() local
447 dwRecodeEndPos = dwDataOffset + 6 * nSegments; in LoadPredefined()
448 for (FX_DWORD i = 0; i < nSegments; i ++) { in LoadPredefined()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
Dlcms2.h1151 …SEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, cmsInt32Number nSegments, const cmsCurveS…