📄 icc34.h
字号:
icSigCRTDisplay = 0x43525420L, /* 'CRT ' */ icSigPMDisplay = 0x504D4420L, /* 'PMD ' */ icSigAMDisplay = 0x414D4420L, /* 'AMD ' */ icSigPhotoCD = 0x4B504344L, /* 'KPCD' */ icSigPhotoImageSetter = 0x696D6773L, /* 'imgs' */ icSigGravure = 0x67726176L, /* 'grav' */ icSigOffsetLithography = 0x6F666673L, /* 'offs' */ icSigSilkscreen = 0x73696C6BL, /* 'silk' */ icSigFlexography = 0x666C6578L, /* 'flex' */ icMaxEnumTechnology = 0xFFFFFFFFL } icTechnologySignature;/* type signatures */typedef enum { icSigCurveType = 0x63757276L, /* 'curv' */ icSigDataType = 0x64617461L, /* 'data' */ icSigDateTimeType = 0x6474696DL, /* 'dtim' */ icSigLut16Type = 0x6d667432L, /* 'mft2' */ icSigLut8Type = 0x6d667431L, /* 'mft1' */ icSigMeasurementType = 0x6D656173L, /* 'meas' */ icSigNamedColorType = 0x6E636f6CL, /* 'ncol' * OBSOLETE, use ncl2 */ icSigProfileSequenceDescType = 0x70736571L, /* 'pseq' */ icSigS15Fixed16ArrayType = 0x73663332L, /* 'sf32' */ icSigScreeningType = 0x7363726EL, /* 'scrn' */ icSigSignatureType = 0x73696720L, /* 'sig ' */ icSigTextType = 0x74657874L, /* 'text' */ icSigTextDescriptionType = 0x64657363L, /* 'desc' */ icSigU16Fixed16ArrayType = 0x75663332L, /* 'uf32' */ icSigUcrBgType = 0x62666420L, /* 'bfd ' */ icSigUInt16ArrayType = 0x75693136L, /* 'ui16' */ icSigUInt32ArrayType = 0x75693332L, /* 'ui32' */ icSigUInt64ArrayType = 0x75693634L, /* 'ui64' */ icSigUInt8ArrayType = 0x75693038L, /* 'ui08' */ icSigViewingConditionsType = 0x76696577L, /* 'view' */ icSigXYZType = 0x58595A20L, /* 'XYZ ' */ icSigXYZArrayType = 0x58595A20L, /* 'XYZ ' */ icSigNamedColor2Type = 0x6E636C32L, /* 'ncl2' */ icSigCrdInfoType = 0x63726469L, /* 'crdi' */ icMaxEnumType = 0xFFFFFFFFL } icTagTypeSignature;/* * Color Space Signatures * Note that only icSigXYZData and icSigLabData are valid * Profile Connection Spaces (PCSs) */ typedef enum { icSigXYZData = 0x58595A20L, /* 'XYZ ' */ icSigLabData = 0x4C616220L, /* 'Lab ' */ icSigLuvData = 0x4C757620L, /* 'Luv ' */ icSigYCbCrData = 0x59436272L, /* 'YCbr' */ icSigYxyData = 0x59787920L, /* 'Yxy ' */ icSigRgbData = 0x52474220L, /* 'RGB ' */ icSigGrayData = 0x47524159L, /* 'GRAY' */ icSigHsvData = 0x48535620L, /* 'HSV ' */ icSigHlsData = 0x484C5320L, /* 'HLS ' */ icSigCmykData = 0x434D594BL, /* 'CMYK' */ icSigCmyData = 0x434D5920L, /* 'CMY ' */ icSig2colorData = 0x32434C52L, /* '2CLR' */ icSig3colorData = 0x33434C52L, /* '3CLR' */ icSig4colorData = 0x34434C52L, /* '4CLR' */ icSig5colorData = 0x35434C52L, /* '5CLR' */ icSig6colorData = 0x36434C52L, /* '6CLR' */ icSig7colorData = 0x37434C52L, /* '7CLR' */ icSig8colorData = 0x38434C52L, /* '8CLR' */ icSig9colorData = 0x39434C52L, /* '9CLR' */ icSig10colorData = 0x41434C52L, /* 'ACLR' */ icSig11colorData = 0x42434C52L, /* 'BCLR' */ icSig12colorData = 0x43434C52L, /* 'CCLR' */ icSig13colorData = 0x44434C52L, /* 'DCLR' */ icSig14colorData = 0x45434C52L, /* 'ECLR' */ icSig15colorData = 0x46434C52L, /* 'FCLR' */ icMaxEnumData = 0xFFFFFFFFL } icColorSpaceSignature;/* profileClass enumerations */typedef enum { icSigInputClass = 0x73636E72L, /* 'scnr' */ icSigDisplayClass = 0x6D6E7472L, /* 'mntr' */ icSigOutputClass = 0x70727472L, /* 'prtr' */ icSigLinkClass = 0x6C696E6BL, /* 'link' */ icSigAbstractClass = 0x61627374L, /* 'abst' */ icSigColorSpaceClass = 0x73706163L, /* 'spac' */ icSigNamedColorClass = 0x6e6d636cL, /* 'nmcl' */ icMaxEnumClass = 0xFFFFFFFFL } icProfileClassSignature;/* Platform Signatures */typedef enum { icSigMacintosh = 0x4150504CL, /* 'APPL' */ icSigMicrosoft = 0x4D534654L, /* 'MSFT' */ icSigSolaris = 0x53554E57L, /* 'SUNW' */ icSigSGI = 0x53474920L, /* 'SGI ' */ icSigTaligent = 0x54474E54L, /* 'TGNT' */ icMaxEnumPlatform = 0xFFFFFFFFL } icPlatformSignature;/*------------------------------------------------------------------------*//* * Other enums *//* Measurement Flare, used in the measurmentType tag */typedef enum { icFlare0 = 0x00000000L, /* 0% flare */ icFlare100 = 0x00000001L, /* 100% flare */ icMaxFlare = 0xFFFFFFFFL } icMeasurementFlare;/* Measurement Geometry, used in the measurmentType tag */typedef enum { icGeometryUnknown = 0x00000000L, /* Unknown */ icGeometry045or450 = 0x00000001L, /* 0/45, 45/0 */ icGeometry0dord0 = 0x00000002L, /* 0/d or d/0 */ icMaxGeometry = 0xFFFFFFFFL } icMeasurementGeometry;/* Rendering Intents, used in the profile header */typedef enum { icPerceptual = 0, icRelativeColorimetric = 1, icSaturation = 2, icAbsoluteColorimetric = 3, icMaxEnumIntent = 0xFFFFFFFFL } icRenderingIntent;/* Different Spot Shapes currently defined, used for screeningType */typedef enum { icSpotShapeUnknown = 0, icSpotShapePrinterDefault = 1, icSpotShapeRound = 2, icSpotShapeDiamond = 3, icSpotShapeEllipse = 4, icSpotShapeLine = 5, icSpotShapeSquare = 6, icSpotShapeCross = 7, icMaxEnumSpot = 0xFFFFFFFFL } icSpotShape;/* Standard Observer, used in the measurmentType tag */typedef enum { icStdObsUnknown = 0x00000000L, /* Unknown */ icStdObs1931TwoDegrees = 0x00000001L, /* 2 deg */ icStdObs1964TenDegrees = 0x00000002L, /* 10 deg */ icMaxStdObs = 0xFFFFFFFFL } icStandardObserver;/* Pre-defined illuminants, used in measurement and viewing conditions type */typedef enum { icIlluminantUnknown = 0x00000000L, icIlluminantD50 = 0x00000001L, icIlluminantD65 = 0x00000002L, icIlluminantD93 = 0x00000003L, icIlluminantF2 = 0x00000004L, icIlluminantD55 = 0x00000005L, icIlluminantA = 0x00000006L, icIlluminantEquiPowerE = 0x00000007L, icIlluminantF8 = 0x00000008L, icMaxEnumIluminant = 0xFFFFFFFFL } icIlluminant;/*------------------------------------------------------------------------*//* * Arrays of numbers *//* Int8 Array */typedef struct { icInt8Number data[icAny]; /* Variable array of values */} icInt8Array;/* UInt8 Array */typedef struct { icUInt8Number data[icAny]; /* Variable array of values */} icUInt8Array;/* uInt16 Array */typedef struct { icUInt16Number data[icAny]; /* Variable array of values */} icUInt16Array;/* Int16 Array */typedef struct { icInt16Number data[icAny]; /* Variable array of values */} icInt16Array;/* uInt32 Array */typedef struct { icUInt32Number data[icAny]; /* Variable array of values */} icUInt32Array;/* Int32 Array */typedef struct { icInt32Number data[icAny]; /* Variable array of values */} icInt32Array;/* UInt64 Array */typedef struct { icUInt64Number data[icAny]; /* Variable array of values */} icUInt64Array;/* Int64 Array */typedef struct { icInt64Number data[icAny]; /* Variable array of values */} icInt64Array; /* u16Fixed16 Array */typedef struct { icU16Fixed16Number data[icAny]; /* Variable array of values */} icU16Fixed16Array;/* s15Fixed16 Array */typedef struct { icS15Fixed16Number data[icAny]; /* Variable array of values */} icS15Fixed16Array;/* The base date time number */typedef struct { icUInt16Number year; icUInt16Number month; icUInt16Number day; icUInt16Number hours; icUInt16Number minutes; icUInt16Number seconds;} icDateTimeNumber;/* XYZ Number */typedef struct { icS15Fixed16Number X; icS15Fixed16Number Y; icS15Fixed16Number Z;} icXYZNumber;/* XYZ Array */typedef struct { icXYZNumber data[icAny]; /* Variable array of XYZ numbers */} icXYZArray;/* Curve */typedef struct { icUInt32Number count; /* Number of entries */ icUInt16Number data[icAny]; /* The actual table data, real * number is determined by count * Interpretation depends on how * data is used with a given tag */} icCurve;/* Data */typedef struct { icUInt32Number dataFlag; /* 0 = ascii, 1 = binary */ icInt8Number data[icAny]; /* Data, size from tag */} icData;/* lut16 */typedef struct { icUInt8Number inputChan; /* Number of input channels */ icUInt8Number outputChan; /* Number of output channels */ icUInt8Number clutPoints; /* Number of grid points */ icInt8Number pad; /* Padding for byte alignment */ icS15Fixed16Number e00; /* e00 in the 3 * 3 */ icS15Fixed16Number e01; /* e01 in the 3 * 3 */ icS15Fixed16Number e02; /* e02 in the 3 * 3 */ icS15Fixed16Number e10; /* e10 in the 3 * 3 */ icS15Fixed16Number e11; /* e11 in the 3 * 3 */ icS15Fixed16Number e12; /* e12 in the 3 * 3 */ icS15Fixed16Number e20; /* e20 in the 3 * 3 */ icS15Fixed16Number e21; /* e21 in the 3 * 3 */ icS15Fixed16Number e22; /* e22 in the 3 * 3 */ icUInt16Number inputEnt; /* Num of in-table entries */ icUInt16Number outputEnt; /* Num of out-table entries */ icUInt16Number data[icAny]; /* Data follows see spec *//* * Data that follows is of this form * * icUInt16Number inputTable[inputChan][icAny]; * The in-table * icUInt16Number clutTable[icAny]; * The clut * icUInt16Number outputTable[outputChan][icAny]; * The out-table */} icLut16;/* lut8, input & output tables are always 256 bytes in length */typedef struct { icUInt8Number inputChan; /* Num of input channels */ icUInt8Number outputChan; /* Num of output channels */ icUInt8Number clutPoints; /* Num of grid points */ icInt8Number pad; icS15Fixed16Number e00; /* e00 in the 3 * 3 */ icS15Fixed16Number e01; /* e01 in the 3 * 3 */ icS15Fixed16Number e02; /* e02 in the 3 * 3 */ icS15Fixed16Number e10; /* e10 in the 3 * 3 */ icS15Fixed16Number e11; /* e11 in the 3 * 3 */ icS15Fixed16Number e12; /* e12 in the 3 * 3 */ icS15Fixed16Number e20; /* e20 in the 3 * 3 */ icS15Fixed16Number e21; /* e21 in the 3 * 3 */ icS15Fixed16Number e22; /* e22 in the 3 * 3 */ icUInt8Number data[icAny]; /* Data follows see spec *//* * Data that follows is of this form * * icUInt8Number inputTable[inputChan][256]; * The in-table * icUInt8Number clutTable[icAny]; * The clut * icUInt8Number outputTable[outputChan][256]; * The out-table */} icLut8;/* Measurement Data */typedef struct { icStandardObserver stdObserver; /* Standard observer */ icXYZNumber backing; /* XYZ for backing */ icMeasurementGeometry geometry; /* Meas. geometry */ icMeasurementFlare flare; /* Measurement flare */ icIlluminant illuminant; /* Illuminant */} icMeasurement;/* Named color *//* * icNamedColor2 takes the place of icNamedColor */typedef struct { icUInt32Number vendorFlag; /* Bottom 16 bits for IC use */ icUInt32Number count; /* Count of named colors */ icUInt32Number nDeviceCoords; /* Num of device coordinates */ icInt8Number prefix[32]; /* Prefix for each color name */ icInt8Number suffix[32]; /* Suffix for each color name */ icInt8Number data[icAny]; /* Named color data follows *//* * Data that follows is of this form * * icInt8Number root1[32]; * Root name for 1st color * icUInt16Number pcsCoords1[icAny]; * PCS coords of 1st color * icUInt16Number deviceCoords1[icAny]; * Dev coords of 1st color * icInt8Number root2[32]; * Root name for 2nd color * icUInt16Number pcsCoords2[icAny]; * PCS coords of 2nd color * icUInt16Number deviceCoords2[icAny]; * Dev coords of 2nd color * : * : * Repeat for name and PCS and device color coordinates up to (count-1) * * NOTES: * PCS and device space can be determined from the header. * * PCS coordinates are icUInt16 numbers and are described in Annex A of
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -