Lines Matching refs:total_chans
327 cmsUInt32Number total_chans = nchannels + extra; in ComputeIncrementsForChunky() local
330 cmsUInt32Number pixelSize = channelSize * total_chans; in ComputeIncrementsForChunky()
333 if (total_chans <= 0 || total_chans >= cmsMAXCHANNELS) in ComputeIncrementsForChunky()
343 for (i = 0; i < total_chans; i++) in ComputeIncrementsForChunky()
346 channels[i] = total_chans - i - 1; in ComputeIncrementsForChunky()
354 if (T_SWAPFIRST(Format) && total_chans > 1) { in ComputeIncrementsForChunky()
357 for (i = 0; i < total_chans-1; i++) in ComputeIncrementsForChunky()
360 channels[total_chans - 1] = tmp; in ComputeIncrementsForChunky()
365 for (i = 0; i < total_chans; i++) { in ComputeIncrementsForChunky()
385 cmsUInt32Number total_chans = nchannels + extra; in ComputeIncrementsForPlanar() local
390 if (total_chans <= 0 || total_chans >= cmsMAXCHANNELS) in ComputeIncrementsForPlanar()
400 for (i = 0; i < total_chans; i++) in ComputeIncrementsForPlanar()
403 channels[i] = total_chans - i - 1; in ComputeIncrementsForPlanar()
411 if (T_SWAPFIRST(Format) && total_chans > 0) { in ComputeIncrementsForPlanar()
414 for (i = 0; i < total_chans - 1; i++) in ComputeIncrementsForPlanar()
417 channels[total_chans - 1] = tmp; in ComputeIncrementsForPlanar()
421 for (i = 0; i < total_chans; i++) { in ComputeIncrementsForPlanar()