72#pragma warning( disable: 4786)
84#ifdef USEREFICCMAXNAMESPACE
132 sDescription +=
"ELEM_bACS\n";
134 sDescription +=
"ELEM_eACS\n";
137 sDescription +=
" Signature = ";
138 sDescription += sigBuf;
139 sDescription +=
"\n";
141 if ((m_pData) && (nVerboseness > 50)) {
142 sDescription +=
"\nData Follows:\n";
144 icMemDump(sDescription, m_pData, m_nDataSize);
168 if (headerSize > size)
178 if (!pIO->
Read32(&m_nReserved))
181 if (!pIO->
Read16(&m_nInputChannels))
184 if (!pIO->
Read16(&m_nOutputChannels))
187 if (!pIO->
Read32(&m_signature))
192 if (!AllocData(dataSize))
223 if (!pIO->
Write32(&m_nReserved))
226 if (!pIO->
Write16(&m_nInputChannels))
229 if (!pIO->
Write16(&m_nOutputChannels))
232 if (!pIO->
Write32(&m_signature))
235 if (m_pData && m_nDataSize) {
236 if (pIO->
Write8(m_pData, m_nDataSize)!=m_nDataSize)
255 if (m_nInputChannels!=m_nOutputChannels)
273 memcpy(dstPixel, srcPixel, m_nInputChannels*
sizeof(
icFloatNumber));
318 return (size==0 || m_pData!=NULL);
336 m_nInputChannels = nChannels;
337 m_nOutputChannels = nChannels;
363 memcpy(m_pData, elemAcs.
m_pData, m_nDataSize);
388 memcpy(m_pData, elemAcs.
m_pData, m_nDataSize);
422 m_nInputChannels = nChannels;
423 m_nOutputChannels = nChannels;
446 memcpy(m_pData, elemAcs.
m_pData, m_nDataSize);
469 memcpy(m_pData, elemAcs.
m_pData, m_nDataSize);
489#ifdef USEREFICCMAXNAMESPACE
float icFloatNumber
All floating point operations/variables in IccProfLib use the icFloatNumber data type.
void icMemDump(std::string &sDump, void *pBuf, icUInt32Number nNum)
const icChar * icGetSig(icChar *pBuf, icUInt32Number nSig, bool bGetHexVal)
unsigned int icUInt32Number
virtual icInt32Number Write8(void *pBuf8, icInt32Number nNum=1)
icInt32Number Write16(void *pBuf16, icInt32Number nNum=1)
virtual icInt32Number Read8(void *pBuf8, icInt32Number nNum=1)
icInt32Number Read16(void *pBuf16, icInt32Number nNum=1)
icInt32Number Write32(void *pBuf32, icInt32Number nNum=1)
icInt32Number Read32(void *pBuf32, icInt32Number nNum=1)
bool AllocData(icUInt32Number size)
Name: CIccMpeAcs::AllocData.
icAcsSignature m_signature
virtual bool Begin(icElemInterp nInterp, CIccTagMultiProcessElement *pMPE)
Name: CIccMpeAcs::Begin.
virtual icValidateStatus Validate(std::string sigPath, std::string &sReport, const CIccTagMultiProcessElement *pMPE=NULL, const CIccProfile *pProfile=NULL) const
Name: CIccMpeAcs::Validate.
virtual bool Write(CIccIO *pIO)
Name: CIccMpeAcs::Write.
virtual bool Read(icUInt32Number size, CIccIO *pIO)
Name: CIccMpeAcs::Read.
virtual void Apply(CIccApplyMpe *pApply, icFloatNumber *dstPixel, const icFloatNumber *srcPixel) const
Name: CIccMpeAcs::Apply.
virtual void Describe(std::string &sDescription, int nVerboseness)
Name: CIccMpeAcs::Describe.
icUInt32Number m_nDataSize
virtual ~CIccMpeAcs()
Name: CIccMpeAcs::~CIccMpeAcs.
CIccMpeAcs()
Name: CIccMpeAcs::CIccMpeACS.
CIccMpeBAcs(icUInt16Number nChannels=0, icAcsSignature sig=0)
Name: CIccMpeBeginAcs::CIccMpeBeginAcs.
virtual ~CIccMpeBAcs()
Name: CIccMpeBeginAcs::~CIccMpeBeginAcs.
CIccMpeBAcs & operator=(const CIccMpeBAcs &elemAcs)
Name: &CIccMpeBeginAcs::operator=.
virtual ~CIccMpeEAcs()
Name: CIccMpeEndAcs::~CIccMpeEndAcs.
CIccMpeEAcs(icUInt16Number nChannels=0, icAcsSignature sig=0)
Name: CIccMpeEndAcs::CIccMpeEndAcs.
CIccMpeEAcs & operator=(const CIccMpeEAcs &elemAcs)
Name: &CIccMpeEndAcs::operator=.
icUInt16Number m_nOutputChannels
icUInt16Number m_nInputChannels
icUInt32Number m_nReserved
virtual icValidateStatus Validate(std::string sigPath, std::string &sReport, const CIccTagMultiProcessElement *pMPE=NULL, const CIccProfile *pProfile=NULL) const =0
Name: CIccProcessElement::Validate.
Class: CIccTagMultiProcessElement.