#include "generic.h"
#include "stdio.h"
Go to the source code of this file.
Defines | |
#define | ICMSEG |
#define | SRGBCRC 0x678175D2L |
Functions | |
SINT EXTERN | CreateLutCRD (CHANDLE cp, SINT Index, MEMPTR lpMem, DWORD InputIntent, BOOL AllowBinary) |
BOOL | GetRevCurve (MEMPTR lpBuff, MEMPTR lpCurve, MEMPTR lpRevCurve) |
SINT EXTERN | CreateMonoCRD (CHANDLE cp, SINT Index, MEMPTR lpMem, DWORD InputIntent) |
BOOL | GetTRCElementSize (CHANDLE cp, CSIG icSigXTRCTag, LPSINT pIndex, LPSINT pTRCSize) |
BOOL | DoesTRCAndColorantTagExist (CHANDLE cp) |
SINT | CreateRevArray (CHANDLE cp, MEMPTR lpMem, MEMPTR lpBuff, MEMPTR lpRevCurve, CSIG CPTag, BOOL AllowBinary) |
SINT | SendRevArray (CHANDLE cp, MEMPTR lpMem, MEMPTR lpBuff, CSIG CPTag, BOOL AllowBinary) |
SINT | CreateColorantArray (CHANDLE cp, double FAR *lpArray, CSIG CPTag) |
BOOL FAR | IsSRGB (CHANDLE cp) |
SINT EXTERN | CreateMatrixCRD (CHANDLE cp, MEMPTR lpMem, DWORD InputIntent, BOOL AllowBinary) |
BOOL EXTERN | GetPS2ColorRenderingDictionary (CHANDLE cp, DWORD Intent, MEMPTR lpMem, LPDWORD lpcbSize, BOOL AllowBinary) |
Variables | |
char ICMSEG | BeginString [] = "<" |
char ICMSEG | EndString [] = ">" |
char ICMSEG | BeginArray [] = "[" |
char ICMSEG | EndArray [] = "]" |
char ICMSEG | BeginFunction [] = "{" |
char ICMSEG | EndFunction [] = "}bind " |
char ICMSEG | BeginDict [] = "<<" |
char ICMSEG | EndDict [] = ">>" |
char ICMSEG | BlackPoint [] = "[0 0 0]" |
char ICMSEG | DictType [] = "/ColorRenderingType 1 " |
char ICMSEG | IntentType [] = "/RenderingIntent " |
char ICMSEG | IntentPer [] = "/Perceptual" |
char ICMSEG | IntentSat [] = "/Saturation" |
char ICMSEG | IntentACol [] = "/AbsoluteColorimetric" |
char ICMSEG | IntentRCol [] = "/RelativeColorimetric" |
char ICMSEG | WhitePointTag [] = "/WhitePoint " |
char ICMSEG | BlackPointTag [] = "/BlackPoint " |
char ICMSEG | RangePQRTag [] = "/RangePQR " |
char ICMSEG | TransformPQRTag [] = "/TransformPQR " |
char ICMSEG | MatrixPQRTag [] = "/MatrixPQR " |
char ICMSEG | RangeABCTag [] = "/RangeABC " |
char ICMSEG | MatrixATag [] = "/MatrixA " |
char ICMSEG | MatrixABCTag [] = "/MatrixABC " |
char ICMSEG | EncodeABCTag [] = "/EncodeABC " |
char ICMSEG | RangeLMNTag [] = "/RangeLMN " |
char ICMSEG | MatrixLMNTag [] = "/MatrixLMN " |
char ICMSEG | EncodeLMNTag [] = "/EncodeLMN " |
char ICMSEG | RenderTableTag [] = "/RenderTable " |
char ICMSEG | CIEBasedATag [] = "/CIEBasedA " |
char ICMSEG | CIEBasedABCTag [] = "/CIEBasedABC " |
char ICMSEG | CIEBasedDEFGTag [] = "/CIEBasedDEFG " |
char ICMSEG | CIEBasedDEFTag [] = "/CIEBasedDEF " |
char ICMSEG | DecodeATag [] = "/DecodeA " |
char ICMSEG | DecodeABCTag [] = "/DecodeABC " |
char ICMSEG | DecodeLMNTag [] = "/DecodeLMN " |
char ICMSEG | DeviceRGBTag [] = "/DeviceRGB " |
char ICMSEG | DeviceCMYKTag [] = "/DeviceCMYK " |
char ICMSEG | DeviceGrayTag [] = "/DeviceGray " |
char ICMSEG | TableTag [] = "/Table " |
char ICMSEG | DecodeDEFGTag [] = "/DecodeDEFG " |
char ICMSEG | DecodeDEFTag [] = "/DecodeDEF " |
char ICMSEG | NullOp [] = "" |
char ICMSEG | DupOp [] = "dup " |
char ICMSEG | UserDictOp [] = "userdict " |
char ICMSEG | GlobalDictOp [] = "globaldict " |
char ICMSEG | CurrentGlobalOp [] = "currentglobal " |
char ICMSEG | SetGlobalOp [] = "setglobal " |
char ICMSEG | DefOp [] = "def " |
char ICMSEG | BeginOp [] = "begin " |
char ICMSEG | EndOp [] = "end " |
char ICMSEG | TrueOp [] = "true " |
char ICMSEG | FalseOp [] = "false " |
char ICMSEG | MulOp [] = "mul " |
char ICMSEG | DivOp [] = "div " |
char ICMSEG | NewLine [] = "\n" |
char ICMSEG | Slash [] = "/" |
char ICMSEG | Space [] = " " |
char ICMSEG | CRDBegin [] = "%** CRD Begin " |
char ICMSEG | CRDEnd [] = "%** CRD End " |
char ICMSEG | CieBasedDEFGBegin [] = "%** CieBasedDEFG CSA Begin " |
char ICMSEG | CieBasedDEFBegin [] = "%** CieBasedDEF CSA Begin " |
char ICMSEG | CieBasedABCBegin [] = "%** CieBasedABC CSA Begin " |
char ICMSEG | CieBasedABegin [] = "%** CieBasedA CSA Begin " |
char ICMSEG | CieBasedDEFGEnd [] = "%** CieBasedDEFG CSA End " |
char ICMSEG | CieBasedDEFEnd [] = "%** CieBasedDEF CSA End " |
char ICMSEG | CieBasedABCEnd [] = "%** CieBasedABC CSA End " |
char ICMSEG | CieBasedAEnd [] = "%** CieBasedA CSA End " |
char ICMSEG | RangeABC [] = "[ 0 1 0 1 0 1 ] " |
char ICMSEG | RangeLMN [] = "[ 0 2 0 2 0 2 ] " |
char ICMSEG | Identity [] = "[1 0 0 0 1 0 0 0 1]" |
char ICMSEG | RangeABC_Lab [] = "[0 100 -128 127 -128 127]" |
char ICMSEG | Clip01 [] = "dup 1.0 ge{pop 1.0}{dup 0.0 lt{pop 0.0}if}ifelse " |
char ICMSEG | DecodeA3 [] = "256 div exp " |
char ICMSEG | DecodeA3Rev [] = "256 div 1.0 exch div exp " |
char ICMSEG | DecodeABCArray [] = "DecodeABC_" |
char ICMSEG | InputArray [] = "Inp_" |
char ICMSEG | OutputArray [] = "Out_" |
char ICMSEG | PreViewInArray [] = "IPV_" |
char ICMSEG | PreViewOutArray [] = "OPV_" |
char ICMSEG | AdobeCSA [] |
char ICMSEG | AdobeCRD [] |
char ICMSEG | IndexArray16b [] |
char ICMSEG | IndexArray [] |
char ICMSEG | TestingDEFG [] |
char ICMSEG | SupportDEFG_S [] = "SupportDEFG? { " |
char ICMSEG | NotSupportDEFG_S [] = "SupportDEFG? not { " |
char ICMSEG | SupportDEFG_E [] = "}if " |
char ICMSEG | StartClip [] = "dup 1.0 le{dup 0.0 ge{" |
char ICMSEG | EndClip [] = "}if}if " |
char ICMSEG | Scale8 [] = "255 div " |
char ICMSEG | Scale16 [] = "65535 div " |
char ICMSEG | Scale16XYZ [] = "32768 div " |
char ICMSEG | TFunction8 [] = "exch 255 mul round cvi get 255 div " |
char ICMSEG | TFunction8XYZ [] = "exch 255 mul round cvi get 128 div " |
char ICMSEG | MatrixABCLab [] = "[1 1 1 1 0 0 0 0 -1]" |
char ICMSEG | DecodeABCLab1 [] = "[{16 add 116 div} bind {500 div} bind {200 div} bind]" |
char ICMSEG | DecodeALab [] = " 50 mul 16 add 116 div " |
char ICMSEG | DecodeLMNLab [] |
char ICMSEG | RangeLMNLab [] = "[0 1 0 1 0 1]" |
char ICMSEG | EncodeLMNLab [] |
char ICMSEG | MatrixABCLabCRD [] = "[0 500 0 116 -500 200 0 0 -200]" |
char ICMSEG | MatrixABCXYZCRD [] = "[0 1 0 1 0 0 0 0 1]" |
char ICMSEG | EncodeABCLab1 [] = "16 sub 100 div " |
char ICMSEG | EncodeABCLab2 [] = "128 add 255 div " |
char ICMSEG | RangePQR [] = "[ -0.07 2.2 -0.02 1.4 -0.2 4.8 ]" |
char ICMSEG | MatrixPQR [] = "[0.8951 -0.7502 0.0389 0.2664 1.7135 -0.0685 -0.1614 0.0367 1.0296]" |
char * | TransformPQR [3] |
|
|
|
Definition at line 158 of file jan99/dll32/getcrd.c. |
|
Definition at line 763 of file jan99/dll32/getcrd.c. References FAR, GetCPElement(), GetCPElementSize(), GetCPTagIndex(), icS15Fixed16Number, Index, lpcpXYZType, LPMEMPTR, LPSINT, MemAlloc(), MemFree(), MEMPTR, NULL, SFLOAT, si16f16toSFLOAT, SINT, and TRUE.
|
|
Definition at line 186 of file jan99/dll32/getcrd.c. References AllowBinary, BeginArray, BeginDict, BeginGlobalDict(), BeginString, CP_POSTSCRIPT_ERR, CRDBegin, CRDEnd, CreateInputArray(), CreateOutputArray(), CSIG, DictType, EnableGlobalDict(), EndArray, EndClip, EndDict, EndGlobalDict(), EndString, FALSE, FAR, GetCLUTinfo(), GetCPConnSpace, GetCPElement(), GetCPElementSize(), GetCPElementType(), GetCPMediaWhitePoint(), GetCPTagSig(), GetCPWhitePoint(), GetPublicArrayName(), icAbsoluteColorimetric, icPerceptual, icRelativeColorimetric, icSaturation, icSigLut16Type, icSigLut8Type, icUInt16Number, Index, IndexArray, IntentACol, IntentPer, IntentRCol, IntentSat, IntentType, lpcpLut16Type, lpcpLut8Type, LPCSIG, LPMEMPTR, LPSFLOAT, LPSINT, MAX_LINELENG, MemAlloc(), MemFree(), MEMPTR, NewLine, NULL, RenderTableTag, SendCRDABC(), SendCRDBWPoint(), SendCRDLMN(), SendCRDOutputTable(), SendCRDPQR(), SetCPLastError(), SFLOAT, SINT, StartClip, TempBfSize, ui16toSINT, WriteByteString(), WriteHex, WriteHexBuffer(), WriteInt, WriteInt2ByteString(), WriteNewLineObject(), WriteObject, and WriteStringToken().
|
|
Definition at line 877 of file jan99/dll32/getcrd.c. References AdobeCRD, AllowBinary, BeginArray, BeginDict, BeginGlobalDict(), CRDBegin, CRDEnd, CreateColorantArray(), CreateRevArray(), DictType, EnableGlobalDict(), EncodeABCTag, EndArray, EndDict, EndGlobalDict(), FAR, GetCPElement(), GetCPWhitePoint(), GetTRCElementSize(), icAbsoluteColorimetric, icPerceptual, icRelativeColorimetric, icSaturation, icSigBlueColorantTag, icSigBlueTRCTag, icSigGreenColorantTag, icSigGreenTRCTag, icSigRedColorantTag, icSigRedTRCTag, IntentACol, IntentPer, IntentRCol, IntentSat, IntentType, InvertMatrix(), IsSRGB(), lpcpCurveType, LPMEMPTR, LPSFLOAT, MatrixLMNTag, MemAlloc(), MemFree(), MEMPTR, NewLine, NULL, REVCURVE_RATIO, SendCRDBWPoint(), SendCRDPQR(), SendRevArray(), SFLOAT, SINT, ui32toSINT, WriteFloat(), WriteNewLineObject(), and WriteObject.
|
|
Definition at line 487 of file jan99/dll32/getcrd.c. References BeginArray, BeginDict, BeginFunction, CSIG, DecodeA3Rev, DictType, DupOp, EncodeABCLab1, EncodeABCTag, EndArray, EndClip, EndDict, EndFunction, FALSE, FAR, GetCPConnSpace, GetCPElement(), GetCPElementSize(), GetCPElementType(), GetCPMediaWhitePoint(), GetCPWhitePoint(), GetRevCurve(), icAbsoluteColorimetric, icPerceptual, icRelativeColorimetric, icSaturation, icSigCurveType, icSigLabData, icSigXYZData, icUInt16Number, Index, IndexArray, IntentACol, IntentPer, IntentRCol, IntentSat, IntentType, lpcpCurveType, LPCSIG, LPMEMPTR, LPSFLOAT, LPSINT, MatrixABCLabCRD, MatrixABCTag, MatrixABCXYZCRD, MAX_LINELENG, MemAlloc(), MemFree(), MEMPTR, NewLine, NULL, PUSHORT, REVCURVE_RATIO, Scale16, SendCRDBWPoint(), SendCRDLMN(), SendCRDPQR(), SFLOAT, SINT, StartClip, ui16toSINT, ui32toSINT, WriteInt, WriteNewLineObject(), and WriteObject.
|
|
Definition at line 678 of file jan99/dll32/getcrd.c. References AllowBinary, BeginArray, DefOp, EndArray, GetRevCurve(), icUInt16Number, InputArray, lpcpCurveType, MAX_LINELENG, MEMPTR, NewLine, PUSHORT, REVCURVE_RATIO, SINT, Slash, ui32toSINT, WriteHNAToken(), WriteInt, WriteIntStringU2S_L(), WriteNewLineObject(), and WriteObject.
|
|
Definition at line 662 of file jan99/dll32/getcrd.c. References DoesCPTagExist(), FALSE, icSigBlueColorantTag, icSigBlueTRCTag, icSigGreenColorantTag, icSigGreenTRCTag, icSigRedColorantTag, icSigRedTRCTag, and TRUE.
|
|
Definition at line 1044 of file jan99/dll32/getcrd.c. References AllowBinary, Convert2Ascii(), CreateLutCRD(), CreateMatrixCRD(), CreateMonoCRD(), CSIG, DoesCPTagExist(), DoesTRCAndColorantTagExist(), DWORD, FALSE, GetCPElementData(), GetCPElementDataSize(), GetCPTagIndex(), icAbsoluteColorimetric, icPerceptual, icRelativeColorimetric, icSaturation, icSigBToA0Tag, icSigBToA1Tag, icSigBToA2Tag, icSigGrayTRCTag, icSigPs2CRD0Tag, icSigPs2CRD1Tag, icSigPs2CRD2Tag, icSigPs2CRD3Tag, Index, Intent, LPSINT, NULL, SINT, and Size.
|
|
Definition at line 408 of file jan99/dll32/getcrd.c. References icUInt16Number, lpcpCurveType, MEMPTR, PUSHORT, REVCURVE_RATIO, SFLOAT, SINT, TRUE, ui16toSINT, ui32toSINT, and USHORT.
|
|
Definition at line 647 of file jan99/dll32/getcrd.c. References CSIG, FALSE, GetCPElementSize(), GetCPElementType(), GetCPTagIndex(), icSigCurveType, LPCSIG, LPSINT, and TRUE.
|
|
Definition at line 799 of file jan99/dll32/getcrd.c. References BOOL, crc32(), DWORD, FALSE, FAR, GetCPElement(), GetCPElementSize(), GetCPTagIndex(), icSigBlueColorantTag, icSigBlueTRCTag, icSigGreenColorantTag, icSigGreenTRCTag, icSigRedColorantTag, icSigRedTRCTag, LPMEMPTR, MemAlloc(), MemFree(), MEMPTR, NULL, SINT, and SRGBCRC. Referenced by CreateMatrixCRD(), and GetPS2CSA_ABC().
|
|
Definition at line 724 of file jan99/dll32/getcrd.c. References AllowBinary, BeginFunction, DecodeA3Rev, EndClip, EndFunction, IndexArray, IndexArray16b, InputArray, lpcpCurveType, MEMPTR, Scale16, SINT, StartClip, ui16toSINT, ui32toSINT, WriteInt, and WriteObject.
|
|
Initial value:
Definition at line 97 of file jan99/dll32/getcrd.c. |
|
Initial value:
Definition at line 92 of file jan99/dll32/getcrd.c. |
|
Definition at line 7 of file jan99/dll32/getcrd.c. |
|
Definition at line 11 of file jan99/dll32/getcrd.c. |
|
Definition at line 9 of file jan99/dll32/getcrd.c. |
|
Definition at line 56 of file jan99/dll32/getcrd.c. |
|
Definition at line 5 of file jan99/dll32/getcrd.c. |
|
Definition at line 13 of file jan99/dll32/getcrd.c. |
|
Definition at line 22 of file jan99/dll32/getcrd.c. |
|
Definition at line 70 of file jan99/dll32/getcrd.c. |
|
Definition at line 74 of file jan99/dll32/getcrd.c. |
|
Definition at line 36 of file jan99/dll32/getcrd.c. |
|
Definition at line 71 of file jan99/dll32/getcrd.c. |
|
Definition at line 75 of file jan99/dll32/getcrd.c. |
|
Definition at line 35 of file jan99/dll32/getcrd.c. |
|
Definition at line 69 of file jan99/dll32/getcrd.c. |
|
Definition at line 73 of file jan99/dll32/getcrd.c. |
|
Definition at line 68 of file jan99/dll32/getcrd.c. |
|
Definition at line 72 of file jan99/dll32/getcrd.c. |
|
Definition at line 37 of file jan99/dll32/getcrd.c. |
|
Definition at line 38 of file jan99/dll32/getcrd.c. |
|
Definition at line 83 of file jan99/dll32/getcrd.c. |
|
Definition at line 66 of file jan99/dll32/getcrd.c. |
|
Definition at line 67 of file jan99/dll32/getcrd.c. |
|
Definition at line 53 of file jan99/dll32/getcrd.c. |
|
Definition at line 84 of file jan99/dll32/getcrd.c. |
|
Definition at line 85 of file jan99/dll32/getcrd.c. |
|
Definition at line 86 of file jan99/dll32/getcrd.c. |
|
Definition at line 136 of file jan99/dll32/getcrd.c. |
|
Definition at line 40 of file jan99/dll32/getcrd.c. |
|
Definition at line 137 of file jan99/dll32/getcrd.c. |
|
Definition at line 39 of file jan99/dll32/getcrd.c. |
|
Definition at line 46 of file jan99/dll32/getcrd.c. |
|
Definition at line 47 of file jan99/dll32/getcrd.c. |
|
Initial value:
Definition at line 138 of file jan99/dll32/getcrd.c. |
|
Definition at line 41 of file jan99/dll32/getcrd.c. |
|
Definition at line 55 of file jan99/dll32/getcrd.c. |
|
Definition at line 43 of file jan99/dll32/getcrd.c. |
|
Definition at line 44 of file jan99/dll32/getcrd.c. |
|
Definition at line 42 of file jan99/dll32/getcrd.c. |
|
Definition at line 14 of file jan99/dll32/getcrd.c. |
|
Definition at line 61 of file jan99/dll32/getcrd.c. |
|
Definition at line 50 of file jan99/dll32/getcrd.c. |
|
Definition at line 147 of file jan99/dll32/getcrd.c. |
|
Definition at line 148 of file jan99/dll32/getcrd.c. |
|
Definition at line 30 of file jan99/dll32/getcrd.c. |
|
Initial value:
Definition at line 142 of file jan99/dll32/getcrd.c. |
|
Definition at line 33 of file jan99/dll32/getcrd.c. |
|
Definition at line 8 of file jan99/dll32/getcrd.c. |
|
Definition at line 128 of file jan99/dll32/getcrd.c. |
|
Definition at line 12 of file jan99/dll32/getcrd.c. |
|
Definition at line 10 of file jan99/dll32/getcrd.c. |
|
Definition at line 57 of file jan99/dll32/getcrd.c. |
|
Definition at line 6 of file jan99/dll32/getcrd.c. |
|
Definition at line 59 of file jan99/dll32/getcrd.c. |
|
Definition at line 52 of file jan99/dll32/getcrd.c. |
|
Definition at line 78 of file jan99/dll32/getcrd.c. |
|
Initial value:
Definition at line 115 of file jan99/dll32/getcrd.c. |
|
Initial value:
Definition at line 110 of file jan99/dll32/getcrd.c. |
|
Definition at line 87 of file jan99/dll32/getcrd.c. |
|
Definition at line 18 of file jan99/dll32/getcrd.c. |
|
Definition at line 16 of file jan99/dll32/getcrd.c. |
|
Definition at line 19 of file jan99/dll32/getcrd.c. |
|
Definition at line 17 of file jan99/dll32/getcrd.c. |
|
Definition at line 15 of file jan99/dll32/getcrd.c. |
|
Definition at line 135 of file jan99/dll32/getcrd.c. |
|
Definition at line 145 of file jan99/dll32/getcrd.c. |
|
Definition at line 29 of file jan99/dll32/getcrd.c. |
|
Definition at line 146 of file jan99/dll32/getcrd.c. |
|
Definition at line 28 of file jan99/dll32/getcrd.c. |
|
Definition at line 32 of file jan99/dll32/getcrd.c. |
|
Definition at line 151 of file jan99/dll32/getcrd.c. |
|
Definition at line 25 of file jan99/dll32/getcrd.c. |
|
Definition at line 60 of file jan99/dll32/getcrd.c. |
|
Definition at line 63 of file jan99/dll32/getcrd.c. |
|
Definition at line 124 of file jan99/dll32/getcrd.c. |
|
Definition at line 49 of file jan99/dll32/getcrd.c. |
|
Definition at line 88 of file jan99/dll32/getcrd.c. |
|
Definition at line 89 of file jan99/dll32/getcrd.c. |
|
Definition at line 90 of file jan99/dll32/getcrd.c. |
|
Definition at line 76 of file jan99/dll32/getcrd.c. |
|
Definition at line 79 of file jan99/dll32/getcrd.c. |
|
Definition at line 27 of file jan99/dll32/getcrd.c. |
|
Definition at line 77 of file jan99/dll32/getcrd.c. |
|
Definition at line 141 of file jan99/dll32/getcrd.c. |
|
Definition at line 31 of file jan99/dll32/getcrd.c. |
|
Definition at line 150 of file jan99/dll32/getcrd.c. |
|
Definition at line 23 of file jan99/dll32/getcrd.c. |
|
Definition at line 34 of file jan99/dll32/getcrd.c. |
|
Definition at line 131 of file jan99/dll32/getcrd.c. |
|
Definition at line 132 of file jan99/dll32/getcrd.c. |
|
Definition at line 130 of file jan99/dll32/getcrd.c. |
|
Definition at line 54 of file jan99/dll32/getcrd.c. |
|
Definition at line 64 of file jan99/dll32/getcrd.c. |
|
Definition at line 65 of file jan99/dll32/getcrd.c. |
|
Definition at line 127 of file jan99/dll32/getcrd.c. |
|
Definition at line 125 of file jan99/dll32/getcrd.c. |
|
Definition at line 123 of file jan99/dll32/getcrd.c. |
|
Definition at line 45 of file jan99/dll32/getcrd.c. |
|
Initial value:
Definition at line 120 of file jan99/dll32/getcrd.c. |
|
Definition at line 133 of file jan99/dll32/getcrd.c. |
|
Definition at line 134 of file jan99/dll32/getcrd.c. |
|
Initial value:
Definition at line 153 of file jan99/dll32/getcrd.c. |
|
Definition at line 24 of file jan99/dll32/getcrd.c. |
|
Definition at line 58 of file jan99/dll32/getcrd.c. |
|
Definition at line 51 of file jan99/dll32/getcrd.c. |
|
Definition at line 21 of file jan99/dll32/getcrd.c. |