Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsgmt.c106 cmsFloat32Number* SampledPoints; in ComputeKToLstar() local
111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number)); in ComputeKToLstar()
112 if (SampledPoints == NULL) goto Error; in ComputeKToLstar()
122 SampledPoints[i]= (cmsFloat32Number) (1.0 - Lab.L / 100.0); // Negate K for easier operation in ComputeKToLstar()
125 out = cmsBuildTabulatedToneCurveFloat(ContextID, nPoints, SampledPoints); in ComputeKToLstar()
130 if (SampledPoints) _cmsFree(ContextID, SampledPoints); in ComputeKToLstar()
Dcmsgamma.c286 if (Segments[i].Type == 0 && Segments[i].SampledPoints != NULL) in AllocateToneCurveStruct()
287 …p ->Segments[i].SampledPoints = (cmsFloat32Number*) _cmsDupMem(ContextID, Segments[i].SampledPoint… in AllocateToneCurveStruct()
289 p ->Segments[i].SampledPoints = NULL; in AllocateToneCurveStruct()
590 g ->SegInterp[i]-> Table = g ->Segments[i].SampledPoints; in EvalSegmentedFn()
691 Seg[1].SampledPoints = (cmsFloat32Number*) values; in cmsBuildTabulatedToneCurveFloat()
774 if (Curve ->Segments[i].SampledPoints) { in cmsFreeToneCurve()
775 _cmsFree(ContextID, Curve ->Segments[i].SampledPoints); in cmsFreeToneCurve()
776 Curve ->Segments[i].SampledPoints = NULL; in cmsFreeToneCurve()
Dcmstypes.c3967 …Segments[i].SampledPoints = (cmsFloat32Number*) _cmsCalloc(self ->ContextID, Count, sizeof(cmsFloa… in ReadSegmentedCurve()
3968 if (Segments[i].SampledPoints == NULL) goto Error; in ReadSegmentedCurve()
3971 if (!_cmsReadFloat32Number(io, &Segments[i].SampledPoints[j])) goto Error; in ReadSegmentedCurve()
3991 if (Segments[i].SampledPoints) _cmsFree(self ->ContextID, Segments[i].SampledPoints); in ReadSegmentedCurve()
4089 if (!_cmsWriteFloat32Number(io, ActualSeg -> SampledPoints[j])) goto Error; in WriteSegmentedCurve()
/external/pdfium/third_party/lcms2-2.6/include/
Dlcms2.h1144 cmsFloat32Number* SampledPoints; // Points to an array of floats if Type == 0 member