Searched refs:cmsMAXCHANNELS (Results 1 – 12 of 12) sorted by relevance
/external/pdfium/third_party/lcms2-2.6/ |
D | 0016-check-LUT-and-MPE.patch | 55 if (InputChannels >= cmsMAXCHANNELS || 56 OutputChannels >= cmsMAXCHANNELS) return NULL; 121 - if (InputChannels > cmsMAXCHANNELS) goto Error; 122 - if (OutputChannels > cmsMAXCHANNELS) goto Error; 123 + if (InputChannels == 0 || InputChannels > cmsMAXCHANNELS) goto Error; 124 + if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error; 132 - if (InputChannels > cmsMAXCHANNELS) goto Error; 133 - if (OutputChannels > cmsMAXCHANNELS) goto Error; 134 + if (InputChannels == 0 || InputChannels > cmsMAXCHANNELS) goto Error; 135 + if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error; [all …]
|
D | 0017-upstream-integer-overflow-MPEmatrix_Read.patch | 77 + if (InputChans >= cmsMAXCHANNELS) return NULL; 78 + if (OutputChans >= cmsMAXCHANNELS) return NULL;
|
D | 0006-memory-leak-Type_NamedColor_Read.patch | 7 if (nDeviceCoords > cmsMAXCHANNELS) {
|
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmsxform.c | 93 …EXPORT cmsSetAlarmCodesTHR(cmsContext ContextID, const cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS]) in cmsSetAlarmCodesTHR() argument 104 void CMSEXPORT cmsGetAlarmCodesTHR(cmsContext ContextID, cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS… in cmsGetAlarmCodesTHR() argument 113 void CMSEXPORT cmsSetAlarmCodes(const cmsUInt16Number NewAlarm[cmsMAXCHANNELS]) in cmsSetAlarmCodes() argument 120 void CMSEXPORT cmsGetAlarmCodes(cmsUInt16Number OldAlarm[cmsMAXCHANNELS]) in cmsGetAlarmCodes() argument 211 cmsFloat32Number fIn[cmsMAXCHANNELS], fOut[cmsMAXCHANNELS]; in FloatXFORM() 232 for (j=0; j < cmsMAXCHANNELS; j++) in FloatXFORM() 262 cmsFloat32Number fIn[cmsMAXCHANNELS]; in NullFloatXFORM() 286 cmsUInt16Number wIn[cmsMAXCHANNELS]; in NullXFORM() 309 cmsUInt16Number wIn[cmsMAXCHANNELS], wOut[cmsMAXCHANNELS]; in PrecalculatedXFORM() 356 cmsUInt16Number wIn[cmsMAXCHANNELS], wOut[cmsMAXCHANNELS]; in PrecalculatedXFORMGamutCheck() [all …]
|
D | cmsgmt.c | 219 cmsUInt16Number Proof[cmsMAXCHANNELS], Proof2[cmsMAXCHANNELS]; in GamutSampler() 419 cmsFloat32Number MaxInput[cmsMAXCHANNELS]; 430 cmsFloat32Number RoundTrip[cmsMAXCHANNELS]; in EstimateTAC() 479 if (bp.nOutputChans >= cmsMAXCHANNELS) return 0; in cmsDetectTAC()
|
D | cmsopt.c | 221 cmsUInt16Number StageDEF[cmsMAXCHANNELS]; in PrelinEval16() 326 cmsFloat32Number InFloat[cmsMAXCHANNELS], OutFloat[cmsMAXCHANNELS]; in XFormSampler16() 329 _cmsAssert(Lut -> InputChannels < cmsMAXCHANNELS); in XFormSampler16() 330 _cmsAssert(Lut -> OutputChannels < cmsMAXCHANNELS); in XFormSampler16() 470 cmsUInt16Number WhiteIn[cmsMAXCHANNELS], WhiteOut[cmsMAXCHANNELS], ObtainedOut[cmsMAXCHANNELS]; in FixWhiteMisalignment() 945 cmsToneCurve *Trans[cmsMAXCHANNELS], *TransReverse[cmsMAXCHANNELS]; in OptimizeByComputingLinearization() 947 cmsFloat32Number v, In[cmsMAXCHANNELS], Out[cmsMAXCHANNELS]; in OptimizeByComputingLinearization() 1270 cmsFloat32Number InFloat[cmsMAXCHANNELS], OutFloat[cmsMAXCHANNELS]; in OptimizeByJoiningCurves()
|
D | cmstypes.c | 457 if (Count > cmsMAXCHANNELS) return NULL; in Type_ColorantOrderType_Read() 459 …ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Numb… in Type_ColorantOrderType_Read() 463 memset(ColorantOrder, 0xFF, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Read() 484 for (Count=i=0; i < cmsMAXCHANNELS; i++) { in Type_ColorantOrderType_Write() 502 return _cmsDupMem(self ->ContextID, Ptr, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Dup() 1623 cmsToneCurve* Tables[cmsMAXCHANNELS]; in Read8bitTables() 1625 if (nChannels > cmsMAXCHANNELS) return FALSE; in Read8bitTables() 1758 if (InputChannels == 0 || InputChannels > cmsMAXCHANNELS) goto Error; in Type_LUT8_Read() 1759 if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error; in Type_LUT8_Read() 1969 cmsToneCurve* Tables[cmsMAXCHANNELS]; in Read16bitTables() [all …]
|
D | lcms2_internal.h | 471 cmsUInt16Number AlarmCodes[cmsMAXCHANNELS]; 675 cmsUInt16Number DeviceColorant[cmsMAXCHANNELS]; 942 cmsUInt16Number CacheIn[cmsMAXCHANNELS]; 943 cmsUInt16Number CacheOut[cmsMAXCHANNELS];
|
D | cmslut.c | 875 cmsUInt16Number In[cmsMAXCHANNELS]; in cmsSliceSpace16() 877 if (nInputs >= cmsMAXCHANNELS) return FALSE; in cmsSliceSpace16() 905 cmsFloat32Number In[cmsMAXCHANNELS]; in cmsSliceSpaceFloat() 907 if (nInputs >= cmsMAXCHANNELS) return FALSE; in cmsSliceSpaceFloat() 1353 if (InputChannels >= cmsMAXCHANNELS || in cmsPipelineAlloc() 1354 OutputChannels >= cmsMAXCHANNELS) return NULL; in cmsPipelineAlloc()
|
D | cmsps2.c | 1393 if (nColorant > cmsMAXCHANNELS) in BuildColorantList() 1394 nColorant = cmsMAXCHANNELS; in BuildColorantList() 1442 cmsUInt16Number Out[cmsMAXCHANNELS]; in WriteNamedColorCRD()
|
D | cmsnamed.c | 570 … cmsUInt16Number PCS[3], cmsUInt16Number Colorant[cmsMAXCHANNELS]) in cmsAppendNamedColor() argument
|
/external/pdfium/third_party/lcms2-2.6/include/ |
D | lcms2.h | 645 #define cmsMAXCHANNELS 16 // Maximum number of channels in ICC profiles macro 1330 cmsScreeningChannel Channels[cmsMAXCHANNELS]; 1348 … cmsUInt16Number Colorant[cmsMAXCHANNELS]); 1731 CMSAPI void CMSEXPORT cmsSetAlarmCodes(const cmsUInt16Number NewAlarm[cmsMAXCHANNELS]); 1732 CMSAPI void CMSEXPORT cmsGetAlarmCodes(cmsUInt16Number NewAlarm[cmsMAXCHANNELS]); 1736 … const cmsUInt16Number AlarmCodes[cmsMAXCHANNELS]); 1738 … cmsUInt16Number AlarmCodes[cmsMAXCHANNELS]);
|