Home
last modified time | relevance | path

Searched refs:SegInterp (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/third_party/lcms/
D0027-changes-from-beginning-of-time.patch50 - if (Curve ->SegInterp[i] != 0)
51 + if (Curve ->SegInterp[i] != 0) {
52 _cmsFreeInterpParams(Curve->SegInterp[i]);
53 + Curve->SegInterp[i] = NULL;
59 _cmsFree(ContextID, Curve ->SegInterp);
60 + Curve ->SegInterp = NULL;
D0030-const-data.patch55 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*));
56 if (p ->SegInterp == NULL) goto Error;
/external/pdfium/third_party/lcms/src/
Dcmsgamma.c275 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*)); in AllocateToneCurveStruct()
276 if (p ->SegInterp == NULL) goto Error; in AllocateToneCurveStruct()
282 …p ->SegInterp[i] = _cmsComputeInterpParams(ContextID, Segments[i].nGridPoints, 1, 1, NULL, CMS_LER… in AllocateToneCurveStruct()
687 g->SegInterp[i]->Table = g->Segments[i].SampledPoints; in EvalSegmentedFn()
689 g->SegInterp[i]->Interpolation.LerpFloat(&R1, &Out32, g->SegInterp[i]); in EvalSegmentedFn()
886 if (Curve ->SegInterp[i] != 0) { in cmsFreeToneCurve()
887 _cmsFreeInterpParams(Curve->SegInterp[i]); in cmsFreeToneCurve()
888 Curve->SegInterp[i] = NULL; in cmsFreeToneCurve()
894 _cmsFree(ContextID, Curve ->SegInterp); in cmsFreeToneCurve()
895 Curve ->SegInterp = NULL; in cmsFreeToneCurve()
Dlcms2_internal.h843 …cmsInterpParams** SegInterp; // Array of private optimizations for interpolation in table-base… member