Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms2-2.6/
D0012-backport-c0a98d86.patch43 nMaxGrids = InputChans > MAX_INPUT_DIMENSIONS ? MAX_INPUT_DIMENSIONS : InputChans;
52 … mpe = cmsStageAllocCLutFloatGranular(self ->ContextID, GridPoints, InputChans, OutputChans, NULL);
D0016-check-LUT-and-MPE.patch162 if (!_cmsReadUInt16Number(io, &InputChans)) return NULL;
165 + if (InputChans == 0 || InputChans >= cmsMAXCHANNELS) return NULL;
169 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChans, OutputChans);
D0017-upstream-integer-overflow-MPEmatrix_Read.patch77 + if (InputChans >= cmsMAXCHANNELS) return NULL;
80 nElems = InputChans * OutputChans;
/external/pdfium/third_party/lcms2-2.6/src/
Dcmstypes.c4041 cmsUInt16Number InputChans, OutputChans; in Type_MPEcurve_Read() local
4050 if (!_cmsReadUInt16Number(io, &InputChans)) return NULL; in Type_MPEcurve_Read()
4053 if (InputChans != OutputChans) return NULL; in Type_MPEcurve_Read()
4055 GammaTables = (cmsToneCurve**) _cmsCalloc(self ->ContextID, InputChans, sizeof(cmsToneCurve*)); in Type_MPEcurve_Read()
4058 if (ReadPositionTable(self, io, InputChans, BaseOffset, GammaTables, ReadMPECurve)) { in Type_MPEcurve_Read()
4060 mpe = cmsStageAllocToneCurves(self ->ContextID, InputChans, GammaTables); in Type_MPEcurve_Read()
4066 for (i=0; i < InputChans; i++) { in Type_MPEcurve_Read()
4193 cmsUInt16Number InputChans, OutputChans; in Type_MPEmatrix_Read() local
4198 if (!_cmsReadUInt16Number(io, &InputChans)) return NULL; in Type_MPEmatrix_Read()
4204 if (InputChans >= cmsMAXCHANNELS) return NULL; in Type_MPEmatrix_Read()
[all …]