Lines Matching refs:cmsMAXCHANNELS
463 if (Count > cmsMAXCHANNELS) return NULL;
465 ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Number));
469 memset(ColorantOrder, 0xFF, cmsMAXCHANNELS * sizeof(cmsUInt8Number));
490 for (Count=i=0; i < cmsMAXCHANNELS; i++) {
508 return _cmsDupMem(self ->ContextID, Ptr, cmsMAXCHANNELS * sizeof(cmsUInt8Number));
1634 cmsToneCurve* Tables[cmsMAXCHANNELS];
1636 if (nChannels > cmsMAXCHANNELS) return FALSE;
1766 if (InputChannels == 0 || InputChannels > cmsMAXCHANNELS) goto Error;
1767 if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error;
1977 cmsToneCurve* Tables[cmsMAXCHANNELS];
1984 if (nChannels > cmsMAXCHANNELS) return FALSE;
2059 if (InputChannels == 0 || InputChannels > cmsMAXCHANNELS) goto Error;
2060 if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error;
2330 cmsUInt8Number gridPoints8[cmsMAXCHANNELS]; // Number of grid points in each dimension.
2331 cmsUInt32Number GridPoints[cmsMAXCHANNELS], i;
2337 if (io -> Read(io, gridPoints8, cmsMAXCHANNELS, 1) != 1) return NULL;
2340 for (i=0; i < cmsMAXCHANNELS; i++) {
2420 cmsToneCurve* Curves[cmsMAXCHANNELS];
2424 if (nCurves > cmsMAXCHANNELS) return FALSE;
2497 if (inputChan == 0 || inputChan >= cmsMAXCHANNELS) return NULL;
2498 if (outputChan == 0 || outputChan >= cmsMAXCHANNELS) return NULL;
2632 cmsUInt8Number gridPoints[cmsMAXCHANNELS]; // Number of grid points in each dimension.
2645 if (!io -> Write(io, cmsMAXCHANNELS*sizeof(cmsUInt8Number), gridPoints)) return FALSE;
2808 if (inputChan == 0 || inputChan >= cmsMAXCHANNELS) return NULL;
2809 if (outputChan == 0 || outputChan >= cmsMAXCHANNELS) return NULL;
2993 if (Count > cmsMAXCHANNELS) {
3118 if (nDeviceCoords > cmsMAXCHANNELS) {
3125 cmsUInt16Number Colorant[cmsMAXCHANNELS];
3175 cmsUInt16Number Colorant[cmsMAXCHANNELS];
3761 if (sc ->nChannels > cmsMAXCHANNELS - 1)
3762 sc ->nChannels = cmsMAXCHANNELS - 1;
4214 if (InputChans >= cmsMAXCHANNELS) return NULL;
4215 if (OutputChans >= cmsMAXCHANNELS) return NULL;
4466 if (InputChans == 0 || InputChans >= cmsMAXCHANNELS) return NULL;
4467 if (OutputChans == 0 || OutputChans >= cmsMAXCHANNELS) return NULL;