|
| enum | { kDefaultCMMSignature = FOUR_CHAR_CODE('appl')
} |
| |
| enum | { cmTrap = 0xABEE
} |
| |
| enum | {
cmBeginProfile = 220
, cmEndProfile = 221
, cmEnableMatching = 222
, cmDisableMatching = 223
,
cmComment = 224
} |
| |
| enum | { cmBeginProfileSel = 0
, cmContinueProfileSel = 1
, cmEndProfileSel = 2
, cmProfileIdentifierSel = 3
} |
| |
| enum | {
cmMatchCMMType = 0x00000001
, cmMatchApplProfileVersion = 0x00000002
, cmMatchDataType = 0x00000004
, cmMatchDeviceType = 0x00000008
,
cmMatchDeviceManufacturer = 0x00000010
, cmMatchDeviceModel = 0x00000020
, cmMatchDeviceAttributes = 0x00000040
, cmMatchFlags = 0x00000080
,
cmMatchOptions = 0x00000100
, cmMatchWhite = 0x00000200
, cmMatchBlack = 0x00000400
} |
| |
| enum | {
cmMatchAnyProfile = 0x00000000
, cmMatchProfileCMMType = 0x00000001
, cmMatchProfileClass = 0x00000002
, cmMatchDataColorSpace = 0x00000004
,
cmMatchProfileConnectionSpace = 0x00000008
, cmMatchManufacturer = 0x00000010
, cmMatchModel = 0x00000020
, cmMatchAttributes = 0x00000040
,
cmMatchProfileFlags = 0x00000080
} |
| |
| enum | { cmPS7bit = 1
, cmPS8bit = 2
} |
| |
| enum | { cmEmbedWholeProfile = 0x00000000
, cmEmbedProfileIdentifier = 0x00000001
} |
| |
| enum | {
cmOpenReadSpool = 1
, cmOpenWriteSpool = 2
, cmReadSpool = 3
, cmWriteSpool = 4
,
cmCloseSpool = 5
} |
| |
| enum | {
cmOpenReadAccess = 1
, cmOpenWriteAccess = 2
, cmReadAccess = 3
, cmWriteAccess = 4
,
cmCloseAccess = 5
, cmCreateNewAccess = 6
, cmAbortWriteAccess = 7
, cmBeginAccess = 8
,
cmEndAccess = 9
} |
| |
| enum | { cmInputUse = FOUR_CHAR_CODE('inpt')
, cmOutputUse = FOUR_CHAR_CODE('outp')
, cmDisplayUse = FOUR_CHAR_CODE('dply')
, cmProofUse = FOUR_CHAR_CODE('pruf')
} |
| |
| enum | {
kNoTransform = 0
, kUseAtoB = 1
, kUseBtoA = 2
, kUseBtoB = 3
,
kDeviceToPCS = kUseAtoB
, kPCSToDevice = kUseBtoA
, kPCSToPCS = kUseBtoB
, kUseProfileIntent
} |
| |
| enum | {
cmColorSpaceSpaceMask = 0x0000003F
, cmColorSpacePremulAlphaMask = 0x00000040
, cmColorSpaceAlphaMask = 0x00000080
, cmColorSpaceSpaceAndAlphaMask = 0x000000FF
,
cmColorSpacePackingMask = 0x0000FF00
, cmColorSpaceEncodingMask = 0x000F0000
, cmColorSpaceReservedMask = (long)0xFFF00000
} |
| |
| enum | {
cmNoColorPacking = 0x0000
, cmWord5ColorPacking = 0x0500
, cmWord565ColorPacking = 0x0600
, cmLong8ColorPacking = 0x0800
,
cmLong10ColorPacking = 0x0A00
, cmAlphaFirstPacking = 0x1000
, cmOneBitDirectPacking = 0x0B00
, cmAlphaLastPacking = 0x0000
,
cm8_8ColorPacking = 0x2800
, cm16_8ColorPacking = 0x2000
, cm24_8ColorPacking = 0x2100
, cm32_8ColorPacking = cmLong8ColorPacking
,
cm40_8ColorPacking = 0x2200
, cm48_8ColorPacking = 0x2300
, cm56_8ColorPacking = 0x2400
, cm64_8ColorPacking = 0x2500
,
cm32_16ColorPacking = 0x2600
, cm48_16ColorPacking = 0x2900
, cm64_16ColorPacking = 0x2A00
, cm32_32ColorPacking = 0x2700
,
cmLittleEndianPacking = 0x4000
, cmReverseChannelPacking = 0x8000
} |
| |
| enum | { cmSRGB16ChannelEncoding
} |
| |
| enum | {
cmNoSpace = 0x0000
, cmRGBSpace = 0x0001
, cmCMYKSpace = 0x0002
, cmHSVSpace = 0x0003
,
cmHLSSpace = 0x0004
, cmYXYSpace = 0x0005
, cmXYZSpace = 0x0006
, cmLUVSpace = 0x0007
,
cmLABSpace = 0x0008
, cmReservedSpace1 = 0x0009
, cmGraySpace = 0x000A
, cmReservedSpace2 = 0x000B
,
cmGamutResultSpace = 0x000C
, cmNamedIndexedSpace = 0x0010
, cmMCFiveSpace = 0x0011
, cmMCSixSpace = 0x0012
,
cmMCSevenSpace = 0x0013
, cmMCEightSpace = 0x0014
, cmAlphaPmulSpace = 0x0040
, cmAlphaSpace = 0x0080
,
cmRGBASpace = cmRGBSpace + cmAlphaSpace
, cmGrayASpace = cmGraySpace + cmAlphaSpace
, cmRGBAPmulSpace = cmRGBASpace + cmAlphaPmulSpace
, cmGrayAPmulSpace = cmGrayASpace + cmAlphaPmulSpace
} |
| |
| enum | {
cmGray8Space = cmGraySpace + cm8_8ColorPacking
, cmGray16Space = cmGraySpace
, cmGray16LSpace = cmGraySpace + cmLittleEndianPacking
, cmGrayA16Space = cmGrayASpace + cm16_8ColorPacking
,
cmGrayA32Space = cmGrayASpace
, cmGrayA32LSpace = cmGrayASpace + cmLittleEndianPacking
, cmGrayA16PmulSpace = cmGrayAPmulSpace + cm16_8ColorPacking
, cmGrayA32PmulSpace = cmGrayAPmulSpace
,
cmGrayA32LPmulSpace = cmGrayAPmulSpace + cmLittleEndianPacking
, cmRGB16Space = cmRGBSpace + cmWord5ColorPacking
, cmRGB16LSpace = cmRGBSpace + cmWord5ColorPacking + cmLittleEndianPacking
, cmRGB565Space = cmRGBSpace + cmWord565ColorPacking
,
cmRGB565LSpace = cmRGBSpace + cmWord565ColorPacking + cmLittleEndianPacking
, cmRGB24Space = cmRGBSpace + cm24_8ColorPacking
, cmRGB32Space = cmRGBSpace + cm32_8ColorPacking
, cmRGB48Space = cmRGBSpace + cm48_16ColorPacking
,
cmRGB48LSpace = cmRGBSpace + cm48_16ColorPacking + cmLittleEndianPacking
, cmARGB32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaFirstPacking
, cmARGB64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaFirstPacking
, cmARGB64LSpace
,
cmRGBA32Space = cmRGBASpace + cm32_8ColorPacking + cmAlphaLastPacking
, cmRGBA64Space = cmRGBASpace + cm64_16ColorPacking + cmAlphaLastPacking
, cmRGBA64LSpace
, cmARGB32PmulSpace
,
cmARGB64PmulSpace
, cmARGB64LPmulSpace
, cmRGBA32PmulSpace = cmRGBAPmulSpace + cm32_8ColorPacking + cmAlphaLastPacking
, cmRGBA64PmulSpace
,
cmRGBA64LPmulSpace
, cmCMYK32Space = cmCMYKSpace + cm32_8ColorPacking
, cmCMYK64Space = cmCMYKSpace + cm64_16ColorPacking
, cmCMYK64LSpace = cmCMYKSpace + cm64_16ColorPacking + cmLittleEndianPacking
,
cmHSV32Space = cmHSVSpace + cmLong10ColorPacking
, cmHLS32Space = cmHLSSpace + cmLong10ColorPacking
, cmYXY32Space = cmYXYSpace + cmLong10ColorPacking
, cmXYZ24Space = cmXYZSpace + cm24_8ColorPacking
,
cmXYZ32Space = cmXYZSpace + cmLong10ColorPacking
, cmXYZ48Space = cmXYZSpace + cm48_16ColorPacking
, cmXYZ48LSpace = cmXYZSpace + cm48_16ColorPacking + cmLittleEndianPacking
, cmLUV32Space = cmLUVSpace + cmLong10ColorPacking
,
cmLAB24Space = cmLABSpace + cm24_8ColorPacking
, cmLAB32Space = cmLABSpace + cmLong10ColorPacking
, cmLAB48Space = cmLABSpace + cm48_16ColorPacking
, cmLAB48LSpace = cmLABSpace + cm48_16ColorPacking + cmLittleEndianPacking
,
cmGamutResult1Space = cmOneBitDirectPacking + cmGamutResultSpace
, cmNamedIndexed32Space = cm32_32ColorPacking + cmNamedIndexedSpace
, cmNamedIndexed32LSpace
, cmMCFive8Space = cm40_8ColorPacking + cmMCFiveSpace
,
cmMCSix8Space = cm48_8ColorPacking + cmMCSixSpace
, cmMCSeven8Space = cm56_8ColorPacking + cmMCSevenSpace
, cmMCEight8Space = cm64_8ColorPacking + cmMCEightSpace
} |
| |
| enum | { cmUseDefaultChromaticAdaptation = 0
, cmLinearChromaticAdaptation = 1
, cmVonKriesChromaticAdaptation = 2
, cmBradfordChromaticAdaptation = 3
} |
| |
| enum | { CS_MAX_PATH = 256
} |
| |
| enum | {
cmNoProfileBase = 0
, cmFileBasedProfile = 1
, cmHandleBasedProfile = 2
, cmPtrBasedProfile = 3
,
cmProcedureBasedProfile = 4
, cmPathBasedProfile = 5
, cmBufferBasedProfile = 6
} |
| |
| enum | { cmOriginalProfileLocationSize = 2 + CS_MAX_PATH
, cmCurrentProfileLocationSize = 2 + CS_MAX_PATH
} |
| |
| enum | { cmProfileIterateDataVersion1 = 0x00010000
, cmProfileIterateDataVersion2 = 0x00020000
, cmProfileIterateDataVersion3 = 0x00030000
} |
| |
| enum | { uppCMProfileIterateProcInfo = 0x000003E0
} |
| |
| enum | { uppCMMIterateProcInfo = 0x000003E0
} |
| |
|
|
typedef | CALLBACK_API (OSErr, CMProfileIterateProcPtr)(CMProfileIterateData *iterateData |
| |
|
typedef | CALLBACK_API (OSErr, CMMIterateProcPtr)(CMMInfo *iterateData |
| |
|
typedef | STACK_UPP_TYPE (CMProfileIterateProcPtr) CMProfileIterateUPP |
| |
|
typedef | STACK_UPP_TYPE (CMMIterateProcPtr) CMMIterateUPP |
| |
| CMProfileIterateUPP | NewCMProfileIterateUPP (CMProfileIterateProcPtr userRoutine) |
| |
| CMMIterateUPP | NewCMMIterateUPP (CMMIterateProcPtr userRoutine) |
| |
| void | DisposeCMProfileIterateUPP (CMProfileIterateUPP userUPP) |
| |
| void | DisposeCMMIterateUPP (CMMIterateUPP userUPP) |
| |
| OSErr | InvokeCMProfileIterateUPP (CMProfileIterateData *iterateData, void *refCon, CMProfileIterateUPP userUPP) |
| |
| OSErr | InvokeCMMIterateUPP (CMMInfo *iterateData, void *refCon, CMMIterateUPP userUPP) |
| |
| CMError | CMNewProfile (CMProfileRef *prof, const CMProfileLocation *theProfile) |
| |
| CMError | CMOpenProfile (CMProfileRef *prof, const CMProfileLocation *theProfile) |
| |
| CMError | CMCloseProfile (CMProfileRef prof) |
| |
| CMError | CMUpdateProfile (CMProfileRef prof) |
| |
| CMError | CMCopyProfile (CMProfileRef *targetProf, const CMProfileLocation *targetLocation, CMProfileRef srcProf) |
| |
| CMError | CMValidateProfile (CMProfileRef prof, Boolean *valid, Boolean *preferredCMMnotfound) |
| |
| CMError | CMGetProfileLocation (CMProfileRef prof, CMProfileLocation *theProfile) |
| |
| CMError | NCMGetProfileLocation (CMProfileRef prof, CMProfileLocation *theProfile, UInt32 *locationSize) |
| |
| CMError | CMFlattenProfile (CMProfileRef prof, UInt32 flags, CMFlattenUPP proc, void *refCon, Boolean *preferredCMMnotfound) |
| |
| CMError | CMGetProfileHeader (CMProfileRef prof, CMAppleProfileHeader *header) |
| |
| CMError | CMSetProfileHeader (CMProfileRef prof, const CMAppleProfileHeader *header) |
| |
| CMError | CMProfileElementExists (CMProfileRef prof, OSType tag, Boolean *found) |
| |
| CMError | CMCountProfileElements (CMProfileRef prof, UInt32 *elementCount) |
| |
| CMError | CMGetProfileElement (CMProfileRef prof, OSType tag, UInt32 *elementSize, void *elementData) |
| |
| CMError | CMSetProfileElement (CMProfileRef prof, OSType tag, UInt32 elementSize, const void *elementData) |
| |
| CMError | CMSetProfileElementSize (CMProfileRef prof, OSType tag, UInt32 elementSize) |
| |
| CMError | CMSetProfileElementReference (CMProfileRef prof, OSType elementTag, OSType referenceTag) |
| |
| CMError | CMGetPartialProfileElement (CMProfileRef prof, OSType tag, UInt32 offset, UInt32 *byteCount, void *elementData) |
| |
| CMError | CMSetPartialProfileElement (CMProfileRef prof, OSType tag, UInt32 offset, UInt32 byteCount, const void *elementData) |
| |
| CMError | CMGetIndProfileElementInfo (CMProfileRef prof, UInt32 index, OSType *tag, UInt32 *elementSize, Boolean *refs) |
| |
| CMError | CMGetIndProfileElement (CMProfileRef prof, UInt32 index, UInt32 *elementSize, void *elementData) |
| |
| CMError | CMRemoveProfileElement (CMProfileRef prof, OSType tag) |
| |
| CMError | CMGetScriptProfileDescription (CMProfileRef prof, Str255 name, ScriptCode *code) |
| |
| CMError | CMGetProfileDescriptions (CMProfileRef prof, char *aName, UInt32 *aCount, Str255 mName, ScriptCode *mCode, UniChar *uName, UniCharCount *uCount) |
| |
| CMError | CMSetProfileDescriptions (CMProfileRef prof, const char *aName, UInt32 aCount, ConstStr255Param mName, ScriptCode mCode, const UniChar *uName, UniCharCount uCount) |
| |
| CMError | CMCopyProfileLocalizedStringDictionary (CMProfileRef prof, OSType tag, CFDictionaryRef *theDict) |
| |
| CMError | CMSetProfileLocalizedStringDictionary (CMProfileRef prof, OSType tag, CFDictionaryRef theDict) |
| |
| CMError | CMCopyProfileLocalizedString (CMProfileRef prof, OSType tag, CFStringRef reqLocale, CFStringRef *locale, CFStringRef *str) |
| |
| CMError | CMCloneProfileRef (CMProfileRef prof) |
| |
| CMError | CMGetProfileRefCount (CMProfileRef prof, long *count) |
| |
| CMError | CMProfileModified (CMProfileRef prof, Boolean *modified) |
| |
| CMError | CMGetProfileMD5 (CMProfileRef prof, CMProfileMD5 digest) |
| |
| CMError | CMGetNamedColorInfo (CMProfileRef prof, UInt32 *deviceChannels, OSType *deviceColorSpace, OSType *PCSColorSpace, UInt32 *count, StringPtr prefix, StringPtr suffix) |
| |
| CMError | CMGetNamedColorValue (CMProfileRef prof, StringPtr name, CMColor *deviceColor, CMColor *PCSColor) |
| |
| CMError | CMGetIndNamedColorValue (CMProfileRef prof, UInt32 index, CMColor *deviceColor, CMColor *PCSColor) |
| |
| CMError | CMGetNamedColorIndex (CMProfileRef prof, StringPtr name, UInt32 *index) |
| |
| CMError | CMGetNamedColorName (CMProfileRef prof, UInt32 index, StringPtr name) |
| |
| CMError | NCWNewColorWorld (CMWorldRef *cw, CMProfileRef src, CMProfileRef dst) |
| |
| CMError | CWConcatColorWorld (CMWorldRef *cw, CMConcatProfileSet *profileSet) |
| |
| CMError | CWNewLinkProfile (CMProfileRef *prof, const CMProfileLocation *targetLocation, CMConcatProfileSet *profileSet) |
| |
| CMError | NCWConcatColorWorld (CMWorldRef *cw, NCMConcatProfileSet *profileSet, CMConcatCallBackUPP proc, void *refCon) |
| |
| CMError | NCWNewLinkProfile (CMProfileRef *prof, const CMProfileLocation *targetLocation, NCMConcatProfileSet *profileSet, CMConcatCallBackUPP proc, void *refCon) |
| |
| void | CWDisposeColorWorld (CMWorldRef cw) |
| |
| CMError | CWMatchColors (CMWorldRef cw, CMColor *myColors, UInt32 count) |
| |
| CMError | CWCheckColors (CMWorldRef cw, CMColor *myColors, UInt32 count, UInt32 *result) |
| |
| CMError | CWMatchBitmap (CMWorldRef cw, CMBitmap *bitmap, CMBitmapCallBackUPP progressProc, void *refCon, CMBitmap *matchedBitmap) |
| |
| CMError | CWCheckBitmap (CMWorldRef cw, const CMBitmap *bitmap, CMBitmapCallBackUPP progressProc, void *refCon, CMBitmap *resultBitmap) |
| |
| CMError | CMCreateProfileIdentifier (CMProfileRef prof, CMProfileIdentifierPtr ident, UInt32 *size) |
| |
| CMError | CMGetSystemProfile (CMProfileRef *prof) |
| |
| CMError | CMSetSystemProfile (const FSSpec *profileFileSpec) |
| |
| CMError | NCMSetSystemProfile (const CMProfileLocation *profLoc) |
| |
| CMError | CMGetDefaultProfileBySpace (OSType dataColorSpace, CMProfileRef *prof) |
| |
| CMError | CMSetDefaultProfileBySpace (OSType dataColorSpace, CMProfileRef prof) |
| |
| CMError | CMGetDefaultProfileByUse (OSType use, CMProfileRef *prof) |
| |
| CMError | CMSetDefaultProfileByUse (OSType use, CMProfileRef prof) |
| |
| CMError | CMNewProfileSearch (CMSearchRecord *searchSpec, void *refCon, UInt32 *count, CMProfileSearchRef *searchResult) |
| |
| CMError | CMUpdateProfileSearch (CMProfileSearchRef search, void *refCon, UInt32 *count) |
| |
| void | CMDisposeProfileSearch (CMProfileSearchRef search) |
| |
| CMError | CMSearchGetIndProfile (CMProfileSearchRef search, UInt32 index, CMProfileRef *prof) |
| |
| CMError | CMSearchGetIndProfileFileSpec (CMProfileSearchRef search, UInt32 index, FSSpec *profileFile) |
| |
| CMError | CMProfileIdentifierFolderSearch (CMProfileIdentifierPtr ident, UInt32 *matchedCount, CMProfileSearchRef *searchResult) |
| |
| CMError | CMProfileIdentifierListSearch (CMProfileIdentifierPtr ident, CMProfileRef *profileList, UInt32 listSize, UInt32 *matchedCount, CMProfileRef *matchedList) |
| |
| CMError | CMIterateColorSyncFolder (CMProfileIterateUPP proc, UInt32 *seed, UInt32 *count, void *refCon) |
| |
| CMError | NCMUnflattenProfile (CMProfileLocation *targetLocation, CMFlattenUPP proc, void *refCon, Boolean *preferredCMMnotfound) |
| |
| CMError | CMGetCWInfo (CMWorldRef cw, CMCWInfoRecord *info) |
| |
| CMError | CMGetPreferredCMM (OSType *cmmType, Boolean *preferredCMMnotfound) |
| |
| CMError | CMIterateCMMInfo (CMMIterateUPP proc, UInt32 *count, void *refCon) |
| |
| CMError | CMGetColorSyncVersion (UInt32 *version) |
| |
| CMError | CMLaunchControlPanel (UInt32 flags) |
| |
| CMError | CMConvertXYZToLab (const CMColor *src, const CMXYZColor *white, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertLabToXYZ (const CMColor *src, const CMXYZColor *white, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertXYZToLuv (const CMColor *src, const CMXYZColor *white, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertLuvToXYZ (const CMColor *src, const CMXYZColor *white, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertXYZToYxy (const CMColor *src, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertYxyToXYZ (const CMColor *src, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertRGBToHLS (const CMColor *src, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertHLSToRGB (const CMColor *src, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertRGBToHSV (const CMColor *src, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertHSVToRGB (const CMColor *src, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertRGBToGray (const CMColor *src, CMColor *dst, UInt32 count) |
| |
| CMError | CMConvertXYZToFixedXYZ (const CMXYZColor *src, CMFixedXYZColor *dst, UInt32 count) |
| |
| CMError | CMConvertFixedXYZToXYZ (const CMFixedXYZColor *src, CMXYZColor *dst, UInt32 count) |
| |
| CMError | CMConvertXYZToXYZ (const CMColor *src, const CMXYZColor *srcIlluminant, CMColor *dst, const CMXYZColor *dstIlluminant, CMChromaticAdaptation method, UInt32 count) |
| |
| CMError | CMGetPS2ColorSpace (CMProfileRef srcProf, UInt32 flags, CMFlattenUPP proc, void *refCon, Boolean *preferredCMMnotfound) |
| |
| CMError | CMGetPS2ColorRenderingIntent (CMProfileRef srcProf, UInt32 flags, CMFlattenUPP proc, void *refCon, Boolean *preferredCMMnotfound) |
| |
| CMError | CMGetPS2ColorRendering (CMProfileRef srcProf, CMProfileRef dstProf, UInt32 flags, CMFlattenUPP proc, void *refCon, Boolean *preferredCMMnotfound) |
| |
| CMError | CMGetPS2ColorRenderingVMSize (CMProfileRef srcProf, CMProfileRef dstProf, UInt32 *vmSize, Boolean *preferredCMMnotfound) |
| |
Color Matching Interfaces.
- Introduced In: ColorSync 3.0
- Avaliable From: Universal Interfaces 3.4.1
- Copyright: © 1992-2001 by Apple Computer, Inc., all rights reserved.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/