Lines Matching refs:n

789 -    sDescription += "ELEM_bACS\r\n";
790 + sDescription += "ELEM_bACS\n";
792 - sDescription += "ELEM_eACS\r\n";
793 + sDescription += "ELEM_eACS\n";
798 - sDescription += "\r\n";
799 + sDescription += "\n";
802 - sDescription += "\r\nData Follows:\r\n";
803 + sDescription += "\nData Follows:\n";
813 - sprintf(buf, "]\r\nFunctionType: %04Xh\r\n", m_nFunctionType);
814 + sprintf(buf, "]\nFunctionType: %04Xh\n", m_nFunctionType);
820 - sprintf(buf, "Y = %.8f\r\n\r\n", m_params[3]);
821 + sprintf(buf, "Y = %.8f\n\n", m_params[3]);
823 - sprintf(buf, "Y = X\r\n\r\n");
824 + sprintf(buf, "Y = X\n\n");
826 - sprintf(buf, "Y = %.8f * X + %.8f\r\n\r\n",
827 + sprintf(buf, "Y = %.8f * X + %.8f\n\n",
830 - sprintf(buf, "Y = (%.8f * X + %.8f)^%.4f + %.8f\r\n\r\n",
831 + sprintf(buf, "Y = (%.8f * X + %.8f)^%.4f + %.8f\n\n",
837 - sprintf(buf, "Y = %.8f * log (%.8f * (X ^ %.8f) + %.8f) + %.8f\r\n\r\n",
838 + sprintf(buf, "Y = %.8f * log (%.8f * (X ^ %.8f) + %.8f) + %.8f\n\n",
844 - sprintf(buf, "Y = %.8f * (%.8f ^ (%.8f * X + %.8f)) + %.8f\r\n\r\n",
845 + sprintf(buf, "Y = %.8f * (%.8f ^ (%.8f * X + %.8f)) + %.8f\n\n",
853 - sprintf(buf, "Unknown Function with %d parameters:\r\n\r\n", m_nParameters);
854 + sprintf(buf, "Unknown Function with %d parameters:\n\n", m_nParameters);
858 - sprintf(buf, "Param[%d] = %.8lf\r\n\r\n", i, m_params[i]);
859 + sprintf(buf, "Param[%d] = %.8lf\n\n", i, m_params[i]);
867 - sReport += " formula curve has non zero reserved data.\r\n";
868 + sReport += " formula curve has non zero reserved data.\n";
876 - sReport += " formula curve has Invalid formulaCurveSegment parameters.\r\n";
877 + sReport += " formula curve has Invalid formulaCurveSegment parameters.\n";
883 - sReport += " formula curve has too many formulaCurveSegment parameters.\r\n";
884 + sReport += " formula curve has too many formulaCurveSegment parameters.\n";
892 - sReport += " formula curve has Invalid formulaCurveSegment parameters.\r\n";
893 + sReport += " formula curve has Invalid formulaCurveSegment parameters.\n";
899 - sReport += " formula curve has too many formulaCurveSegment parameters.\r\n";
900 + sReport += " formula curve has too many formulaCurveSegment parameters.\n";
908 - sReport += " formula curve has Invalid formulaCurveSegment parameters.\r\n";
909 + sReport += " formula curve has Invalid formulaCurveSegment parameters.\n";
915 - sReport += " formula curve has too many formulaCurveSegment parameters.\r\n";
916 + sReport += " formula curve has too many formulaCurveSegment parameters.\n";
924 - sprintf(buf, " formula curve uses unknown formulaCurveSegment function type %d\r\n", m_nFunc…
925 + sprintf(buf, " formula curve uses unknown formulaCurveSegment function type %d\n", m_nFuncti…
933 - sprintf(buf, "]\r\n");
934 + sprintf(buf, "]\n");
942 - sprintf(buf, "]\r\n");
943 + sprintf(buf, "]\n");
945 - sDescription += "IN OUT\r\n";
946 + sDescription += "IN OUT\n";
954 - sprintf(buf, "%.8f %.8f\r\n", m_startPoint + (icFloatNumber)i*range/last, m_pSamples[i]);
955 + sprintf(buf, "%.8f %.8f\n", m_startPoint + (icFloatNumber)i*range/last, m_pSamples[i]);
959 - sDescription += "\r\n";
960 + sDescription += "\n";
968 - sReport += " sampled curve has non zero reserved data.\r\n";
969 + sReport += " sampled curve has non zero reserved data.\n";
977 - sReport += " sampled curve has too few sample points.\r\n";
978 + sReport += " sampled curve has too few sample points.\n";
984 - sReport += " sampled curve has a range of zero.\r\n";
985 + sReport += " sampled curve has a range of zero.\n";
993 - sDescription += "BEGIN_CURVE\r\n";
994 + sDescription += "BEGIN_CURVE\n";
1002 - sReport += " Segmented curve has non zero reserved data.\r\n";
1003 + sReport += " Segmented curve has non zero reserved data.\n";
1011 - sReport += " Has Empty CurveSegment!\r\n";
1012 + sReport += " Has Empty CurveSegment!\n";
1020 - sprintf(buf, "BEGIN_CURVE_SET %d\r\n", m_nInputChannels);
1021 + sprintf(buf, "BEGIN_CURVE_SET %d\n", m_nInputChannels);
1025 - sprintf(buf, "Curve %d of %d\r\n", i+1, m_nInputChannels);
1026 + sprintf(buf, "Curve %d of %d\n", i+1, m_nInputChannels);
1034 - sReport += " Has Empty Curve Element(s)!\r\n";
1035 + sReport += " Has Empty Curve Element(s)!\n";
1043 - sprintf(buf, "BEGIN_ELEM_MATRIX %d %d\r\n", m_nInputChannels, m_nOutputChannels);
1044 + sprintf(buf, "BEGIN_ELEM_MATRIX %d %d\n", m_nInputChannels, m_nOutputChannels);
1052 - sprintf(buf, " + %12.8lf\r\n", m_pConstants[j]);
1053 + sprintf(buf, " + %12.8lf\n", m_pConstants[j]);
1061 - sReport += " Has Empty Matrix data!\r\n";
1062 + sReport += " Has Empty Matrix data!\n";
1070 - sReport += " Has No CLUT!\r\n";
1071 + sReport += " Has No CLUT!\n";
1121 - sReport += " - Unable to read profile!**\r\n\tProfile has invalid structure!\r\n";
1122 + sReport += " - Unable to read profile!**\n\tProfile has invalid structure!\n";
1130 - sReport += "Bad Header File Size\r\n";
1131 + sReport += "Bad Header File Size\n";
1139 - sReport += "Bad Profile ID\r\n";
1140 + sReport += "Bad Profile ID\n";
1148 - sReport += " - Tag has invalid structure!\r\n";
1149 + sReport += " - Tag has invalid structure!\n";
1157 - sprintf(buf, " - %s: Unknown profile class!\r\n", Info.GetProfileClassSigName(m_Header.deviceC…
1158 + sprintf(buf, " - %s: Unknown profile class!\n", Info.GetProfileClassSigName(m_Header.deviceCla…
1166 - sprintf(buf, " - %s: Unknown color space!\r\n", Info.GetColorSpaceSigName(m_Header.colorSpace)…
1167 + sprintf(buf, " - %s: Unknown color space!\n", Info.GetColorSpaceSigName(m_Header.colorSpace));
1175 - sprintf(buf, " - %s: Unknown pcs color space!\r\n", Info.GetColorSpaceSigName(m_Header.pcs));
1176 + sprintf(buf, " - %s: Unknown pcs color space!\n", Info.GetColorSpaceSigName(m_Header.pcs));
1184 - sprintf(buf, " - %s: Invalid pcs color space!\r\n", Info.GetColorSpaceSigName(m_Header.pcs));
1185 + sprintf(buf, " - %s: Invalid pcs color space!\n", Info.GetColorSpaceSigName(m_Header.pcs));
1193 - sprintf(buf, " - %s: Unknown platform signature.\r\n", Info.GetPlatformSigName(m_Header.platfo…
1194 + sprintf(buf, " - %s: Unknown platform signature.\n", Info.GetPlatformSigName(m_Header.platform…
1202 - sprintf(buf, " - %s: Unregisterd CMM signature.\r\n", Info.GetCmmSigName((icCmmSignature)m_Hea…
1203 + sprintf(buf, " - %s: Unregisterd CMM signature.\n", Info.GetCmmSigName((icCmmSignature)m_Heade…
1211 - sprintf(buf, " - %s: Unknown rendering intent!\r\n", Info.GetRenderingIntentName((icRenderingI…
1212 + sprintf(buf, " - %s: Unknown rendering intent!\n", Info.GetRenderingIntentName((icRenderingInt…
1220 - sReport += " - Non D50 Illuminant XYZ values.\r\n";
1221 + sReport += " - Non D50 Illuminant XYZ values.\n";
1229 - sReport += " - Reserved value must be zero.\r\n";
1230 + sReport += " - Reserved value must be zero.\n";
1238 - sReport += " - Tag exclusion test failed.\r\n";
1239 + sReport += " - Tag exclusion test failed.\n";
1247 - sReport += " - Tag exclusion test failed.\r\n";
1248 + sReport += " - Tag exclusion test failed.\n";
1256 - sReport += " - Tag exclusion test failed.\r\n";
1257 + sReport += " - Tag exclusion test failed.\n";
1265 - sprintf(buf," - %s: Invalid tag type (Might be critical!).\r\n", Info.GetTagTypeSigName(type…
1266 + sprintf(buf," - %s: Invalid tag type (Might be critical!).\n", Info.GetTagTypeSigName(typesi…
1274 - sReport += "No tags present.\r\n";
1275 + sReport += "No tags present.\n";
1283 - sReport += "Required tags missing.\r\n";
1284 + sReport += "Required tags missing.\n";
1292 - sReport += "Media white point tag missing.\r\n";
1293 + sReport += "Media white point tag missing.\n";
1301 - sReport += "Gray TRC tag missing.\r\n";
1302 + sReport += "Gray TRC tag missing.\n";
1310 - sReport += "Critical tag(s) missing.\r\n";
1311 + sReport += "Critical tag(s) missing.\n";
1319 - sReport += "Gray TRC tag missing.\r\n";
1320 + sReport += "Gray TRC tag missing.\n";
1328 - sReport += "Critical tag(s) missing.\r\n";
1329 + sReport += "Critical tag(s) missing.\n";
1337 - sReport += "Gray TRC tag missing.\r\n";
1338 + sReport += "Gray TRC tag missing.\n";
1346 - sReport += "Critical tag(s) missing.\r\n";
1347 + sReport += "Critical tag(s) missing.\n";
1353 - sReport += "Gamut tag missing.\r\n";
1354 + sReport += "Gamut tag missing.\n";
1362 - sReport += "xCLR output profile is missing colorantTableTag\r\n";
1363 + sReport += "xCLR output profile is missing colorantTableTag\n";
1371 - sReport += "Critical tag(s) missing.\r\n";
1372 + sReport += "Critical tag(s) missing.\n";
1380 - sReport += "Required tag(s) missing.\r\n";
1381 + sReport += "Required tag(s) missing.\n";
1389 - sReport += "Required tag(s) missing.\r\n";
1390 + sReport += "Required tag(s) missing.\n";
1398 - sReport += "Critical tag(s) missing.\r\n";
1399 + sReport += "Critical tag(s) missing.\n";
1407 - sReport += "Critical tag(s) missing.\r\n";
1408 + sReport += "Critical tag(s) missing.\n";
1416 - sReport += "Critical tag(s) missing.\r\n";
1417 + sReport += "Critical tag(s) missing.\n";
1425 - sReport += "Unknown Profile Class.\r\n";
1426 + sReport += "Unknown Profile Class.\n";
1434 - sReport += " - There are duplicate tags.\r\n";
1435 + sReport += " - There are duplicate tags.\n";
1443 - sReport += "- Invalid Filename\r\n";
1444 + sReport += "- Invalid Filename\n";
1454 - sReport += " - Reserved Value must be zero.\r\n";
1455 + sReport += " - Reserved Value must be zero.\n";
1463 - sDescription += "\r\n\r\nData Follows:\r\n";
1464 + sDescription += "\n\nData Follows:\n";
1472 - sDescription += "\"\r\n";
1473 + sDescription += "\"\n";
1481 - sReport += " - Tag must have at least seven text characters.\r\n";
1482 + sReport += " - Tag must have at least seven text characters.\n";
1490 - sReport += " - Unknown Tag.\r\n";
1491 + sReport += " - Unknown Tag.\n";
1499 - sReport += " - Text do not contain 7bit data.\r\n";
1500 + sReport += " - Text do not contain 7bit data.\n";
1508 - sReport += " - Empty Tag.\r\n";
1509 + sReport += " - Empty Tag.\n";
1517 - sDescription += "\"\r\n";
1518 + sDescription += "\"\n";
1526 - sReport += " - ScriptCode count must not be greater than 67.\r\n";
1527 + sReport += " - ScriptCode count must not be greater than 67.\n";
1535 - sDescription += "\r\n";
1536 + sDescription += "\n";
1544 - sprintf(buf, " - %s: Unknown Technology.\r\n", Info.GetSigName(m_nSig));
1545 + sprintf(buf, " - %s: Unknown Technology.\n", Info.GetSigName(m_nSig));
1553 - sprintf(buf, " - %s: Unknown Reference Medium Gamut.\r\n", Info.GetSigName(m_nSig));
1554 + sprintf(buf, " - %s: Unknown Reference Medium Gamut.\n", Info.GetSigName(m_nSig));
1562 - sprintf(buf, " - %s: Unknown Colorimetric Intent Image State.\r\n", Info.GetSigName(m_nSig…
1563 + sprintf(buf, " - %s: Unknown Colorimetric Intent Image State.\n", Info.GetSigName(m_nSig));
1571 - sprintf(buf, "BEGIN_NAMED_COLORS flags=%08x %u %u\r\n", m_nVendorFlags, m_nSize, m_nDeviceCoords…
1572 + sprintf(buf, "BEGIN_NAMED_COLORS flags=%08x %u %u\n", m_nVendorFlags, m_nSize, m_nDeviceCoords);
1580 - sDescription += "\r\n";
1581 + sDescription += "\n";
1589 - sReport += " - Empty tag!\r\n";
1590 + sReport += " - Empty tag!\n";
1598 - sReport += " - Incorrect number of device co-ordinates.\r\n";
1599 + sReport += " - Incorrect number of device co-ordinates.\n";
1607 - sReport += " - Tag validation incomplete: Pointer to profile unavailable.\r\n";
1608 + sReport += " - Tag validation incomplete: Pointer to profile unavailable.\n";
1616 - sprintf(buf, "X=%.4lf, Y=%.4lf, Z=%.4lf\r\n", icFtoD(m_XYZ[0].X), icFtoD(m_XYZ[0].Y), icFtoD(m…
1617 + sprintf(buf, "X=%.4lf, Y=%.4lf, Z=%.4lf\n", icFtoD(m_XYZ[0].X), icFtoD(m_XYZ[0].Y), icFtoD(m_X…
1625 - sprintf(buf, "value[%u]: X=%.4lf, Y=%.4lf, Z=%.4lf\r\n", i, icFtoD(m_XYZ[i].X), icFtoD(m_XYZ…
1626 + sprintf(buf, "value[%u]: X=%.4lf, Y=%.4lf, Z=%.4lf\n", i, icFtoD(m_XYZ[i].X), icFtoD(m_XYZ[i…
1634 - sReport += " - Empty tag.\r\n";
1635 + sReport += " - Empty tag.\n";
1643 - sprintf(buf, "Number of Channels : %u\r\n", m_nChannels);
1644 + sprintf(buf, "Number of Channels : %u\n", m_nChannels);
1647 - sprintf(buf, "Colorant Encoding : %s\r\n", Fmt.GetColorantEncoding((icColorantEncoding)m_nColora…
1648 + sprintf(buf, "Colorant Encoding : %s\n", Fmt.GetColorantEncoding((icColorantEncoding)m_nColorant…
1652 - sprintf(buf, "value[%u]: x=%.3lf, y=%.3lf\r\n", i, icUFtoD(m_xy[i].x), icUFtoD(m_xy[i].y));
1653 + sprintf(buf, "value[%u]: x=%.3lf, y=%.3lf\n", i, icUFtoD(m_xy[i].x), icUFtoD(m_xy[i].y));
1661 - sReport += " - Number of device channels must be three.\r\n";
1662 + sReport += " - Number of device channels must be three.\n";
1670 - sReport += " - Chromaticity data does not match specification.\r\n";
1671 + sReport += " - Chromaticity data does not match specification.\n";
1679 - sReport += " - Chromaticity data does not match specification.\r\n";
1680 + sReport += " - Chromaticity data does not match specification.\n";
1688 - sReport += " - Chromaticity data does not match specification.\r\n";
1689 + sReport += " - Chromaticity data does not match specification.\n";
1697 - sReport += " - Chromaticity data does not match specification.\r\n";
1698 + sReport += " - Chromaticity data does not match specification.\n";
1706 - sReport += " - Invalid colorant type encoding.\r\n";
1707 + sReport += " - Invalid colorant type encoding.\n";
1715 - sprintf(buf, "Value = %.4lf\r\n", icFtoD(m_Num[0]));
1716 + sprintf(buf, "Value = %.4lf\n", icFtoD(m_Num[0]));
1718 - sprintf(buf, "Value = %.4lf\r\n", icUFtoD(m_Num[0]));
1719 + sprintf(buf, "Value = %.4lf\n", icUFtoD(m_Num[0]));
1727 - sDescription += "Matrix Form:\r\n";
1728 + sDescription += "Matrix Form:\n";
1731 - sDescription += "\r\nArrayForm:\r\n";
1732 + sDescription += "\nArrayForm:\n";
1738 - sprintf(buf, "Value[%u] = %.4lf\r\n", i, icFtoD(m_Num[i]));
1739 + sprintf(buf, "Value[%u] = %.4lf\n", i, icFtoD(m_Num[i]));
1741 - sprintf(buf, "Value[%u] = %.4lf\r\n", i, icUFtoD(m_Num[i]));
1742 + sprintf(buf, "Value[%u] = %.4lf\n", i, icUFtoD(m_Num[i]));
1750 - sprintf(buf, "Value = %u (0x%x)\r\n", m_Num[0], m_Num[0]);
1751 + sprintf(buf, "Value = %u (0x%x)\n", m_Num[0], m_Num[0]);
1759 - sprintf(buf, "Value[%u] = %u (0x%x)\r\n", i, m_Num[i], m_Num[i]);
1760 + sprintf(buf, "Value[%u] = %u (0x%x)\n", i, m_Num[i], m_Num[i]);
1768 - sDescription += Fmt.GetStandardObserverName(m_Data.stdObserver); sDescription += "\r\n";
1769 - sprintf(buf, "Backing measurement: X=%.4lf, Y=%.4lf, Z=%.4lf\r\n",
1770 + sDescription += Fmt.GetStandardObserverName(m_Data.stdObserver); sDescription += "\n";
1771 + sprintf(buf, "Backing measurement: X=%.4lf, Y=%.4lf, Z=%.4lf\n",
1776 - sDescription += Fmt.GetMeasurementGeometryName(m_Data.geometry); sDescription += "\r\n";
1777 - sDescription += Fmt.GetMeasurementFlareName(m_Data.flare); sDescription += "\r\n";
1778 - sDescription += Fmt.GetIlluminantName(m_Data.illuminant); sDescription += "\r\n";
1779 + sDescription += Fmt.GetMeasurementGeometryName(m_Data.geometry); sDescription += "\n";
1780 + sDescription += Fmt.GetMeasurementFlareName(m_Data.flare); sDescription += "\n";
1781 + sDescription += Fmt.GetIlluminantName(m_Data.illuminant); sDescription += "\n";
1789 - sReport += " - Invalid standard observer encoding.\r\n";
1790 + sReport += " - Invalid standard observer encoding.\n";
1798 - sReport += " - Invalid measurement geometry encoding.\r\n";
1799 + sReport += " - Invalid measurement geometry encoding.\n";
1807 - sReport += " - Invalid standard illuminant encoding.\r\n";
1808 + sReport += " - Invalid standard illuminant encoding.\n";
1816 - sDescription += "\r\n";
1817 + sDescription += "\n";
1819 - sprintf(szBuf, "Language = '%c%c', Region = '%c%c'\r\n",
1820 + sprintf(szBuf, "Language = '%c%c', Region = '%c%c'\n",
1828 - sDescription += "\"\r\n";
1829 + sDescription += "\"\n";
1837 - sReport += " - Empty tag!\r\n";
1838 + sReport += " - Empty tag!\n";
1846 - sDescription = "\r\nData:\r\n";
1847 + sDescription = "\nData:\n";
1850 - sprintf(buf, "%s\r\n", (icChar*)m_pData);
1851 + sprintf(buf, "%s\n", (icChar*)m_pData);
1856 - sprintf(buf, "%d\r\n", m_pData[i]);
1857 + sprintf(buf, "%d\n", m_pData[i]);
1865 - sReport += " - Invalid data flag encoding.\r\n";
1866 + sReport += " - Invalid data flag encoding.\n";
1874 - sprintf(buf, "%u-%u-%u\r\n", m_DateTime.month, m_DateTime.day, m_DateTime.year);
1875 + sprintf(buf, "%u-%u-%u\n", m_DateTime.month, m_DateTime.day, m_DateTime.year);
1879 - sprintf(buf, "%u:%u:%u\r\n", m_DateTime.hours, m_DateTime.minutes, m_DateTime.seconds);
1880 + sprintf(buf, "%u:%u:%u\n", m_DateTime.hours, m_DateTime.minutes, m_DateTime.seconds);
1888 - sprintf(buf, "Colorant Count : %u\r\n", m_nCount);
1889 + sprintf(buf, "Colorant Count : %u\n", m_nCount);
1891 - sDescription += "Order of Colorants:\r\n";
1892 + sDescription += "Order of Colorants:\n";
1895 - sprintf(buf, "%u\r\n", m_pData[i]);
1896 + sprintf(buf, "%u\n", m_pData[i]);
1904 - sReport += " - Tag validation incomplete: Pointer to profile unavailable.\r\n";
1905 + sReport += " - Tag validation incomplete: Pointer to profile unavailable.\n";
1913 - sReport += " - Incorrect number of colorants.\r\n";
1914 + sReport += " - Incorrect number of colorants.\n";
1922 - sprintf(buf, "BEGIN_COLORANTS %u\r\n", m_nCount);
1923 + sprintf(buf, "BEGIN_COLORANTS %u\n", m_nCount);
1931 - sprintf(buf, "XYZ_X XYZ_Y XYZ_Z\r\n");
1932 + sprintf(buf, "XYZ_X XYZ_Y XYZ_Z\n");
1936 - sprintf(buf, "Lab_L Lab_a Lab_b\r\n");
1937 + sprintf(buf, "Lab_L Lab_a Lab_b\n");
1945 - sprintf(buf, "%7.4lf %7.4lf %7.4lf\r\n", icUSFtoD(m_pData[i].data[0]), icUSFtoD(m_pData[i].d…
1946 + sprintf(buf, "%7.4lf %7.4lf %7.4lf\n", icUSFtoD(m_pData[i].data[0]), icUSFtoD(m_pData[i].dat…
1954 - sprintf(buf, "%7.4lf %8.4lf %8.4lf\r\n", Lab[0], Lab[1], Lab[2]);
1955 + sprintf(buf, "%7.4lf %8.4lf %8.4lf\n", Lab[0], Lab[1], Lab[2]);
1963 - sReport += " - Tag validation incomplete: Pointer to profile unavailable.\r\n";
1964 + sReport += " - Tag validation incomplete: Pointer to profile unavailable.\n";
1972 - sReport += " - Use of this tag is allowed only in DeviceLink Profiles.\r\n";
1973 + sReport += " - Use of this tag is allowed only in DeviceLink Profiles.\n";
1981 - sReport += " - Incorrect number of colorants.\r\n";
1982 + sReport += " - Incorrect number of colorants.\n";
1990 - sprintf(buf, "Illuminant Tristimulus values: X = %.4lf, Y = %.4lf, Z = %.4lf\r\n",
1991 + sprintf(buf, "Illuminant Tristimulus values: X = %.4lf, Y = %.4lf, Z = %.4lf\n",
1997 - sprintf(buf, "Surround Tristimulus values: X = %.4lf, Y = %.4lf, Z = %.4lf\r\n",
1998 + sprintf(buf, "Surround Tristimulus values: X = %.4lf, Y = %.4lf, Z = %.4lf\n",
2006 - sDescription += "\r\n";
2007 + sDescription += "\n";
2015 - sprintf(buf, "Number of Profile Description Structures: %u\r\n", m_Descriptions->size());
2016 + sprintf(buf, "Number of Profile Description Structures: %u\n", m_Descriptions->size());
2020 - sDescription += "\r\n";
2021 + sDescription += "\n";
2023 - sprintf(buf, "Profile Description Structure Number [%u] follows:\r\n", count+1);
2024 + sprintf(buf, "Profile Description Structure Number [%u] follows:\n", count+1);
2027 - sprintf(buf, "Device Manufacturer Signature: %s\r\n", icGetSig(buf2, i->m_deviceMfg, false));
2028 + sprintf(buf, "Device Manufacturer Signature: %s\n", icGetSig(buf2, i->m_deviceMfg, false));
2031 - sprintf(buf, "Device Model Signature: %s\r\n", icGetSig(buf2, i->m_deviceModel, false));
2032 + sprintf(buf, "Device Model Signature: %s\n", icGetSig(buf2, i->m_deviceModel, false));
2035 - sprintf(buf, "Device Attributes: %08x%08x\r\n", (icUInt32Number)(i->m_attributes >> 32), (icUI…
2036 + sprintf(buf, "Device Attributes: %08x%08x\n", (icUInt32Number)(i->m_attributes >> 32), (icUInt…
2039 - sprintf(buf, "Device Technology Signature: %s\r\n", icGetSig(buf2, i->m_technology, false));
2040 + sprintf(buf, "Device Technology Signature: %s\n", icGetSig(buf2, i->m_technology, false));
2043 - sprintf(buf, "Description of device manufacturer: \r\n");
2044 + sprintf(buf, "Description of device manufacturer: \n");
2048 - sprintf(buf, "Description of device model: \r\n");
2049 + sprintf(buf, "Description of device model: \n");
2057 - sprintf(buf, " - %s: Unknown Technology.\r\n", Info.GetSigName(i->m_technology));
2058 + sprintf(buf, " - %s: Unknown Technology.\n", Info.GetSigName(i->m_technology));
2066 - sReport += " Contains non-aligned deviceMfgDesc text tag information\r\n";
2067 + sReport += " Contains non-aligned deviceMfgDesc text tag information\n";
2075 - sReport += " Contains non-aligned deviceModelDesc text tag information\r\n";
2076 + sReport += " Contains non-aligned deviceModelDesc text tag information\n";
2084 - sDescription += Fmt.GetMeasurementUnit((icSignature)GetMeasurementType()); sDescription += "\r\n
2085 + sDescription += Fmt.GetMeasurementUnit((icSignature)GetMeasurementType()); sDescription += "\n";
2091 - sDescription += "\r\n";
2092 - sprintf(buf, "Maximum Colorant XYZ Measurement for Channel-%u : X=%.4lf, Y=%.4lf, Z=%.4lf\r\n"…
2093 + sDescription += "\n";
2094 + sprintf(buf, "Maximum Colorant XYZ Measurement for Channel-%u : X=%.4lf, Y=%.4lf, Z=%.4lf\n", …
2098 - sprintf(buf, "Number of Measurements for Channel-%u : %u\r\n", i+1, nResponseList.size());
2099 + sprintf(buf, "Number of Measurements for Channel-%u : %u\n", i+1, nResponseList.size());
2102 - sprintf(buf, "Measurement Data for Channel-%u follows:\r\n", i+1);
2103 + sprintf(buf, "Measurement Data for Channel-%u follows:\n", i+1);
2107 - sprintf(buf, "Device Value= %u : Measurement Value= %.4lf\r\n", j->deviceCode, icFtoD(j->mea…
2108 + sprintf(buf, "Device Value= %u : Measurement Value= %.4lf\n", j->deviceCode, icFtoD(j->measu…
2116 - sReport += " - Unknown measurement unit signature.\r\n";
2117 + sReport += " - Unknown measurement unit signature.\n";
2125 - sReport += " - Incorrect number of channels.\r\n";
2126 + sReport += " - Incorrect number of channels.\n";
2134 - sprintf(buf, "Number of Channels: %u\r\n", m_nChannels);
2135 + sprintf(buf, "Number of Channels: %u\n", m_nChannels);
2138 - sprintf(buf, "Number of Measurement Types used: %u\r\n", m_ResponseCurves->size());
2139 + sprintf(buf, "Number of Measurement Types used: %u\n", m_ResponseCurves->size());
2144 - sDescription += "\r\n";
2145 + sDescription += "\n";
2147 - sprintf(buf, "Response Curve for measurement type [%u] follows:\r\n", count+1);
2148 + sprintf(buf, "Response Curve for measurement type [%u] follows:\n", count+1);
2156 - sReport += " - Tag validation incomplete: Pointer to profile unavailable.\r\n";
2157 + sReport += " - Tag validation incomplete: Pointer to profile unavailable.\n";
2165 - sReport += " - Incorrect number of channels.\r\n";
2166 + sReport += " - Incorrect number of channels.\n";
2172 - sReport += " - Empty Tag!.\r\n";
2173 + sReport += " - Empty Tag!.\n";
2183 - sprintf(buf, "BEGIN_CURVE In_Out\r\n");
2184 + sprintf(buf, "BEGIN_CURVE In_Out\n");
2186 - sDescription += "Y = X\r\n";
2187 + sDescription += "Y = X\n";
2191 - sprintf(buf, "BEGIN_CURVE In_Out\r\n");
2192 + sprintf(buf, "BEGIN_CURVE In_Out\n");
2194 - sprintf(buf, "Y = X ^ %.4lf\r\n", dGamma);
2195 + sprintf(buf, "Y = X ^ %.4lf\n", dGamma);
2201 - sprintf(buf, "BEGIN_LUT In_Out 1 1\r\n");
2202 + sprintf(buf, "BEGIN_LUT In_Out 1 1\n");
2204 - sDescription += "IN OUT\r\n";
2205 + sDescription += "IN OUT\n";
2213 - strcpy(ptr, "\r\n");
2214 + strcpy(ptr, "\n");
2219 - sDescription += "\r\n";
2220 + sDescription += "\n";
2228 - sprintf(buf, "BEGIN_CURVE %s\r\n", szName);
2229 + sprintf(buf, "BEGIN_CURVE %s\n", szName);
2231 - sDescription += "Y = X\r\n";
2232 + sDescription += "Y = X\n";
2236 - sprintf(buf, "BEGIN_CURVE %s\r\n", szName);
2237 + sprintf(buf, "BEGIN_CURVE %s\n", szName);
2239 - sprintf(buf, "Y = X ^ %.4lf\r\n", dGamma);
2240 + sprintf(buf, "Y = X ^ %.4lf\n", dGamma);
2246 - sprintf(buf, "BEGIN_LUT %s 1 1\r\n", szName);
2247 + sprintf(buf, "BEGIN_LUT %s 1 1\n", szName);
2249 - sDescription += "IN OUT\r\n";
2250 + sDescription += "IN OUT\n";
2258 - strcpy(ptr, "\r\n");
2259 + strcpy(ptr, "\n");
2264 - sDescription += "\r\n";
2265 + sDescription += "\n";
2273 - sReport += " - Curve cannot be accurately inverted.\r\n";
2274 + sReport += " - Curve cannot be accurately inverted.\n";
2282 - sprintf(buf, "FunctionType: %04Xh\r\n", m_nFunctionType);
2283 + sprintf(buf, "FunctionType: %04Xh\n", m_nFunctionType);
2288 - sprintf(buf, "Y = X ^ %.4lf\r\n", icFtoD(m_Param[0]));
2289 + sprintf(buf, "Y = X ^ %.4lf\n", icFtoD(m_Param[0]));
2294 - sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf when (X >= %.4lf / %.4lf)\r\n",
2295 + sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf when (X >= %.4lf / %.4lf)\n",
2300 - sprintf(buf, "Y = 0 when (X < %.4lf / %.4lf)\r\n",
2301 + sprintf(buf, "Y = 0 when (X < %.4lf / %.4lf)\n",
2307 - sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf + %.4lf when (X >= %.4lf / %.4lf)\r\n",
2308 + sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf + %.4lf when (X >= %.4lf / %.4lf)\n",
2314 - sprintf(buf, "Y = %.4lf when (X < %.4lf / %.4lf)\r\n", icFtoD(m_Param[3]),
2315 + sprintf(buf, "Y = %.4lf when (X < %.4lf / %.4lf)\n", icFtoD(m_Param[3]),
2321 - sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf when (X >= %.4lf)\r\n",
2322 + sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf when (X >= %.4lf)\n",
2327 - sprintf(buf, "Y = %lf * X when (X < %.4lf)\r\n",
2328 + sprintf(buf, "Y = %lf * X when (X < %.4lf)\n",
2334 - sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf + %.4lf when (X >= %.4lf)\r\n",
2335 + sprintf(buf, "Y = (%.4lf * X + %.4lf) ^ %.4lf + %.4lf when (X >= %.4lf)\n",
2340 - sprintf(buf, "Y = %lf * X + %.4lf when (X < %.4lf)\r\n",
2341 + sprintf(buf, "Y = %lf * X + %.4lf when (X < %.4lf)\n",
2349 - sprintf(buf, "Unknown Function with %d parameters:\r\n");
2350 + sprintf(buf, "Unknown Function with %d parameters:\n", m_nNumParam);
2354 - sprintf(buf, "Param[%d] = %.4lf\r\n", i, icFtoD(m_Param[i]));
2355 + sprintf(buf, "Param[%d] = %.4lf\n", i, icFtoD(m_Param[i]));
2363 - sprintf(buf, "BEGIN_CURVE %s\r\n", szName);
2364 + sprintf(buf, "BEGIN_CURVE %s\n", szName);
2367 - sDescription += "\r\n";
2368 + sDescription += "\n";
2376 - sReport += " - Reserved Value must be zero.\r\n";
2377 + sReport += " - Reserved Value must be zero.\n";
2385 - sReport += " - Number of parameters inconsistent with function type.\r\n";
2386 + sReport += " - Number of parameters inconsistent with function type.\n";
2394 - sReport += " - Number of parameters inconsistent with function type.\r\n";
2395 + sReport += " - Number of parameters inconsistent with function type.\n";
2403 - sReport += " - Number of parameters inconsistent with function type.\r\n";
2404 + sReport += " - Number of parameters inconsistent with function type.\n";
2412 - sReport += " - Number of parameters inconsistent with function type.\r\n";
2413 + sReport += " - Number of parameters inconsistent with function type.\n";
2421 - sReport += " - Number of parameters inconsistent with function type.\r\n";
2422 + sReport += " - Number of parameters inconsistent with function type.\n";
2430 - sReport += " - Unknown function type.\r\n";
2431 + sReport += " - Unknown function type.\n";
2439 - sReport += " - Curve cannot be accurately inverted.\r\n";
2440 + sReport += " - Curve cannot be accurately inverted.\n";
2448 - sprintf(buf, "BEGIN_MATRIX %s\r\n", szName);
2449 + sprintf(buf, "BEGIN_MATRIX %s\n", szName);
2453 - sprintf(buf, "%8.4lf %8.4lf %8.4lf\r\n",
2454 + sprintf(buf, "%8.4lf %8.4lf %8.4lf\n",
2457 - sprintf(buf, "%8.4lf %8.4lf %8.4lf\r\n",
2458 + sprintf(buf, "%8.4lf %8.4lf %8.4lf\n",
2461 - sprintf(buf, "%8.4lf %8.4lf %8.4lf\r\n",
2462 + sprintf(buf, "%8.4lf %8.4lf %8.4lf\n",
2467 - sprintf(buf, "%8.4lf %8.4lf %8.4lf + %8.4lf\r\n",
2468 + sprintf(buf, "%8.4lf %8.4lf %8.4lf + %8.4lf\n",
2471 - sprintf(buf, "%8.4lf %8.4lf %8.4lf + %8.4lf\r\n",
2472 + sprintf(buf, "%8.4lf %8.4lf %8.4lf + %8.4lf\n",
2475 - sprintf(buf, "%8.4lf %8.4lf %8.4lf + %8.4lf\r\n",
2476 + sprintf(buf, "%8.4lf %8.4lf %8.4lf + %8.4lf\n",
2480 - sDescription += "\r\n";
2481 + sDescription += "\n";
2489 - sReport += " - Matrix must be identity.\r\n";
2490 + sReport += " - Matrix must be identity.\n";
2498 - strcpy(ptr, "\r\n");
2499 + strcpy(ptr, "\n");
2507 - sprintf(szOutText, "BEGIN_LUT %s %d %d\r\n", szName, m_nInput, m_nOutput);
2508 + sprintf(szOutText, "BEGIN_LUT %s %d %d\n", szName, m_nInput, m_nOutput);
2516 - sDescription += "\r\n";
2517 + sDescription += "\n";
2525 - sDescription += "\r\n";
2526 + sDescription += "\n";
2534 - sReport += " - Reserved Value must be zero.\r\n";
2535 + sReport += " - Reserved Value must be zero.\n";
2543 - sprintf(temp, " - CLUT: At least 2 grid points should be present in dimension %u.\r\n",i );
2544 + sprintf(temp, " - CLUT: At least 2 grid points should be present in dimension %u.\n",i );
2552 - sReport += " - Tag validation incomplete: Pointer to profile unavailable.\r\n";
2553 + sReport += " - Tag validation incomplete: Pointer to profile unavailable.\n";
2561 - sReport += " - Incorrect number of input channels.\r\n";
2562 + sReport += " - Incorrect number of input channels.\n";
2570 - sReport += " - Incorrect number of output channels.\r\n";
2571 + sReport += " - Incorrect number of output channels.\n";
2579 - sReport += " - Incorrect number of input channels.\r\n";
2580 + sReport += " - Incorrect number of input channels.\n";
2588 - sReport += " - Incorrect number of output channels.\r\n";
2589 + sReport += " - Incorrect number of output channels.\n";
2597 - sReport += " - Incorrect number of input channels.\r\n";
2598 + sReport += " - Incorrect number of input channels.\n";
2606 - sReport += " - Incorrect number of output channels.\r\n";
2607 + sReport += " - Incorrect number of output channels.\n";
2615 - sReport += " - CLUT must be present.\r\n";
2616 + sReport += " - CLUT must be present.\n";
2624 - sReport += " - Incorrect number of B-curves.\r\n";
2625 + sReport += " - Incorrect number of B-curves.\n";
2633 - sReport += " - Incorrect number of M-curves.\r\n";
2634 + sReport += " - Incorrect number of M-curves.\n";
2642 - sReport += " - CLUT must be present if using A-curves.\r\n";
2643 + sReport += " - CLUT must be present if using A-curves.\n";
2651 - sReport += " - Incorrect number of A-curves.\r\n";
2652 + sReport += " - Incorrect number of A-curves.\n";
2660 - sReport += " - Tag validation incomplete: Pointer to profile unavailable.\r\n";
2661 + sReport += " - Tag validation incomplete: Pointer to profile unavailable.\n";
2669 - sReport += " - Incorrect number of output channels.\r\n";
2670 + sReport += " - Incorrect number of output channels.\n";
2678 - sReport += " - Incorrect number of B-curves.\r\n";
2679 + sReport += " - Incorrect number of B-curves.\n";
2687 - sReport += " - Incorrect number of M-curves.\r\n";
2688 + sReport += " - Incorrect number of M-curves.\n";
2696 - sReport += " - CLUT must be present if using A-curves.\r\n";
2697 + sReport += " - CLUT must be present if using A-curves.\n";
2705 - sReport += " - Incorrect number of A-curves.\r\n";
2706 + sReport += " - Incorrect number of A-curves.\n";
2714 - sReport += " - lut8Tags do not support single entry gamma curves.\r\n";
2715 + sReport += " - lut8Tags do not support single entry gamma curves.\n";
2723 - sReport += " - Incorrect number of B-curves.\r\n";
2724 + sReport += " - Incorrect number of B-curves.\n";
2732 - sReport += " - Matrix must be identity.\r\n";
2733 + sReport += " - Matrix must be identity.\n";
2741 - sReport += " - lut8Tags do not support single entry gamma curves.\r\n";
2742 + sReport += " - lut8Tags do not support single entry gamma curves.\n";
2750 - sReport += " - Incorrect number of A-curves.\r\n";
2751 + sReport += " - Incorrect number of A-curves.\n";
2759 - sReport += " - lut16Tags do not support single entry gamma curves.\r\n";
2760 + sReport += " - lut16Tags do not support single entry gamma curves.\n";
2768 - sReport += " - Incorrect number of B-curves.\r\n";
2769 + sReport += " - Incorrect number of B-curves.\n";
2777 - sReport += " - Matrix must be identity.\r\n";
2778 + sReport += " - Matrix must be identity.\n";
2786 - sReport += " - lut16Tags do not support single entry gamma curves.\r\n";
2787 + sReport += " - lut16Tags do not support single entry gamma curves.\n";
2795 - sReport += " - Incorrect number of A-curves.\r\n";
2796 + sReport += " - Incorrect number of A-curves.\n";
2806 - sDescription += "\r\n\r\nData Follows:\r\n";
2807 + sDescription += "\n\nData Follows:\n";
2815 - sReport += ").\r\n";
2816 + sReport += ").\n";
2824 - sReport += " - Reserved Value must be zero.\r\n";
2825 + sReport += " - Reserved Value must be zero.\n";
2833 - sprintf(buf, "BEGIN MULTI_PROCESS_ELEMENT_TAG %d %d\r\n", m_nInputChannels, m_nOutputChannels);
2834 + sprintf(buf, "BEGIN MULTI_PROCESS_ELEMENT_TAG %d %d\n", m_nInputChannels, m_nOutputChannels);
2836 - sDescription += "\r\n";
2837 + sDescription += "\n";
2843 - sprintf(buf, "PROCESS_ELEMENT #%d\r\n", j+1);
2844 + sprintf(buf, "PROCESS_ELEMENT #%d\n", j+1);
2847 - sDescription += "\r\n";
2848 + sDescription += "\n";
2856 - sReport += " No processing elements and input and output channels do not match!\r\n";
2857 + sReport += " No processing elements and input and output channels do not match!\n";
2863 - sReport += " No processing elements.\r\n";
2864 + sReport += " No processing elements.\n";
2872 - sReport += " Mis-matching number of input channels!\r\n";
2873 + sReport += " Mis-matching number of input channels!\n";
2881 - sReport += " Mis-matching number of channels!\r\n";
2882 + sReport += " Mis-matching number of channels!\n";
2890 - sReport += " Mis-matching number of output channels!\r\n";
2891 + sReport += " Mis-matching number of output channels!\n";
2901 - sDescription += "ProfileID:\r\n";
2902 + sDescription += "ProfileID:\n";
2910 - sDescription += "\r\n";
2911 + sDescription += "\n";
2913 - sDescription += "Description:\r\n";
2914 + sDescription += "Description:\n";
2917 - sDescription += "\r\n";
2918 + sDescription += "\n";
2926 - sprintf(buf, "BEGIN ProfileSequenceIdentification_TAG\r\n");
2927 + sprintf(buf, "BEGIN ProfileSequenceIdentification_TAG\n");
2929 - sDescription += "\r\n";
2930 + sDescription += "\n";
2935 - sprintf(buf, "ProfileDescription_%d:\r\n", i+1);
2936 + sprintf(buf, "ProfileDescription_%d:\n", i+1);
2941 - sprintf(buf, "END ProfileSequenceIdentification_TAG\r\n");
2942 + sprintf(buf, "END ProfileSequenceIdentification_TAG\n");
2944 - sDescription += "\r\n";
2945 + sDescription += "\n";
2972 - sprintf(buf, "%8.4lf %8.4lf %8.4lf\r\n", icFtoD(pMatrix[0]), icFtoD(pMatrix[1]), icFtoD(pMatrix[…
2973 + sprintf(buf, "%8.4lf %8.4lf %8.4lf\n", icFtoD(pMatrix[0]), icFtoD(pMatrix[1]), icFtoD(pMatrix[2]…
2975 - sprintf(buf, "%8.4lf %8.4lf %8.4lf\r\n", icFtoD(pMatrix[3]), icFtoD(pMatrix[4]), icFtoD(pMatrix[…
2976 + sprintf(buf, "%8.4lf %8.4lf %8.4lf\n", icFtoD(pMatrix[3]), icFtoD(pMatrix[4]), icFtoD(pMatrix[5]…
2978 - sprintf(buf, "%8.4lf %8.4lf %8.4lf\r\n", icFtoD(pMatrix[6]), icFtoD(pMatrix[7]), icFtoD(pMatrix[…
2979 + sprintf(buf, "%8.4lf %8.4lf %8.4lf\n", icFtoD(pMatrix[6]), icFtoD(pMatrix[7]), icFtoD(pMatrix[8]…
2987 - sReport += " - XYZNumber: Negative X value!\r\n";
2988 + sReport += " - XYZNumber: Negative X value!\n";
2994 - sReport += " - XYZNumber: Negative Y value!\r\n";
2995 + sReport += " - XYZNumber: Negative Y value!\n";
3001 - sReport += " - XYZNumber: Negative Z value!\r\n";
3002 + sReport += " - XYZNumber: Negative Z value!\n";
3010 - sprintf(buf," - %u: Invalid year!\r\n",dateTime.year);
3011 + sprintf(buf," - %u: Invalid year!\n",dateTime.year);
3019 - sprintf(buf," - %u: Invalid year!\r\n",dateTime.year);
3020 + sprintf(buf," - %u: Invalid year!\n",dateTime.year);
3028 - sprintf(buf," - %u: Invalid year!\r\n",dateTime.year);
3029 + sprintf(buf," - %u: Invalid year!\n",dateTime.year);
3037 - sprintf(buf," - %u: Invalid month!\r\n",dateTime.month);
3038 + sprintf(buf," - %u: Invalid month!\n",dateTime.month);
3046 - sprintf(buf," - %u: Invalid day!\r\n",dateTime.day);
3047 + sprintf(buf," - %u: Invalid day!\n",dateTime.day);
3055 - sprintf(buf," - %u: Invalid day for February!\r\n",dateTime.day);
3056 + sprintf(buf," - %u: Invalid day for February!\n",dateTime.day);
3064 - sprintf(buf," - %u: Invalid day for February, year is not a leap year(%u)!\r\n",dateTime.d…
3065 + sprintf(buf," - %u: Invalid day for February, year is not a leap year(%u)!\n",dateTime.day…
3073 - sprintf(buf," - %u: Invalid hour!\r\n",dateTime.hours);
3074 + sprintf(buf," - %u: Invalid hour!\n",dateTime.hours);
3082 - sprintf(buf," - %u: Invalid minutes!\r\n",dateTime.minutes);
3083 + sprintf(buf," - %u: Invalid minutes!\n",dateTime.minutes);
3091 - sprintf(buf," - %u: Invalid seconds!\r\n",dateTime.hours);
3092 + sprintf(buf," - %u: Invalid seconds!\n",dateTime.hours);