Searched refs:SampledPoints (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/third_party/lcms/ |
D | 0017-memory-leak-ReadSegmentedCurve.patch | 13 …Segments[i].SampledPoints = (cmsFloat32Number*) _cmsCalloc(self ->ContextID, Count, sizeof(cmsFloa… 30 + if (Segments[i].SampledPoints) _cmsFree(self ->ContextID, Segments[i].SampledPoints);
|
D | 0027-changes-from-beginning-of-time.patch | 45 if (Curve ->Segments[i].SampledPoints) { 46 _cmsFree(ContextID, Curve ->Segments[i].SampledPoints); 47 + Curve ->Segments[i].SampledPoints = NULL;
|
/external/pdfium/third_party/lcms/src/ |
D | cmsgmt.c | 106 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()
|
D | cmsgamma.c | 285 if (Segments[i].Type == 0 && Segments[i].SampledPoints != NULL) in AllocateToneCurveStruct() 286 …p ->Segments[i].SampledPoints = (cmsFloat32Number*) _cmsDupMem(ContextID, Segments[i].SampledPoint… in AllocateToneCurveStruct() 288 p ->Segments[i].SampledPoints = NULL; in AllocateToneCurveStruct() 589 g ->SegInterp[i]-> Table = g ->Segments[i].SampledPoints; in EvalSegmentedFn() 690 Seg[1].SampledPoints = (cmsFloat32Number*) values; in cmsBuildTabulatedToneCurveFloat() 772 if (Curve ->Segments[i].SampledPoints) { in cmsFreeToneCurve() 773 _cmsFree(ContextID, Curve ->Segments[i].SampledPoints); in cmsFreeToneCurve() 774 Curve ->Segments[i].SampledPoints = NULL; in cmsFreeToneCurve()
|
D | cmstypes.c | 3992 …Segments[i].SampledPoints = (cmsFloat32Number*) _cmsCalloc(self ->ContextID, Count, sizeof(cmsFloa… in ReadSegmentedCurve() 3993 if (Segments[i].SampledPoints == NULL) goto Error; in ReadSegmentedCurve() 3996 if (!_cmsReadFloat32Number(io, &Segments[i].SampledPoints[j])) goto Error; in ReadSegmentedCurve() 4016 if (Segments[i].SampledPoints) _cmsFree(self ->ContextID, Segments[i].SampledPoints); in ReadSegmentedCurve() 4024 if (Segments[i].SampledPoints) _cmsFree(self ->ContextID, Segments[i].SampledPoints); in ReadSegmentedCurve() 4119 if (!_cmsWriteFloat32Number(io, ActualSeg -> SampledPoints[j])) goto Error; in WriteSegmentedCurve()
|
/external/pdfium/third_party/lcms/include/ |
D | lcms2.h | 1149 cmsFloat32Number* SampledPoints; // Points to an array of floats if Type == 0 member
|