Home
last modified time | relevance | path

Searched refs:GammaTables (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsopt.c1269 cmsToneCurve** GammaTables = NULL; in OptimizeByJoiningCurves() local
1293GammaTables = (cmsToneCurve**) _cmsCalloc(Src ->ContextID, Src ->InputChannels, sizeof(cmsToneCurv… in OptimizeByJoiningCurves()
1294 if (GammaTables == NULL) goto Error; in OptimizeByJoiningCurves()
1297GammaTables[i] = cmsBuildTabulatedToneCurve16(Src ->ContextID, PRELINEARIZATION_POINTS, NULL); in OptimizeByJoiningCurves()
1298 if (GammaTables[i] == NULL) goto Error; in OptimizeByJoiningCurves()
1310 GammaTables[j] -> Table16[i] = _cmsQuickSaturateWord(OutFloat[j] * 65535.0); in OptimizeByJoiningCurves()
1313 ObtainedCurves = cmsStageAllocToneCurves(Src ->ContextID, Src ->InputChannels, GammaTables); in OptimizeByJoiningCurves()
1317 cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1318 GammaTables[i] = NULL; in OptimizeByJoiningCurves()
1321 if (GammaTables != NULL) _cmsFree(Src ->ContextID, GammaTables); in OptimizeByJoiningCurves()
[all …]
Dcmstypes.c4009 cmsToneCurve** GammaTables = ( cmsToneCurve**) Cargo; in ReadMPECurve() local
4011 GammaTables[n] = ReadSegmentedCurve(self, io); in ReadMPECurve()
4012 return (GammaTables[n] != NULL); in ReadMPECurve()
4023 cmsToneCurve** GammaTables; in Type_MPEcurve_Read() local
4035 GammaTables = (cmsToneCurve**) _cmsCalloc(self ->ContextID, InputChans, sizeof(cmsToneCurve*)); in Type_MPEcurve_Read()
4036 if (GammaTables == NULL) return NULL; in Type_MPEcurve_Read()
4038 if (ReadPositionTable(self, io, InputChans, BaseOffset, GammaTables, ReadMPECurve)) { in Type_MPEcurve_Read()
4040 mpe = cmsStageAllocToneCurves(self ->ContextID, InputChans, GammaTables); in Type_MPEcurve_Read()
4047 if (GammaTables[i]) cmsFreeToneCurve(GammaTables[i]); in Type_MPEcurve_Read()
4050 _cmsFree(self ->ContextID, GammaTables); in Type_MPEcurve_Read()