#include "windows.h"
#include "icc.h"
#include "icc_i386.h"
Go to the source code of this file.
Defines | |
#define | TYPE_CIEBASEDDEF 1 |
#define | TYPE_CIEBASEDDEFG 2 |
#define | TempBfSize 128 |
#define | CIEXYZRange 1.99997 |
#define | MAX_LINELENG 240 |
Typedefs | |
typedef MEMPTR | CHANDLE |
typedef MEMPTR __far * | LPCHANDLE |
Functions | |
BOOL EXTERN | LoadCP (LPCSTR filename, HGLOBAL FAR *phMem, LPCHANDLE lphCP) |
BOOL EXTERN | LoadCP32 (LPCSTR filename, HGLOBAL *phMem, LPCHANDLE lpCP) |
BOOL EXTERN | FreeCP (HGLOBAL hMem) |
BOOL EXTERN | ValidateCP (CHANDLE hCP) |
BOOL EXTERN | DoesCPTagExist (CHANDLE hCP, CSIG CPTag) |
BOOL EXTERN | GetCPTagIndex (CHANDLE hCP, CSIG CPTag, LPSINT lpIndex) |
BOOL EXTERN | GetCPElementCount (CHANDLE hCP, LPSINT lpIndex) |
BOOL EXTERN | ValidateCPElement (CHANDLE hCP, SINT Index) |
BOOL EXTERN | GetCPTagSig (CHANDLE hCP, SINT Index, LPCSIG lpCPTag) |
BOOL EXTERN | GetCPElementType (CHANDLE hCP, SINT Index, LPCSIG lpCSig) |
BOOL EXTERN | GetCPElementSize (CHANDLE hCP, SINT Index, LPSINT lpSize) |
BOOL EXTERN | GetCPElementDataSize (CHANDLE hCP, SINT Index, LPSINT lpSize) |
BOOL EXTERN | GetCPElement (CHANDLE hCP, SINT Index, MEMPTR lpData, SINT Size) |
BOOL EXTERN | GetCPElementData (CHANDLE hCP, SINT Index, MEMPTR lpData, SINT Size) |
BOOL EXTERN | GetCPElementDataType (CHANDLE CP, SINT Index, long far *lpDataType) |
BOOL EXTERN | GetCPSize (CHANDLE hCP, LPSINT lpSize) |
BOOL EXTERN | GetCPCMMType (CHANDLE hCP, LPCSIG lpType) |
BOOL EXTERN | GetCPVersion (CHANDLE hCP, LPSINT lpVers) |
BOOL EXTERN | GetCPClass (CHANDLE hCP, LPCSIG lpClass) |
BOOL EXTERN | GetCPDevSpace (CHANDLE hCP, LPCSIG lpDevSpace) |
BOOL EXTERN | GetCPConnSpace (CHANDLE hCP, LPCSIG lpConnSpace) |
BOOL EXTERN | GetCPTarget (CHANDLE hCP, LPCSIG lpTarget) |
BOOL EXTERN | GetCPManufacturer (CHANDLE hCP, LPCSIG lpManuf) |
BOOL EXTERN | GetCPModel (CHANDLE hCP, LPCSIG lpModel) |
BOOL EXTERN | GetCPFlags (CHANDLE hCP, LPSINT lpFlags) |
BOOL EXTERN | GetCPAttributes (CHANDLE hCP, LPATTRIB lpAttributes) |
BOOL EXTERN | GetCPWhitePoint (CHANDLE CP, LPSFLOAT lpWP) |
BOOL EXTERN | GetCPMediaWhitePoint (CHANDLE CP, LPSFLOAT lpMediaWP) |
BOOL EXTERN | GetCPRenderIntent (CHANDLE CP, LPSINT lpIntent) |
BOOL EXTERN | GetPS2ColorRenderingIntent (CHANDLE cp, DWORD Intent, MEMPTR lpMem, LPDWORD Size) |
SINT EXTERN | GetCPLastCPError () |
BOOL EXTERN | SetCPLastCPError (SINT cpError) |
BOOL EXTERN | SetCPLastError (SINT LastError) |
BOOL EXTERN | ValidColorSpace (LPPDEVICE lppd, LPICMINFO lpICMI, LPCSIG lpDevCS) |
SINT | WriteInt (MEMPTR lpMem, SINT Number) |
SINT | WriteHex (MEMPTR lpMem, SINT Number) |
SINT | WriteObject (MEMPTR lpMem, MEMPTR Obj) |
SINT | WriteObjectN (MEMPTR lpMem, MEMPTR Obj, SINT n) |
SINT | WriteHexBuffer (MEMPTR lpMem, MEMPTR lpBuff, MEMPTR lpLineStart, DWORD dwBytes) |
SINT | WriteFloat (MEMPTR lpMem, double dFloat) |
SINT | WriteStringToken (MEMPTR lpMem, BYTE Token, SINT sNum) |
SINT | WriteByteString (MEMPTR lpMem, MEMPTR lpBuff, SINT sBytes) |
SINT | WriteInt2ByteString (MEMPTR lpMem, MEMPTR lpBuff, SINT sBytes) |
SINT | WriteIntStringU2S (MEMPTR lpMem, MEMPTR lpBuff, SINT sNum) |
SINT | WriteIntStringU2S_L (MEMPTR lpMem, MEMPTR lpBuff, SINT sNum) |
SINT | WriteHNAToken (MEMPTR lpMem, BYTE Token, SINT sNum) |
SINT | WriteAscii85 (MEMPTR lpDest, unsigned long inword, SINT nBytes) |
SINT | ConvertBinaryData2Ascii (MEMPTR lpMem, SINT DataSize, SINT BufSize) |
SINT | Convert2Ascii (CHANDLE CP, SINT Index, MEMPTR lpData, SINT BufSize, SINT DataSize, BOOL AllowBinary) |
BOOL EXTERN | InvertMatrix (double FAR *lpInMatrix, double FAR *lpOutMatrix) |
BOOL EXTERN | MemAlloc (SINT Size, HGLOBAL FAR *hMemory, LPMEMPTR lpMH) |
BOOL EXTERN | MemFree (HGLOBAL hMem) |
DWORD | FIXED_2DOT30 (float) |
DWORD | FIXED_16DOT16 (float) |
BOOL | DoesTRCAndColorantTagExist (CHANDLE cp) |
BOOL | GetTRCElementSize (CHANDLE cp, CSIG icSigXTRCTag, LPSINT pIndex, LPSINT pTRCSize) |
|
Definition at line 15 of file jul98/test/csprof.h. |
|
Definition at line 16 of file jul98/test/csprof.h. |
|
Definition at line 14 of file jul98/test/csprof.h. |
|
Definition at line 12 of file jul98/test/csprof.h. |
|
Definition at line 13 of file jul98/test/csprof.h. |
|
Definition at line 39 of file jul98/test/csprof.h. |
|
Definition at line 39 of file jul98/test/csprof.h. |
|
Definition at line 1485 of file aug98/dll32/csprof.c. References AllowBinary, ASCII85DecodeBegine, ASCII85DecodeEnd, ConvertBinaryData2Ascii(), GetCPElementDataType(), Index, and SINT. Referenced by GetCSAFromProfile(), and GetPS2ColorRenderingDictionary().
|
|
Definition at line 1440 of file aug98/dll32/csprof.c. References ASCII85DecodeBegine, ASCII85DecodeEnd, MEMPTR, NewLine, NULL, SINT, WriteASCII85Cont(), and WriteObject. Referenced by Convert2Ascii().
|
|
Definition at line 403 of file aug98/dll32/csprof.c. References BOOL, Count, EXTERN, FALSE, lpcpProfile, lpcpTag, lpcpTagList, MEMPTR, SigtoCSIG, SINT, TRUE, and ui32toSINT.
|
|
Definition at line 662 of file aug98/dll32/getcrd.c. References DoesCPTagExist(), FALSE, icSigBlueColorantTag, icSigBlueTRCTag, icSigGreenColorantTag, icSigGreenTRCTag, icSigRedColorantTag, icSigRedTRCTag, and TRUE.
|
|
|
|
|
|
Definition at line 212 of file aug98/dll32/csprof.c. References BOOL, EXTERN, and MemFree(). Referenced by ColorSpaceControl(), CreateCRDControl(), CreateINTENTControl(), and CreateProfCRDControl().
|
|
Definition at line 885 of file aug98/dll32/csprof.c. References BOOL, EXTERN, LPATTRIB, and TRUE.
|
|
Definition at line 784 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE. Referenced by ValidateCP().
|
|
Definition at line 762 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 806 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, pcs, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 795 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 557 of file aug98/dll32/csprof.c. References BOOL, CP_NO_MEMORY_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), SINT, Size, TRUE, and ui32toSINT. Referenced by CreateColorantArray(), CreateColSpArray(), CreateColSpProc(), CreateFloatString(), CreateHostLutCRD(), CreateLutCRD(), CreateMatrixCRD(), CreateMonoCRD(), GetCPMediaWhitePoint(), GetCRDInputOutputArraySize(), GetHostCSA(), GetPS2CSA_DEFG(), GetPS2CSA_MONO_A(), GetPS2CSA_MONO_ABC(), GetTRCData(), and IsSRGB().
|
|
Definition at line 218 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpProfile, lpcpTagList, LPSINT, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 585 of file aug98/dll32/csprof.c. References BOOL, CP_NO_MEMORY_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), icUInt32Number, Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), SINT, Size, TRUE, and ui32toSINT.
|
|
Definition at line 522 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), icUInt32Number, Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 621 of file aug98/dll32/csprof.c. References __huge, BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 501 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 485 of file aug98/dll32/csprof.c. References BOOL, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTagBase, LPMEMPTR, MEMPTR, SigtoCSIG, and TRUE. Referenced by CreateHostLutCRD(), CreateLutCRD(), CreateMonoCRD(), GetCRDInputOutputArraySize(), GetHostCSA(), GetPS2CSA_DEFG(), GetPS2CSA_MONO_A(), GetPS2CSA_MONO_ABC(), GetTRCElementSize(), and ValidateCPElement().
|
|
Definition at line 850 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
|
|
Definition at line 828 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 890 of file aug98/dll32/csprof.c. References BOOL, DoesCPTagExist(), EXTERN, FALSE, GetCPElement(), GetCPElementSize(), GetCPTagIndex(), icS15Fixed16Number, icSigMediaWhitePointTag, Index, lpcpXYZType, LPMEMPTR, LPSINT, MemAlloc(), MemFree(), MEMPTR, SFLOAT, si16f16toSFLOAT, SINT, and TRUE.
|
|
Definition at line 839 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 861 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 751 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 426 of file aug98/dll32/csprof.c. References BOOL, Count, CP_NOT_FOUND_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpProfile, lpcpTag, lpcpTagList, MEMPTR, NULL, SetCPLastError(), SigtoCSIG, SINT, TRUE, and ui32toSINT. Referenced by CreateColorantArray(), CreateColSpArray(), CreateColSpProc(), CreateFloatString(), GetCPMediaWhitePoint(), GetCRDInputOutputArraySize(), GetCSAFromProfile(), GetHostColorRenderingDictionary(), GetHostCSA_Intent(), GetPS2ColorRenderingDictionary(), GetPS2ColorRenderingIntent(), GetPS2CSA_DEFG_Intent(), GetPS2CSA_MONO_A(), GetPS2CSA_MONO_ABC(), GetTRCElementSize(), and IsSRGB().
|
|
Definition at line 461 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, lpcpTag, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), SigtoCSIG, and TRUE. Referenced by CreateHostLutCRD(), CreateLutCRD(), GetHostCSA(), GetPS2CSA_DEFG(), and ValidateCPElement().
|
|
Definition at line 817 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 773 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 872 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, LPSFLOAT, NULL, SetCPLastError(), SFLOAT, si16f16toSFLOAT, and TRUE.
|
|
Definition at line 938 of file aug98/dll32/csprof.c.
|
|
Definition at line 647 of file aug98/dll32/getcrd.c. References CSIG, FALSE, GetCPElementSize(), GetCPElementType(), GetCPTagIndex(), icSigCurveType, LPCSIG, LPSINT, and TRUE.
|
|
Referenced by CreateMatrixCRD(), and GetHostMatrixCSAorCRD(). |
|
Definition at line 80 of file aug98/dll32/csprof.c. References BOOL, CHANDLE, CP_FILE_OPEN_ERR, CP_FILE_READ_ERR, CP_FORMAT_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, icMagicNumber, L, LPMEMPTR, LPVOID, MemAlloc(), MEMPTR, NULL, SetCPLastError(), SigtoCSIG, SINT, TRUE, and ui32toSINT.
|
|
Referenced by ColorSpaceControl(), CreateCRDControl(), CreateINTENTControl(), and CreateProfCRDControl(). |
|
Definition at line 32 of file aug98/dll32/csprof.c. References BOOL, CP_MEMORY_ALLOC_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, LPMEMPTR, LPVOID, MEMPTR, NULL, SetCPLastError(), Size, and TRUE.
|
|
Definition at line 63 of file aug98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, NULL, SetCPLastError(), and TRUE.
|
|
|
|
Definition at line 21 of file aug98/dll32/csprof.c. References BOOL, CPLastError, EXTERN, and TRUE. Referenced by CreateHostLutCRD(), CreateLutCRD(), GetCPClass(), GetCPCMMType(), GetCPConnSpace(), GetCPDevSpace(), GetCPElement(), GetCPElementCount(), GetCPElementData(), GetCPElementDataSize(), GetCPElementDataType(), GetCPElementInfo(), GetCPElementSize(), GetCPFlags(), GetCPManufacturer(), GetCPModel(), GetCPRenderIntent(), GetCPSize(), GetCPTagIndex(), GetCPTagSig(), GetCPTarget(), GetCPVersion(), GetCPWhitePoint(), GetHostCSA(), GetPS2CSA_DEFG(), LoadCP(), MemAlloc(), MemFree(), and ValidateCP().
|
|
Definition at line 260 of file aug98/dll32/csprof.c. References BOOL, CP_NOT_FOUND_ERR, CSIG, DoesCPTagExist(), EXTERN, FALSE, GetCPClass(), icSigAbstractClass, icSigAToB0Tag, icSigAToB1Tag, icSigAToB2Tag, icSigBlueColorantTag, icSigBlueTRCTag, icSigBToA0Tag, icSigBToA1Tag, icSigBToA2Tag, icSigColorSpaceClass, icSigCopyrightTag, icSigDisplayClass, icSigGamutTag, icSigGrayTRCTag, icSigGreenColorantTag, icSigGreenTRCTag, icSigInputClass, icSigLinkClass, icSigMediaWhitePointTag, icSigOutputClass, icSigProfileDescriptionTag, icSigProfileSequenceDescTag, icSigRedColorantTag, icSigRedTRCTag, LPCSIG, SetCPLastError(), and TRUE.
|
|
|
Definition at line 1029 of file aug98/dll32/csprof.c. References BOOL, CSIG, EXTERN, FALSE, icMagicNumber, icSigCmyData, tagICMINFO::lcsDestFilename, LPICMINFO, LPVOID, NULL, SigtoCSIG, SINT, and TRUE.
|
|
Definition at line 1400 of file aug98/dll32/csprof.c. References BYTE, lpDest, MEMPTR, and SINT. Referenced by WriteASCII85Cont().
|
|
Definition at line 1299 of file aug98/dll32/csprof.c. References SINT.
|
|
Definition at line 1193 of file aug98/dll32/csprof.c. References DWORD, SINT, and TempBfSize. Referenced by CreateFloatString(), CreateMatrixCRD(), GetPS2CSA_ABC(), GetPS2CSA_ABC_LAB(), GetPS2CSA_DEFG(), GetPS2CSA_MONO_A(), GetPS2CSA_MONO_ABC(), SendCRDABC(), SendCRDBWPoint(), SendCRDLMN(), SendCRDPQR(), and SendCSABWPoint().
|
|
Definition at line 1177 of file aug98/dll32/csprof.c. References SINT, and TempBfSize.
|
|
Definition at line 1104 of file aug98/dll32/csprof.c. References MAX_LINELENG, MEMPTR, NewLine, SINT, TempBfSize, and WriteObject.
|
|
Definition at line 1241 of file aug98/dll32/csprof.c. References BYTE, SINT, and Token.
|
|
Definition at line 1162 of file aug98/dll32/csprof.c. References MEMPTR, SINT, and TempBfSize.
|
|
Definition at line 1314 of file aug98/dll32/csprof.c. References BYTE, icUInt16Number, SINT, and ui16toSINT.
|
|
Definition at line 1257 of file aug98/dll32/csprof.c. References BYTE, icUInt16Number, SINT, and ui16toSINT.
|
|
Definition at line 1279 of file aug98/dll32/csprof.c. References BYTE, icUInt16Number, PUSHORT, and SINT.
|
|
Definition at line 1143 of file aug98/dll32/csprof.c. References SINT.
|
|
Definition at line 1152 of file aug98/dll32/csprof.c. Referenced by CreateInputArray(), CreateOutputArray(), GetPS2CSA_DEFG(), SendCRDABC(), and SendCRDOutputTable().
|
|
Definition at line 1227 of file aug98/dll32/csprof.c. References BYTE, SINT, and Token.
|