Lines Matching refs:nChan
100 int nChan = T_CHANNELS(info -> InputFormat);
113 for (i=0; i < nChan; i++) {
114 int index = DoSwap ? (nChan - i - 1) : i;
129 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
130 wIn[nChan-1] = tmp;
147 int nChan = T_CHANNELS(info -> InputFormat);
158 for (i=0; i < nChan; i++) {
160 int index = DoSwap ? (nChan - i - 1) : i;
477 int nChan = T_CHANNELS(info -> InputFormat);
490 for (i=0; i < nChan; i++) {
492 int index = DoSwap ? (nChan - i - 1) : i;
511 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
512 wIn[nChan-1] = tmp;
526 int nChan = T_CHANNELS(info -> InputFormat);
537 for (i=0; i < nChan; i++) {
539 int index = DoSwap ? (nChan - i - 1) : i;
924 int nChan = T_CHANNELS(info -> InputFormat);
940 for (i=0; i < nChan; i++) {
942 int index = DoSwap ? (nChan - i - 1) : i;
961 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
962 wIn[nChan-1] = tmp;
968 return accum + (nChan + Extra) * sizeof(cmsFloat64Number);
980 int nChan = T_CHANNELS(info -> InputFormat);
996 for (i=0; i < nChan; i++) {
998 int index = DoSwap ? (nChan - i - 1) : i;
1017 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
1018 wIn[nChan-1] = tmp;
1024 return accum + (nChan + Extra) * sizeof(cmsFloat32Number);
1057 int nChan = T_CHANNELS(info -> InputFormat);
1072 for (i=0; i < nChan; i++) {
1074 int index = DoSwap ? (nChan - i - 1) : i;
1090 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsFloat32Number));
1091 wIn[nChan-1] = tmp;
1097 return accum + (nChan + Extra) * sizeof(cmsFloat32Number);
1109 int nChan = T_CHANNELS(info -> InputFormat);
1124 for (i=0; i < nChan; i++) {
1126 int index = DoSwap ? (nChan - i - 1) : i;
1142 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsFloat32Number));
1143 wIn[nChan-1] = tmp;
1149 return accum + (nChan + Extra) * sizeof(cmsFloat64Number);
1280 int nChan = T_CHANNELS(info -> OutputFormat);
1296 for (i=0; i < nChan; i++) {
1298 int index = DoSwap ? (nChan - i - 1) : i;
1314 memmove(swap1 + 1, swap1, nChan-1);
1332 int nChan = T_CHANNELS(info -> OutputFormat);
1349 for (i=0; i < nChan; i++) {
1351 int index = DoSwap ? (nChan - i - 1) : i;
1372 memmove(swap1 + 1, swap1, (nChan-1)* sizeof(cmsUInt16Number));
1389 int nChan = T_CHANNELS(info -> OutputFormat);
1402 for (i=0; i < nChan; i++) {
1404 int index = DoSwap ? (nChan - i - 1) : i;
1423 int nChan = T_CHANNELS(info -> OutputFormat);
1435 for (i=0; i < nChan; i++) {
1437 int index = DoSwap ? (nChan - i - 1) : i;
2382 int nChan = T_CHANNELS(info -> OutputFormat);
2397 for (i=0; i < nChan; i++) {
2399 int index = DoSwap ? (nChan - i - 1) : i;
2415 memmove(swap1 + 1, swap1, (nChan-1)* sizeof(cmsFloat64Number));
2422 return output + (nChan + Extra) * sizeof(cmsFloat64Number);
2433 int nChan = T_CHANNELS(info->OutputFormat);
2448 for (i = 0; i < nChan; i++) {
2450 int index = DoSwap ? (nChan - i - 1) : i;
2466 memmove(swap1 + 1, swap1, (nChan - 1)* sizeof(cmsFloat32Number));
2473 return output + (nChan + Extra) * sizeof(cmsFloat32Number);
2486 int nChan = T_CHANNELS(info->OutputFormat);
2501 for (i = 0; i < nChan; i++) {
2503 int index = DoSwap ? (nChan - i - 1) : i;
2519 memmove(swap1 + 1, swap1, (nChan - 1)* sizeof(cmsFloat32Number));
2526 return output + (nChan + Extra) * sizeof(cmsFloat32Number);
2535 int nChan = T_CHANNELS(info->OutputFormat);
2550 for (i = 0; i < nChan; i++) {
2552 int index = DoSwap ? (nChan - i - 1) : i;
2567 memmove(swap1 + 1, swap1, (nChan - 1)* sizeof(cmsFloat64Number));
2575 return output + (nChan + Extra) * sizeof(cmsFloat64Number);
2709 int nChan = T_CHANNELS(info -> InputFormat);
2724 for (i=0; i < nChan; i++) {
2726 int index = DoSwap ? (nChan - i - 1) : i;
2742 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
2743 wIn[nChan-1] = tmp;
2749 return accum + (nChan + Extra) * sizeof(cmsUInt16Number);
2761 int nChan = T_CHANNELS(info -> InputFormat);
2776 for (i=0; i < nChan; i++) {
2778 int index = DoSwap ? (nChan - i - 1) : i;
2794 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsFloat32Number));
2795 wIn[nChan-1] = tmp;
2801 return accum + (nChan + Extra) * sizeof(cmsUInt16Number);
2811 int nChan = T_CHANNELS(info->OutputFormat);
2826 for (i = 0; i < nChan; i++) {
2828 int index = DoSwap ? (nChan - i - 1) : i;
2844 memmove(swap1 + 1, swap1, (nChan - 1)* sizeof(cmsUInt16Number));
2851 return output + (nChan + Extra) * sizeof(cmsUInt16Number);
2862 int nChan = T_CHANNELS(info->OutputFormat);
2877 for (i = 0; i < nChan; i++) {
2879 int index = DoSwap ? (nChan - i - 1) : i;
2895 memmove(swap1 + 1, swap1, (nChan - 1)* sizeof(cmsUInt16Number));
2902 return output + (nChan + Extra)* sizeof(cmsUInt16Number);