#include "App.h"
Go to the source code of this file.
Classes | |
struct | PI_NAMEDCOLOR |
struct | PI_GRAYCOLOR |
struct | PI_RGBCOLOR |
struct | PI_CMYKCOLOR |
struct | PI_XYZCOLOR |
struct | PI_YxyCOLOR |
struct | PI_LabCOLOR |
struct | PI_GENERIC3CHANNEL |
struct | PI_HiFiCOLOR |
union | CMColor |
struct | CMConcatProfileSet |
struct | CMUniqueIdentification |
struct | CMBitmap |
struct | tagCMNamedProfileInfo |
Defines | |
#define | CM_MAX_COLOR_CHANNELS 8 |
#define | CallCMBitmapCallBackProc(f, a, b, c) ((*f)((a)-(b),c)) |
#define | kQualityMask 0x00030000 /* see Modes obove ( e.g. cmBestMode<<16 ) */ |
#define | kLookupOnlyMask 0x00040000 |
#define | kCreateGamutLutMask 0x00080000 /* Set Bit disables gamut lut creation */ |
#define | kUseRelColorimetric 0x00100000 |
#define | kStartWithXyzPCS 0x00200000 |
#define | kStartWithLabPCS 0x00400000 |
#define | kEndWithXyzPCS 0x00800000 |
#define | kEndWithLabPCS 0x01000000 |
Typedefs | |
typedef unsigned long | CMBitmapColorSpace |
typedef long | CMError |
typedef unsigned int | PI_OSType |
typedef CMPrivateProfileRecord * | CMProfileRef |
typedef CMColor | CMColor |
typedef icHeader | CMCoreProfileHeader |
typedef CMConcatProfileSet | CMConcatProfileSet |
typedef icDateTimeNumber | CMDateTime |
typedef CMUniqueIdentification | CMUniqueIdentification |
typedef CMBitmap | CMBitmap |
typedef char | CMColorName [32] |
typedef CMColorName * | pCMColorName |
typedef const CMColorName * | pcCMColorName |
typedef tagCMNamedProfileInfo | CMNamedProfileInfo |
typedef CMNamedProfileInfo * | pCMNamedProfileInfo |
typedef unsigned char | PI_Boolean |
typedef PI_Boolean(* | CMBitmapCallBackProcPtr )(long progress, void *refCon) |
typedef CMBitmapCallBackProcPtr | CMBitmapCallBackUPP |
typedef CMPrivateColorWorldRecord * | CMWorldRef |
Enumerations | |
enum | cmErrorCodes { cmopenErr = -200, cmparamErr = 86, cmProfileError = 2301, cmMethodError = -203, cmCantConcatenateError = -208, cmInvalidColorSpace = -209, cmInvalidSrcMap = -210, cmInvalidDstMap = -211, cmNamedColorNotFound = -216, cmElementTagNotFound = 2302, userCanceledErr = -128, badProfileError = -228, memFullErr = 8 } |
enum | { cmNoColorPacking = 0x0000, cmAlphaSpace = 0x0080, cmWord5ColorPacking = 0x0500, cmWord565ColorPacking = 0x0600, cmLong8ColorPacking = 0x0800, cmLong10ColorPacking = 0x0A00, cmAlphaFirstPacking = 0x1000, cmOneBitDirectPacking = 0x0B00, cmAlphaLastPacking = 0x0000, cm8PerChannelPacking = 0x2000, cm10PerChannelPacking = 0x0A00, cm16PerChannelPacking = 0x4000, cm32_32ColorPacking = 0x2700 } |
enum | { cmNoSpace = 0, cmRGBSpace = 1, cmCMYKSpace = 2, cmHSVSpace = 3, cmHLSSpace = 4, cmYXYSpace = 5, cmXYZSpace = 6, cmLUVSpace = 7, cmLABSpace = 8, cmCMYSpace = 9, cmGraySpace = 10, cmReservedSpace2 = 11, cmGamutResultSpace = 12, cmGenericSpace = 13, cmBGRSpace = 14, cmYCCSpace = 15, cmNamedIndexedSpace = 16, cmMCFiveSpace = 17, cmMCSixSpace = 18, cmMCSevenSpace = 19, cmMCEightSpace = 20, cmKYMCSpace = 29, cmRGBASpace = cmRGBSpace + cmAlphaSpace, cmGrayASpace = cmGraySpace + cmAlphaSpace, cmRGB16Space = cmWord5ColorPacking + cmRGBSpace, cmRGB16_565Space = cmWord565ColorPacking + cmRGBSpace, cmRGB32Space = cmLong8ColorPacking + cmRGBSpace, cmARGB32Space = cmLong8ColorPacking + cmAlphaFirstPacking + cmRGBASpace, cmCMYK32Space = cmLong8ColorPacking + cmCMYKSpace, cmKYMC32Space = cmLong8ColorPacking + cmKYMCSpace, cmHSV32Space = cmLong10ColorPacking + cmHSVSpace, cmHLS32Space = cmLong10ColorPacking + cmHLSSpace, cmYXY32Space = cmLong10ColorPacking + cmYXYSpace, cmXYZ32Space = cmLong10ColorPacking + cmXYZSpace, cmLUV32Space = cmLong10ColorPacking + cmLUVSpace, cmLAB32Space = cmLong10ColorPacking + cmLABSpace, cmGamutResult1Space = cmOneBitDirectPacking + cmGamutResultSpace, cmRGB24Space = cm8PerChannelPacking + cmRGBSpace, cmRGBA32Space = cm8PerChannelPacking + cmAlphaLastPacking + cmRGBASpace, cmCMY24Space = cm8PerChannelPacking + cmCMYSpace, cmLAB24Space = cm8PerChannelPacking + cmLABSpace, cmGraySpace8Bit = cmGraySpace + cm8PerChannelPacking, cmYCC24Space = cm8PerChannelPacking + cmYCCSpace, cmYCC32Space = cmLong8ColorPacking + cmYCCSpace, cmYCCASpace = cmYCCSpace + cmAlphaSpace, cmYCCA32Space = cm8PerChannelPacking + cmAlphaLastPacking + cmYCCASpace, cmAYCC32Space = cmLong8ColorPacking + cmAlphaFirstPacking + cmYCCASpace, cmBGR24Space = cm8PerChannelPacking + cmBGRSpace, cmBGR32Space = cmLong8ColorPacking + cmBGRSpace + cmAlphaSpace, cmNamedIndexed24Space = cmNamedIndexedSpace, cmNamedIndexed32Space = cm32_32ColorPacking + cmNamedIndexedSpace, cmMCFive8Space = cmMCFiveSpace + cm8PerChannelPacking, cmMCSix8Space = cmMCSixSpace + cm8PerChannelPacking, cmMCSeven8Space = cmMCSevenSpace + cm8PerChannelPacking, cmMCEight8Space = cmMCEightSpace + cm8PerChannelPacking } |
enum | { cmPerceptual = 0, cmRelativeColorimetric = 1, cmSaturation = 2, cmAbsoluteColorimetric = 3 } |
enum | { cmNormalMode = 0, cmDraftMode = 1, cmBestMode = 2, cmBestMode16Bit = 3 } |
Functions | |
PI_Boolean | CMProfileElementExists (CMProfileRef prof, PI_OSType tag) |
CMError | CMGetProfileElement (CMProfileRef prof, PI_OSType tag, unsigned long *elementSize, void *elementData) |
CMError | CMGetProfileHeader (CMProfileRef prof, CMCoreProfileHeader *header) |
CMError | CMGetPartialProfileElement (CMProfileRef prof, PI_OSType tag, unsigned long offset, unsigned long *byteCount, void *elementData) |
CMError | CMSetProfileElementSize (CMProfileRef prof, PI_OSType tag, unsigned long elementSize) |
CMError | CMSetPartialProfileElement (CMProfileRef prof, PI_OSType tag, unsigned long offset, unsigned long byteCount, void *elementData) |
CMError | CMSetProfileElement (CMProfileRef prof, PI_OSType tag, unsigned long elementSize, void *elementData) |
CMError | CMSetProfileHeader (CMProfileRef prof, const CMCoreProfileHeader *header) |
CMError | CWNewColorWorld (CMWorldRef *cw, CMProfileRef src, CMProfileRef dst) |
CMError | CWConcatColorWorld (CMWorldRef *cw, CMConcatProfileSet *profileSet) |
CMError | CWConcatColorWorld4MS (CMWorldRef *storage, CMConcatProfileSet *profileSet, UINT32 *aIntentArr, UINT32 nIntents, UINT32 dwFlags) |
CMError | CWCreateLink4MS (CMWorldRef storage, CMConcatProfileSet *profileSet, UINT32 aIntentArr, icProfile **theLinkProfile) |
CMError | CWLinkColorWorld (CMWorldRef *cw, CMConcatProfileSet *profileSet) |
void | CWDisposeColorWorld (CMWorldRef cw) |
CMError | CWMatchColors (CMWorldRef cw, CMColor *myColors, unsigned long count) |
CMError | CWCheckColors (CMWorldRef cw, CMColor *myColors, unsigned long count, unsigned char *result) |
CMError | CWCheckColorsMS (CMWorldRef cw, CMColor *myColors, unsigned long count, unsigned char *result) |
CMError | CWGetColorSpaces (CMWorldRef cw, CMBitmapColorSpace *In, CMBitmapColorSpace *Out) |
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 | CWMatchBitmapPlane (CMWorldRef cw, LH_CMBitmapPlane *bitmap, CMBitmapCallBackUPP progressProc, void *refCon, LH_CMBitmapPlane *matchedBitmap) |
CMError | CWCheckBitmapPlane (CMWorldRef cw, LH_CMBitmapPlane *bitmap, CMBitmapCallBackUPP progressProc, void *refCon, LH_CMBitmapPlane *matchedBitmap) |
void | CMFullColorRemains (CMWorldRef Storage, long ColorMask) |
void | CMSetLookupOnlyMode (CMWorldRef Storage, PI_Boolean Mode) |
CMError | CMValidateProfile (CMProfileRef prof, PI_Boolean *valid) |
CMError | CMConvNameToIndexProfile (CMProfileRef prof, pcCMColorName, unsigned long *, unsigned long) |
CMError | CMConvNameToIndexCW (CMWorldRef *Storage, pcCMColorName, unsigned long *, unsigned long) |
CMError | CMConvIndexToNameProfile (CMProfileRef prof, unsigned long *, pCMColorName, unsigned long) |
CMError | CMConvIndexToNameCW (CMWorldRef *Storage, unsigned long *, pCMColorName, unsigned long) |
CMError | CMGetNamedProfileInfoProfile (CMProfileRef prof, pCMNamedProfileInfo) |
CMError | CMGetNamedProfileInfoCW (CMWorldRef *Storage, pCMNamedProfileInfo) |
|
Definition at line 150 of file w98/lh_open/pi_app.h. |
|
Definition at line 21 of file w98/lh_open/pi_app.h. |
|
Definition at line 331 of file w98/lh_open/pi_app.h. |
|
Definition at line 336 of file w98/lh_open/pi_app.h. |
|
Definition at line 335 of file w98/lh_open/pi_app.h. |
|
Definition at line 330 of file w98/lh_open/pi_app.h. |
|
Definition at line 329 of file w98/lh_open/pi_app.h. |
|
Definition at line 334 of file w98/lh_open/pi_app.h. |
|
Definition at line 333 of file w98/lh_open/pi_app.h. |
|
Definition at line 332 of file w98/lh_open/pi_app.h. |
|
Definition at line 297 of file w98/lh_open/pi_app.h. |
|
Definition at line 343 of file w98/lh_open/pi_app.h. |
|
Definition at line 345 of file w98/lh_open/pi_app.h. |
|
Definition at line 22 of file w98/lh_open/pi_app.h. |
|
|
|
Definition at line 299 of file w98/lh_open/pi_app.h. |
|
Definition at line 174 of file w98/lh_open/pi_app.h. |
|
Definition at line 165 of file w98/lh_open/pi_app.h. |
|
Definition at line 176 of file w98/lh_open/pi_app.h. |
|
Definition at line 23 of file w98/lh_open/pi_app.h. |
|
|
|
Definition at line 25 of file w98/lh_open/pi_app.h. |
|
Definition at line 183 of file w98/lh_open/pi_app.h. |
|
Definition at line 348 of file w98/lh_open/pi_app.h. |
|
Definition at line 301 of file w98/lh_open/pi_app.h. |
|
Definition at line 300 of file w98/lh_open/pi_app.h. |
|
Definition at line 309 of file w98/lh_open/pi_app.h. |
|
Definition at line 338 of file w98/lh_open/pi_app.h. |
|
Definition at line 24 of file w98/lh_open/pi_app.h. |
|
Definition at line 186 of file w98/lh_open/pi_app.h.
|
|
Definition at line 204 of file w98/lh_open/pi_app.h.
|
|
Definition at line 313 of file w98/lh_open/pi_app.h.
|
|
Definition at line 321 of file w98/lh_open/pi_app.h.
|
|
Definition at line 124 of file w98/lh_open/pi_app.h.
|
|
|
|
Referenced by CMConvertIndexToColorName(). |
|
|
|
Referenced by CMConvertColorNameToIndex(). |
|
Definition at line 393 of file lh_open/pi_color.c. References CMMModelPtr, CMLutParam::colorLut, CMLutParam::colorLutGridPoints, CMLutParam::colorLutInDim, CMLutParam::colorLutOutDim, CMLutParam::colorLutWordSize, DATA_2_PTR, LOCK_DATA, Size, and UNLOCK_DATA.
|
|
|
|
Referenced by CMGetNamedProfileInfo(). |
|
|
|
|
|
Definition at line 30 of file ntgdi/icm/mscmm/mscmm/access.c. References badProfileError, BOOL, CMCoreProfileHeader, CMError, CMProfileRef, GetColorProfileHeader(), icMagicNumber, and noErr. Referenced by CMMConcatInitPrivate(), CMMInitPrivate(), CMValidateProfile(), Create_LH_ProfileSet(), CreateCombi(), MakeSessionFromLink(), MyAdd_NL_SequenceDescTag(), MyGetColorSpaces(), and PrepareCombiLUTs().
|
|
|
|
Definition at line 380 of file lh_open/pi_color.c. References CMMModelPtr, DATA_2_PTR, LOCK_DATA, and UNLOCK_DATA.
|
|
|
|
|
|
|
|
|
|
Definition at line 302 of file lh_open/pi_valid.c. References CMError, CMGetProfileHeader(), cmProfileError, CMProfileRef, CMValAbstract(), CMValColorSpace(), CMValDisplay(), CMValInput(), CMValLink(), CMValNamed(), CMValOutput(), icHeader::deviceClass, FALSE, icSigAbstractClass, icSigColorSpaceClass, icSigDisplayClass, icSigInputClass, icSigLinkClass, icSigNamedColorClass, icSigOutputClass, icVersionNumber, noErr, and icHeader::version.
|
|
Definition at line 113 of file lh_open/pi_run.c. References CMError, CMMModelPtr, cmparamErr, DATA_2_PTR, LHCheckBitMapPrivate(), LOCK_DATA, noErr, and UNLOCK_DATA. Referenced by CMCheckColorsInGamut(), and CMCheckRGBs().
|
|
Definition at line 224 of file lh_open/pi_run.c. References CMError, and cmparamErr.
|
|
Definition at line 359 of file lh_open/pi_run.c. References CMError, CMMModelPtr, cmparamErr, DATA_2_PTR, LHCheckColorsPrivate(), LOCK_DATA, noErr, and UNLOCK_DATA.
|
|
|
|
Definition at line 209 of file lh_open/pi_color.c. References CMError, CMMConcatInitPrivate(), CMMModelPtr, CMWorldRef, LHColorWorldClose(), LHColorWorldOpen(), and Ptr.
|
|
Definition at line 283 of file lh_open/pi_color.c. References CMError, CMMConcatInitPrivate(), CMMModelPtr, CMWorldRef, DeviceLinkFill(), dwFlags, LHColorWorldClose(), LHColorWorldOpen(), Ptr, and WriteProf(). Referenced by CMCreateMultiProfileTransformInternal().
|
|
Definition at line 436 of file lh_open/pi_color.c. References CMError, CMMModelPtr, and DeviceLinkFill().
|
|
Definition at line 375 of file lh_open/pi_color.c. References LHColorWorldClose(), and Ptr. Referenced by CMCreateDeviceLinkProfile(), CMCreateTransformExtInternal(), and CMDeleteTransform().
|
|
Definition at line 395 of file lh_open/pi_run.c. References CMError, CMMModelPtr, cmparamErr, DATA_2_PTR, LOCK_DATA, noErr, and UNLOCK_DATA. Referenced by CMTranslateRGB().
|
|
Definition at line 329 of file lh_open/pi_color.c. References CMError, CMMConcatInitPrivate(), CMMModelPtr, CMWorldRef, kCMMNewLinkProfile, LHColorWorldClose(), LHColorWorldOpen(), and Ptr.
|
|
Definition at line 56 of file lh_open/pi_run.c. References CMError, CMMModelPtr, cmparamErr, DATA_2_PTR, LHMatchBitMapPrivate(), LOCK_DATA, noErr, and UNLOCK_DATA. Referenced by CMTranslateRGB(), CMTranslateRGBs(), and CMTranslateRGBsExt().
|
|
Definition at line 168 of file lh_open/pi_run.c. References CMError, CMMModelPtr, cmparamErr, DATA_2_PTR, LHMatchBitMapPlanePrivate(), LOCK_DATA, noErr, and UNLOCK_DATA.
|
|
Definition at line 273 of file lh_open/pi_run.c. References CMError, CMMModelPtr, cmparamErr, DATA_2_PTR, LHMatchColorsPrivate(), LOCK_DATA, noErr, and UNLOCK_DATA. Referenced by CMTranslateColors().
|
|
Definition at line 141 of file lh_open/pi_color.c. References CMError, CMMInitPrivate(), CMMModelPtr, CMWorldRef, LHColorWorldClose(), LHColorWorldOpen(), and Ptr.
|