Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsopt.c1415 cmsToneCurve** GammaTables = NULL; in OptimizeByJoiningCurves() local
1439GammaTables = (cmsToneCurve**) _cmsCalloc(Src ->ContextID, Src ->InputChannels, sizeof(cmsToneCurv… in OptimizeByJoiningCurves()
1440 if (GammaTables == NULL) goto Error; in OptimizeByJoiningCurves()
1443GammaTables[i] = cmsBuildTabulatedToneCurve16(Src ->ContextID, PRELINEARIZATION_POINTS, NULL); in OptimizeByJoiningCurves()
1444 if (GammaTables[i] == NULL) goto Error; in OptimizeByJoiningCurves()
1456 GammaTables[j] -> Table16[i] = _cmsQuickSaturateWord(OutFloat[j] * 65535.0); in OptimizeByJoiningCurves()
1459 ObtainedCurves = cmsStageAllocToneCurves(Src ->ContextID, Src ->InputChannels, GammaTables); in OptimizeByJoiningCurves()
1463 cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves()
1464 GammaTables[i] = NULL; in OptimizeByJoiningCurves()
1467 if (GammaTables != NULL) { in OptimizeByJoiningCurves()
[all …]
Dcmstypes.c4052 cmsToneCurve** GammaTables = ( cmsToneCurve**) Cargo; in ReadMPECurve() local
4054 GammaTables[n] = ReadSegmentedCurve(self, io); in ReadMPECurve()
4055 return (GammaTables[n] != NULL); in ReadMPECurve()
4066 cmsToneCurve** GammaTables; in Type_MPEcurve_Read() local
4078 GammaTables = (cmsToneCurve**) _cmsCalloc(self ->ContextID, InputChans, sizeof(cmsToneCurve*)); in Type_MPEcurve_Read()
4079 if (GammaTables == NULL) return NULL; in Type_MPEcurve_Read()
4081 if (ReadPositionTable(self, io, InputChans, BaseOffset, GammaTables, ReadMPECurve)) { in Type_MPEcurve_Read()
4083 mpe = cmsStageAllocToneCurves(self ->ContextID, InputChans, GammaTables); in Type_MPEcurve_Read()
4090 if (GammaTables[i]) cmsFreeToneCurve(GammaTables[i]); in Type_MPEcurve_Read()
4093 _cmsFree(self ->ContextID, GammaTables); in Type_MPEcurve_Read()