Lines Matching refs:cmsUInt16Number
38 #define CHANGE_ENDIAN(w) (cmsUInt16Number) ((cmsUInt16Number) ((w)<<8)|((w)>>8))
42 #define REVERSE_FLAVOR_16(x) ((cmsUInt16Number)(0xffff-(x)))
45 cmsINLINE cmsUInt16Number FomLabV2ToLabV4(cmsUInt16Number x)
49 return (cmsUInt16Number) a;
53 cmsINLINE cmsUInt16Number FomLabV4ToLabV2(cmsUInt16Number x)
55 return (cmsUInt16Number) (((x << 8) + 0x80) / 257);
96 register cmsUInt16Number wIn[],
106 cmsUInt16Number v;
127 cmsUInt16Number tmp = wIn[0];
129 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
143 register cmsUInt16Number wIn[],
161 cmsUInt16Number v = FROM_8_TO_16(*accum);
173 register cmsUInt16Number wIn[],
190 register cmsUInt16Number wIn[],
207 register cmsUInt16Number wIn[],
225 register cmsUInt16Number wIn[],
242 register cmsUInt16Number wIn[],
259 register cmsUInt16Number wIn[],
275 register cmsUInt16Number wIn[],
292 register cmsUInt16Number wIn[],
309 register cmsUInt16Number wIn[],
328 register cmsUInt16Number wIn[],
344 register cmsUInt16Number wIn[],
360 register cmsUInt16Number wIn[],
377 register cmsUInt16Number wIn[],
381 wIn[0] = FomLabV2ToLabV4(*(cmsUInt16Number*) accum); accum += 2; // L
382 wIn[1] = FomLabV2ToLabV4(*(cmsUInt16Number*) accum); accum += 2; // a
383 wIn[2] = FomLabV2ToLabV4(*(cmsUInt16Number*) accum); accum += 2; // b
394 register cmsUInt16Number wIn[],
413 register cmsUInt16Number wIn[],
428 register cmsUInt16Number wIn[],
443 register cmsUInt16Number wIn[],
458 register cmsUInt16Number wIn[],
473 register cmsUInt16Number wIn[],
487 accum += Extra * sizeof(cmsUInt16Number);
493 cmsUInt16Number v = *(cmsUInt16Number*) accum;
500 accum += sizeof(cmsUInt16Number);
504 accum += Extra * sizeof(cmsUInt16Number);
509 cmsUInt16Number tmp = wIn[0];
511 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
522 register cmsUInt16Number wIn[],
534 accum += T_EXTRA(info -> InputFormat) * Stride * sizeof(cmsUInt16Number);
540 cmsUInt16Number v = *(cmsUInt16Number*) accum;
547 accum += Stride * sizeof(cmsUInt16Number);
550 return (Init + sizeof(cmsUInt16Number));
556 register cmsUInt16Number wIn[],
560 wIn[0] = *(cmsUInt16Number*) accum; accum+= 2; // C
561 wIn[1] = *(cmsUInt16Number*) accum; accum+= 2; // M
562 wIn[2] = *(cmsUInt16Number*) accum; accum+= 2; // Y
563 wIn[3] = *(cmsUInt16Number*) accum; accum+= 2; // K
573 register cmsUInt16Number wIn[],
577 wIn[0] = REVERSE_FLAVOR_16(*(cmsUInt16Number*) accum); accum+= 2; // C
578 wIn[1] = REVERSE_FLAVOR_16(*(cmsUInt16Number*) accum); accum+= 2; // M
579 wIn[2] = REVERSE_FLAVOR_16(*(cmsUInt16Number*) accum); accum+= 2; // Y
580 wIn[3] = REVERSE_FLAVOR_16(*(cmsUInt16Number*) accum); accum+= 2; // K
590 register cmsUInt16Number wIn[],
594 wIn[3] = *(cmsUInt16Number*) accum; accum+= 2; // K
595 wIn[0] = *(cmsUInt16Number*) accum; accum+= 2; // C
596 wIn[1] = *(cmsUInt16Number*) accum; accum+= 2; // M
597 wIn[2] = *(cmsUInt16Number*) accum; accum+= 2; // Y
608 register cmsUInt16Number wIn[],
612 wIn[3] = *(cmsUInt16Number*) accum; accum+= 2; // K
613 wIn[2] = *(cmsUInt16Number*) accum; accum+= 2; // Y
614 wIn[1] = *(cmsUInt16Number*) accum; accum+= 2; // M
615 wIn[0] = *(cmsUInt16Number*) accum; accum+= 2; // C
625 register cmsUInt16Number wIn[],
629 wIn[2] = *(cmsUInt16Number*) accum; accum+= 2; // K
630 wIn[1] = *(cmsUInt16Number*) accum; accum+= 2; // Y
631 wIn[0] = *(cmsUInt16Number*) accum; accum+= 2; // M
632 wIn[3] = *(cmsUInt16Number*) accum; accum+= 2; // C
642 register cmsUInt16Number wIn[],
646 wIn[0] = *(cmsUInt16Number*) accum; accum+= 2; // C R
647 wIn[1] = *(cmsUInt16Number*) accum; accum+= 2; // M G
648 wIn[2] = *(cmsUInt16Number*) accum; accum+= 2; // Y B
658 register cmsUInt16Number wIn[],
662 wIn[2] = *(cmsUInt16Number*) accum; accum+= 2; // C R
663 wIn[1] = *(cmsUInt16Number*) accum; accum+= 2; // M G
664 wIn[0] = *(cmsUInt16Number*) accum; accum+= 2; // Y B
674 register cmsUInt16Number wIn[],
679 wIn[2] = *(cmsUInt16Number*) accum; accum += 2; // R
680 wIn[1] = *(cmsUInt16Number*) accum; accum += 2; // G
681 wIn[0] = *(cmsUInt16Number*) accum; accum += 2; // B
691 register cmsUInt16Number wIn[],
696 wIn[0] = *(cmsUInt16Number*) accum; accum += 2; // R
697 wIn[1] = *(cmsUInt16Number*) accum; accum += 2; // G
698 wIn[2] = *(cmsUInt16Number*) accum; accum += 2; // B
708 register cmsUInt16Number wIn[],
712 wIn[0] = wIn[1] = wIn[2] = *(cmsUInt16Number*) accum; accum+= 2; // L
722 register cmsUInt16Number wIn[],
726 wIn[0] = wIn[1] = wIn[2] = REVERSE_FLAVOR_16(*(cmsUInt16Number*) accum); accum+= 2;
736 register cmsUInt16Number wIn[],
740 wIn[0] = wIn[1] = wIn[2] = *(cmsUInt16Number*) accum;
752 register cmsUInt16Number wIn[],
756 wIn[0] = *(cmsUInt16Number*) accum; accum += 2; // ch1
757 wIn[1] = *(cmsUInt16Number*) accum; accum += 2; // ch2
769 register cmsUInt16Number wIn[],
798 register cmsUInt16Number wIn[],
831 register cmsUInt16Number wIn[],
860 register cmsUInt16Number wIn[],
919 register cmsUInt16Number wIn[],
932 cmsUInt16Number vi;
959 cmsUInt16Number tmp = wIn[0];
961 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
975 register cmsUInt16Number wIn[],
988 cmsUInt16Number vi;
1015 cmsUInt16Number tmp = wIn[0];
1017 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
1033 register cmsUInt16Number wIn[],
1276 register cmsUInt16Number wOut[],
1328 register cmsUInt16Number wOut[],
1339 cmsUInt16Number* swap1;
1340 cmsUInt16Number v = 0;
1343 swap1 = (cmsUInt16Number*) output;
1346 output += Extra * sizeof(cmsUInt16Number);
1361 *(cmsUInt16Number*) output = v;
1363 output += sizeof(cmsUInt16Number);
1367 output += Extra * sizeof(cmsUInt16Number);
1372 memmove(swap1 + 1, swap1, (nChan-1)* sizeof(cmsUInt16Number));
1385 register cmsUInt16Number wOut[],
1419 register cmsUInt16Number wOut[],
1429 cmsUInt16Number v;
1432 output += T_EXTRA(info -> OutputFormat) * Stride * sizeof(cmsUInt16Number);
1447 *(cmsUInt16Number*) output = v;
1448 output += (Stride * sizeof(cmsUInt16Number));
1451 return (Init + sizeof(cmsUInt16Number));
1458 register cmsUInt16Number wOut[],
1479 register cmsUInt16Number wOut[],
1499 register cmsUInt16Number wOut[],
1503 *(cmsUInt16Number*) output = wOut[0];
1505 *(cmsUInt16Number*) output = wOut[1];
1507 *(cmsUInt16Number*) output = wOut[2];
1509 *(cmsUInt16Number*) output = wOut[3];
1511 *(cmsUInt16Number*) output = wOut[4];
1513 *(cmsUInt16Number*) output = wOut[5];
1525 register cmsUInt16Number wOut[],
1529 *(cmsUInt16Number*) output = wOut[5];
1531 *(cmsUInt16Number*) output = wOut[4];
1533 *(cmsUInt16Number*) output = wOut[3];
1535 *(cmsUInt16Number*) output = wOut[2];
1537 *(cmsUInt16Number*) output = wOut[1];
1539 *(cmsUInt16Number*) output = wOut[0];
1551 register cmsUInt16Number wOut[],
1568 register cmsUInt16Number wOut[],
1586 register cmsUInt16Number wOut[],
1604 register cmsUInt16Number wOut[],
1621 register cmsUInt16Number wOut[],
1638 register cmsUInt16Number wOut[],
1642 *(cmsUInt16Number*) output = wOut[0];
1644 *(cmsUInt16Number*) output = wOut[1];
1646 *(cmsUInt16Number*) output = wOut[2];
1648 *(cmsUInt16Number*) output = wOut[3];
1659 register cmsUInt16Number wOut[],
1663 *(cmsUInt16Number*) output = REVERSE_FLAVOR_16(wOut[0]);
1665 *(cmsUInt16Number*) output = REVERSE_FLAVOR_16(wOut[1]);
1667 *(cmsUInt16Number*) output = REVERSE_FLAVOR_16(wOut[2]);
1669 *(cmsUInt16Number*) output = REVERSE_FLAVOR_16(wOut[3]);
1681 register cmsUInt16Number wOut[],
1685 *(cmsUInt16Number*) output = wOut[3];
1687 *(cmsUInt16Number*) output = wOut[2];
1689 *(cmsUInt16Number*) output = wOut[1];
1691 *(cmsUInt16Number*) output = wOut[0];
1703 register cmsUInt16Number wOut[],
1707 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[0]);
1709 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[1]);
1711 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[2]);
1713 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[3]);
1725 register cmsUInt16Number wOut[],
1741 register cmsUInt16Number wOut[],
1758 register cmsUInt16Number wOut[],
1762 *(cmsUInt16Number*) output = FomLabV4ToLabV2(wOut[0]);
1764 *(cmsUInt16Number*) output = FomLabV4ToLabV2(wOut[1]);
1766 *(cmsUInt16Number*) output = FomLabV4ToLabV2(wOut[2]);
1777 register cmsUInt16Number wOut[],
1793 register cmsUInt16Number wOut[],
1809 register cmsUInt16Number wOut[],
1825 register cmsUInt16Number wOut[],
1842 register cmsUInt16Number wOut[],
1846 *(cmsUInt16Number*) output = wOut[0];
1848 *(cmsUInt16Number*) output = wOut[1];
1850 *(cmsUInt16Number*) output = wOut[2];
1861 register cmsUInt16Number wOut[],
1865 *(cmsUInt16Number*) output = wOut[2];
1867 *(cmsUInt16Number*) output = wOut[1];
1869 *(cmsUInt16Number*) output = wOut[0];
1880 register cmsUInt16Number wOut[],
1884 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[0]);
1886 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[1]);
1888 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[2]);
1899 register cmsUInt16Number wOut[],
1916 register cmsUInt16Number wOut[],
1934 register cmsUInt16Number wOut[],
1951 register cmsUInt16Number wOut[],
1968 register cmsUInt16Number wOut[],
1985 register cmsUInt16Number wOut[],
2003 register cmsUInt16Number wOut[],
2020 register cmsUInt16Number wOut[],
2037 register cmsUInt16Number wOut[],
2041 *(cmsUInt16Number*) output = wOut[0];
2043 *(cmsUInt16Number*) output = wOut[1];
2045 *(cmsUInt16Number*) output = wOut[2];
2057 register cmsUInt16Number wOut[],
2062 *(cmsUInt16Number*) output = wOut[2];
2064 *(cmsUInt16Number*) output = wOut[1];
2066 *(cmsUInt16Number*) output = wOut[0];
2078 register cmsUInt16Number wOut[],
2083 *(cmsUInt16Number*) output = wOut[0];
2085 *(cmsUInt16Number*) output = wOut[1];
2087 *(cmsUInt16Number*) output = wOut[2];
2099 register cmsUInt16Number wOut[],
2103 *(cmsUInt16Number*) output = wOut[2];
2105 *(cmsUInt16Number*) output = wOut[1];
2107 *(cmsUInt16Number*) output = wOut[0];
2121 register cmsUInt16Number wOut[],
2136 register cmsUInt16Number wOut[],
2151 register cmsUInt16Number wOut[],
2167 register cmsUInt16Number wOut[],
2182 register cmsUInt16Number wOut[],
2186 *(cmsUInt16Number*) output = wOut[0];
2198 register cmsUInt16Number wOut[],
2202 *(cmsUInt16Number*) output = REVERSE_FLAVOR_16(wOut[0]);
2213 register cmsUInt16Number wOut[],
2217 *(cmsUInt16Number*) output = CHANGE_ENDIAN(wOut[0]);
2229 register cmsUInt16Number wOut[],
2233 *(cmsUInt16Number*) output = wOut[0];
2244 register cmsUInt16Number wOut[],
2249 *(cmsUInt16Number*) output = wOut[0];
2262 register cmsUInt16Number wOut[],
2289 register cmsUInt16Number wOut[],
2318 register cmsUInt16Number wOut[],
2345 register cmsUInt16Number wOut[],
2378 register cmsUInt16Number wOut[],
2429 register cmsUInt16Number wOut[],
2704 register cmsUInt16Number wIn[],
2729 v = _cmsHalf2Float ( ((cmsUInt16Number*) accum)[(i + start) * Stride] );
2731 v = _cmsHalf2Float ( ((cmsUInt16Number*) accum)[i + start] ) ;
2740 cmsUInt16Number tmp = wIn[0];
2742 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number));
2747 return accum + sizeof(cmsUInt16Number);
2749 return accum + (nChan + Extra) * sizeof(cmsUInt16Number);
2781 v = _cmsHalf2Float ( ((cmsUInt16Number*) accum)[(i + start) * Stride] );
2783 v = _cmsHalf2Float ( ((cmsUInt16Number*) accum)[i + start] ) ;
2799 return accum + sizeof(cmsUInt16Number);
2801 return accum + (nChan + Extra) * sizeof(cmsUInt16Number);
2807 register cmsUInt16Number wOut[],
2820 cmsUInt16Number* swap1 = (cmsUInt16Number*)output;
2836 ((cmsUInt16Number*)output)[(i + start) * Stride] = _cmsFloat2Half(v);
2838 ((cmsUInt16Number*)output)[i + start] = _cmsFloat2Half(v);
2844 memmove(swap1 + 1, swap1, (nChan - 1)* sizeof(cmsUInt16Number));
2849 return output + sizeof(cmsUInt16Number);
2851 return output + (nChan + Extra) * sizeof(cmsUInt16Number);
2870 cmsUInt16Number* swap1 = (cmsUInt16Number*)output;
2887 ((cmsUInt16Number*)output)[(i + start)* Stride] = _cmsFloat2Half(v);
2889 ((cmsUInt16Number*)output)[i + start] = _cmsFloat2Half(v);
2895 memmove(swap1 + 1, swap1, (nChan - 1)* sizeof(cmsUInt16Number));
2896 *swap1 = (cmsUInt16Number)_cmsFloat2Half(v);
2900 return output + sizeof(cmsUInt16Number);
2902 return output + (nChan + Extra)* sizeof(cmsUInt16Number);