#include "generic.h"
Go to the source code of this file.
Defines | |
#define | ICMSEG |
#define | TempBfSize 128 |
#define | LINELENG 128 |
Functions | |
BOOL EXTERN | SetCPLastError (SINT LastError) |
SINT EXTERN | GetCPLastError () |
BOOL EXTERN | MemAlloc (SINT Size, HGLOBAL FAR *hMemory, LPMEMPTR lpMH) |
BOOL EXTERN | MemFree (HGLOBAL hMem) |
BOOL EXTERN | LoadCP (LPCSTR filename, HGLOBAL FAR *phMem, LPCHANDLE lpCP) |
BOOL EXTERN | FreeCP (HGLOBAL hMem) |
BOOL EXTERN | GetCPElementCount (CHANDLE CP, LPSINT lpCount) |
BOOL EXTERN | GetCPElementInfo (CHANDLE CP, SINT Index, LPMEMPTR lpTagData, LPMEMPTR lpElemData) |
BOOL EXTERN | ValidateCP (CHANDLE CP) |
BOOL EXTERN | DoesCPTagExist (CHANDLE CP, CSIG CPTag) |
BOOL EXTERN | GetCPTagIndex (CHANDLE CP, CSIG CPTag, LPSINT lpIndex) |
BOOL EXTERN | GetCPTagSig (CHANDLE CP, SINT Index, LPCSIG lpCPTag) |
BOOL EXTERN | GetCPElementType (CHANDLE CP, SINT Index, LPCSIG lpCSig) |
BOOL EXTERN | GetCPElementSize (CHANDLE CP, SINT Index, LPSINT lpSize) |
BOOL EXTERN | GetCPElementDataSize (CHANDLE CP, SINT Index, LPSINT lpSize) |
BOOL EXTERN | GetCPElement (CHANDLE CP, SINT Index, MEMPTR lpData, SINT Size) |
BOOL EXTERN | GetCPElementData (CHANDLE CP, SINT Index, MEMPTR lpData, SINT Size) |
BOOL EXTERN | GetCPElementDataType (CHANDLE CP, SINT Index, long far *lpDataType) |
BOOL EXTERN | ValidateCPElement (CHANDLE CP, SINT Index) |
BOOL EXTERN | GetCPSize (CHANDLE CP, LPSINT lpSize) |
BOOL EXTERN | GetCPCMMType (CHANDLE CP, LPCSIG lpType) |
BOOL EXTERN | GetCPVersion (CHANDLE CP, LPSINT lpVers) |
BOOL EXTERN | GetCPClass (CHANDLE CP, LPCSIG lpClass) |
BOOL EXTERN | GetCPDevSpace (CHANDLE CP, LPCSIG lpInSpace) |
BOOL EXTERN | GetCPConnSpace (CHANDLE CP, LPCSIG lpOutSpace) |
BOOL EXTERN | GetCPTarget (CHANDLE CP, LPCSIG lpTarget) |
BOOL EXTERN | GetCPManufacturer (CHANDLE CP, LPCSIG lpManuf) |
BOOL EXTERN | GetCPModel (CHANDLE CP, LPCSIG lpModel) |
BOOL EXTERN | GetCPFlags (CHANDLE CP, LPSINT lpFlags) |
BOOL EXTERN | GetCPRenderIntent (CHANDLE CP, LPSINT lpIntent) |
BOOL EXTERN | GetCPWhitePoint (CHANDLE CP, LPSFLOAT lpWP) |
BOOL EXTERN | GetCPAttributes (CHANDLE CP, LPATTRIB lpAttributes) |
BOOL EXTERN | GetCPMediaWhitePoint (CHANDLE cp, LPSFLOAT lpMediaWP) |
BOOL EXTERN | GetPS2ColorRenderingIntent (CHANDLE cp, DWORD Intent, MEMPTR lpMem, LPDWORD lpcbSize) |
BOOL EXTERN | ValidColorSpace (LPPDEVICE lppd, LPICMINFO lpICMI, LPCSIG lpDevCS) |
SINT | WriteHexBuffer (MEMPTR lpMem, MEMPTR lpBuff, MEMPTR lpLineStart, DWORD dwBytes) |
SINT | WriteNewLineObject (MEMPTR lpMem, MEMPTR Obj) |
SINT | WriteObject (MEMPTR lpMem, MEMPTR Obj) |
SINT | WriteObjectN (MEMPTR lpMem, MEMPTR Obj, SINT n) |
SINT | WriteInt (MEMPTR lpMem, SINT Number) |
SINT | WriteHex (MEMPTR lpMem, SINT Number) |
SINT | WriteFloat (MEMPTR lpMem, double dFloat) |
SINT | WriteStringToken (MEMPTR lpMem, BYTE Token, SINT sNum) |
SINT | WriteHNAToken (MEMPTR lpMem, BYTE Token, SINT sNum) |
SINT | WriteIntStringU2S (MEMPTR lpMem, MEMPTR lpBuff, SINT sNum) |
SINT | WriteIntStringU2S_L (MEMPTR lpMem, MEMPTR lpBuff, SINT sNum) |
SINT | WriteByteString (MEMPTR lpMem, MEMPTR lpBuff, SINT sBytes) |
SINT | WriteInt2ByteString (MEMPTR lpMem, MEMPTR lpBuff, SINT sBytes) |
SINT | WriteASCII85Cont (MEMPTR lpDest, SINT BufSize, MEMPTR lpSource, SINT DataSize) |
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) |
Variables | |
char ICM2SEG | NewLine [] = "\n" |
char ICM2SEG | ASCII85DecodeBegine [] = "<~" |
char ICM2SEG | ASCII85DecodeEnd [] = "~> cvx exec " |
SINT | CPLastError |
|
|
|
Definition at line 7 of file jul98/dll32/csprof.c. |
|
Definition at line 6 of file jul98/dll32/csprof.c. |
|
Definition at line 1485 of file jul98/dll32/csprof.c. References AllowBinary, ASCII85DecodeBegine, ASCII85DecodeEnd, ConvertBinaryData2Ascii(), GetCPElementDataType(), Index, and SINT. Referenced by GetCSAFromProfile(), and GetPS2ColorRenderingDictionary().
|
|
Definition at line 1440 of file jul98/dll32/csprof.c. References ASCII85DecodeBegine, ASCII85DecodeEnd, MEMPTR, NewLine, NULL, SINT, WriteASCII85Cont(), and WriteObject. Referenced by Convert2Ascii().
|
|
Definition at line 403 of file jul98/dll32/csprof.c. References BOOL, Count, EXTERN, FALSE, lpcpProfile, lpcpTag, lpcpTagList, MEMPTR, SigtoCSIG, SINT, TRUE, and ui32toSINT.
|
|
Definition at line 212 of file jul98/dll32/csprof.c. References BOOL, EXTERN, and MemFree(). Referenced by ColorSpaceControl(), CreateCRDControl(), CreateINTENTControl(), and CreateProfCRDControl().
|
|
Definition at line 885 of file jul98/dll32/csprof.c. References BOOL, EXTERN, LPATTRIB, and TRUE.
|
|
Definition at line 784 of file jul98/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 jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 806 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, pcs, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 795 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 557 of file jul98/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 jul98/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 jul98/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 jul98/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 jul98/dll32/csprof.c. References __huge, BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, GetCPElementInfo(), Index, LPMEMPTR, MEMPTR, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 232 of file jul98/dll32/csprof.c. References BOOL, Count, CP_NULL_POINTER_ERR, CP_OUT_OF_RANGE_ERR, EXTERN, FALSE, Index, lpcpProfile, lpcpTag, lpcpTagList, MEMPTR, NULL, SetCPLastError(), SINT, TRUE, and ui32toSINT. Referenced by GetCPElement(), GetCPElementData(), GetCPElementDataSize(), GetCPElementDataType(), GetCPElementSize(), GetCPElementType(), and GetCPTagSig().
|
|
Definition at line 501 of file jul98/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 jul98/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 jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 27 of file jul98/dll32/csprof.c. References CPLastError, EXTERN, and SINT.
|
|
Definition at line 828 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 890 of file jul98/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 jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 861 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 751 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 426 of file jul98/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 jul98/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 jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SigtoCSIG, and TRUE.
|
|
Definition at line 773 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), TRUE, and ui32toSINT.
|
|
Definition at line 872 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, lpcpHeader, NULL, SetCPLastError(), SFLOAT, si16f16toSFLOAT, and TRUE.
|
|
Definition at line 938 of file jul98/dll32/csprof.c. References BOOL, DoesCPTagExist(), DWORD, EXTERN, FALSE, GetCPElementData(), GetCPElementDataSize(), GetCPTagIndex(), icAbsoluteColorimetric, icPerceptual, icRelativeColorimetric, icSaturation, icSigPs2Intent0Tag, icSigPs2Intent1Tag, icSigPs2Intent2Tag, icSigPs2Intent3Tag, Index, Intent, LPSINT, NULL, SINT, Size, and TRUE.
|
|
Definition at line 80 of file jul98/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.
|
|
Definition at line 32 of file jul98/dll32/csprof.c. References BOOL, CP_MEMORY_ALLOC_ERR, CP_NULL_POINTER_ERR, EXTERN, FALSE, LPVOID, MEMPTR, NULL, SetCPLastError(), Size, and TRUE.
|
|
Definition at line 63 of file jul98/dll32/csprof.c. References BOOL, CP_NULL_POINTER_ERR, EXTERN, FALSE, NULL, SetCPLastError(), and TRUE.
|
|
Definition at line 21 of file jul98/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 jul98/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 jul98/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 jul98/dll32/csprof.c. References BYTE, lpDest, MEMPTR, and SINT. Referenced by WriteASCII85Cont().
|
|
Definition at line 1339 of file jul98/dll32/csprof.c. References BYTE, LINELENG, lpDest, lpSource, MEMPTR, NewLine, SINT, WriteAscii85(), and WriteObject. Referenced by Ascii85Encode(), and ConvertBinaryData2Ascii().
|
|
Definition at line 1299 of file jul98/dll32/csprof.c. References SINT.
|
|
Definition at line 1193 of file jul98/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 jul98/dll32/csprof.c. References SINT, and TempBfSize.
|
|
Definition at line 1104 of file jul98/dll32/csprof.c. References MAX_LINELENG, MEMPTR, NewLine, SINT, TempBfSize, and WriteObject.
|
|
Definition at line 1241 of file jul98/dll32/csprof.c. References BYTE, SINT, and Token.
|
|
Definition at line 1162 of file jul98/dll32/csprof.c. References MEMPTR, SINT, and TempBfSize.
|
|
Definition at line 1314 of file jul98/dll32/csprof.c. References BYTE, icUInt16Number, SINT, and ui16toSINT.
|
|
Definition at line 1257 of file jul98/dll32/csprof.c. References BYTE, icUInt16Number, SINT, and ui16toSINT.
|
|
Definition at line 1279 of file jul98/dll32/csprof.c. References BYTE, icUInt16Number, PUSHORT, and SINT.
|
|
Definition at line 1130 of file jul98/dll32/csprof.c.
|
|
Definition at line 1143 of file jul98/dll32/csprof.c. References SINT.
|
|
Definition at line 1152 of file jul98/dll32/csprof.c. Referenced by CreateInputArray(), CreateOutputArray(), GetPS2CSA_DEFG(), SendCRDABC(), and SendCRDOutputTable().
|
|
Definition at line 1227 of file jul98/dll32/csprof.c. References BYTE, SINT, and Token.
|
|
Definition at line 13 of file jul98/dll32/csprof.c. Referenced by Convert2Ascii(), and ConvertBinaryData2Ascii(). |
|
Definition at line 14 of file jul98/dll32/csprof.c. Referenced by Convert2Ascii(), and ConvertBinaryData2Ascii(). |
|
Definition at line 19 of file jul98/dll32/csprof.c. Referenced by GetCPLastError(), and SetCPLastError(). |
|
Definition at line 12 of file jul98/dll32/csprof.c. |