Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
File: IccCmm.cpp. More...
#include "IccXformFactory.h"
#include "IccTag.h"
#include "IccMpeBasic.h"
#include "IccArrayBasic.h"
#include "IccStructBasic.h"
#include "IccIO.h"
#include "IccApplyBPC.h"
#include "IccSparseMatrix.h"
#include "IccEncoding.h"
#include "IccMatrixMath.h"
Go to the source code of this file.
Macros | |
#define | ICCDUMPPIXEL(n, pix) |
#define | ICCPCSSTEPDUMPFMT ICCMTXSTEPDUMPFMT |
#define | IsCompatSpace(x, y) ((x)==(y) || (IsSpacePCS(x) && IsSpacePCS(y)) || (IsSpaceMCS(x) && IsSpaceMCS(y))/* || (IsSpaceCMYK(x) && IsSpaceCMYK(y))*/) |
#define | IsNChannelCompat(x, y) ((IsSpaceNChannel(x) && icNumColorSpaceChannels(x)==icGetSpaceSamples(y)) || (IsSpaceNChannel(y) && icNumColorSpaceChannels(y)==icGetSpaceSamples(x))) |
#define | IsSpaceCMYK(x) ((x)==icSigCmykData || (x)==icSig4colorData) |
#define | IsSpaceColorimetricPCS(x) ((x)==icSigXYZPcsData || (x)==icSigLabPcsData) |
#define | IsSpaceMCS(x) (icGetColorSpaceType(x)==icSigSrcMCSChannelData) |
#define | IsSpaceNChannel(x) (icGetColorSpaceType(x)==icSigNChannelData) |
#define | IsSpacePCS(x) (IsSpaceColorimetricPCS(x) || IsSpaceSpectralPCS(x)) |
Functions | |
static __inline bool | IsSpaceSpectralPCS (icUInt32Number sig) |
static icFloatNumber | RGBClip (icFloatNumber v, CIccCurve *pCurve) |
static icFloatNumber | XYZDescale (icFloatNumber v) |
static icFloatNumber | XYZScale (icFloatNumber v) |
Variables | |
icFloatNumber | icD50XYZ [3] |
File: IccCmm.cpp.
Contains: Implementation of the CIccCmm class.
Version: V1
Copyright: � see ICC Software License
Definition in file IccCmm.cpp.
#define ICCDUMPPIXEL | ( | n, | |
pix ) |
Definition at line 3387 of file IccCmm.cpp.
#define ICCPCSSTEPDUMPFMT ICCMTXSTEPDUMPFMT |
Definition at line 118 of file IccCmm.cpp.
#define IsCompatSpace | ( | x, | |
y ) ((x)==(y) || (IsSpacePCS(x) && IsSpacePCS(y)) || (IsSpaceMCS(x) && IsSpaceMCS(y))/* || (IsSpaceCMYK(x) && IsSpaceCMYK(y))*/) |
Definition at line 115 of file IccCmm.cpp.
#define IsNChannelCompat | ( | x, | |
y ) ((IsSpaceNChannel(x) && icNumColorSpaceChannels(x)==icGetSpaceSamples(y)) || (IsSpaceNChannel(y) && icNumColorSpaceChannels(y)==icGetSpaceSamples(x))) |
Definition at line 113 of file IccCmm.cpp.
#define IsSpaceCMYK | ( | x | ) | ((x)==icSigCmykData || (x)==icSig4colorData) |
Definition at line 111 of file IccCmm.cpp.
#define IsSpaceColorimetricPCS | ( | x | ) | ((x)==icSigXYZPcsData || (x)==icSigLabPcsData) |
Definition at line 107 of file IccCmm.cpp.
#define IsSpaceMCS | ( | x | ) | (icGetColorSpaceType(x)==icSigSrcMCSChannelData) |
Definition at line 110 of file IccCmm.cpp.
#define IsSpaceNChannel | ( | x | ) | (icGetColorSpaceType(x)==icSigNChannelData) |
Definition at line 108 of file IccCmm.cpp.
#define IsSpacePCS | ( | x | ) | (IsSpaceColorimetricPCS(x) || IsSpaceSpectralPCS(x)) |
Definition at line 109 of file IccCmm.cpp.
|
static |
Definition at line 96 of file IccCmm.cpp.
References icGetColorSpaceType, icSigBiDirReflectanceSpectralPcsData, icSigRadiantSpectralPcsData, icSigReflectanceSpectralPcsData, icSigSparseMatrixSpectralPcsData, icSigTransmissionSpectralPcsData, and sig.
|
static |
Definition at line 5196 of file IccCmm.cpp.
References CIccCurve::Apply().
|
static |
Definition at line 5191 of file IccCmm.cpp.
|
static |
Definition at line 5185 of file IccCmm.cpp.
|
extern |
Definition at line 782 of file IccUtil.cpp.
Referenced by CIccCamConverter::CIccCamConverter(), CIccDefaultEncProfileConverter::ConvertFromParams(), icDeNormXyz(), icLabtoXYZ(), icNormXyz(), icXYZtoLab(), and CIccTagSpectralViewingConditions::setIlluminant().