Searched refs:GammaTables (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/third_party/lcms/src/ |
D | cmsopt.c | 1369 cmsToneCurve** GammaTables = NULL; in OptimizeByJoiningCurves() local 1393 …GammaTables = (cmsToneCurve**) _cmsCalloc(Src ->ContextID, Src ->InputChannels, sizeof(cmsToneCurv… in OptimizeByJoiningCurves() 1394 if (GammaTables == NULL) goto Error; in OptimizeByJoiningCurves() 1397 … GammaTables[i] = cmsBuildTabulatedToneCurve16(Src ->ContextID, PRELINEARIZATION_POINTS, NULL); in OptimizeByJoiningCurves() 1398 if (GammaTables[i] == NULL) goto Error; in OptimizeByJoiningCurves() 1410 GammaTables[j] -> Table16[i] = _cmsQuickSaturateWord(OutFloat[j] * 65535.0); in OptimizeByJoiningCurves() 1413 ObtainedCurves = cmsStageAllocToneCurves(Src ->ContextID, Src ->InputChannels, GammaTables); in OptimizeByJoiningCurves() 1417 cmsFreeToneCurve(GammaTables[i]); in OptimizeByJoiningCurves() 1418 GammaTables[i] = NULL; in OptimizeByJoiningCurves() 1421 if (GammaTables != NULL) { in OptimizeByJoiningCurves() [all …]
|
D | cmstypes.c | 4039 cmsToneCurve** GammaTables = ( cmsToneCurve**) Cargo; in ReadMPECurve() local 4041 GammaTables[n] = ReadSegmentedCurve(self, io); in ReadMPECurve() 4042 return (GammaTables[n] != NULL); in ReadMPECurve() 4053 cmsToneCurve** GammaTables; in Type_MPEcurve_Read() local 4065 GammaTables = (cmsToneCurve**) _cmsCalloc(self ->ContextID, InputChans, sizeof(cmsToneCurve*)); in Type_MPEcurve_Read() 4066 if (GammaTables == NULL) return NULL; in Type_MPEcurve_Read() 4068 if (ReadPositionTable(self, io, InputChans, BaseOffset, GammaTables, ReadMPECurve)) { in Type_MPEcurve_Read() 4070 mpe = cmsStageAllocToneCurves(self ->ContextID, InputChans, GammaTables); in Type_MPEcurve_Read() 4077 if (GammaTables[i]) cmsFreeToneCurve(GammaTables[i]); in Type_MPEcurve_Read() 4080 _cmsFree(self ->ContextID, GammaTables); in Type_MPEcurve_Read()
|