Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccCalculatorFunc. More...
#include <IccMpeCalc.h>
Protected Member Functions | |
bool | ApplySequence (CIccApplyMpeCalculator *pApply, icUInt32Number nOps, SIccCalcOp *op) const |
Name: CIccCalculatorFunc::ApplySequence. | |
void | DescribeSequence (std::string &sDescription, icUInt32Number nOps, SIccCalcOp *op, int nBlanks) |
bool | InitSelectOp (SIccCalcOp *ops, icUInt32Number nOps) |
Name: CIccCalculatorFunc::InitSelectOp. | |
bool | InitSelectOps () |
Name: CIccCalculatorFunc::InitSelectOps. | |
void | InsertBlanks (std::string &sDescription, int nBlanks) |
const char * | ParseFuncDef (const char *szFuncDef, CIccCalcOpList &m_list, std::string &sReport) |
Name: CIccCalculatorFunc::ParseFuncDef. | |
bool | SequenceNeedTempReset (SIccCalcOp *op, icUInt32Number nOps, icUInt8Number *tempUsage, icUInt32Number nMaxTemp) |
Name: CIccCalculatorFunc::SequenceNeedTempReset. | |
Protected Attributes | |
icUInt32Number | m_nOps |
icUInt32Number | m_nReserved |
SIccCalcOp * | m_Op |
CIccMpeCalculator * | m_pCalc |
Class: CIccCalculatorFunc.
Purpose: The Calculator function sequence
Definition at line 363 of file IccMpeCalc.h.
CIccCalculatorFunc::CIccCalculatorFunc | ( | CIccMpeCalculator * | pCalc | ) |
Name: CIccCalculatorFunc::CIccCalculatorFunc.
Purpose:
Args:
Return:
Definition at line 2747 of file IccMpeCalc.cpp.
References m_nOps, m_nReserved, m_Op, and m_pCalc.
CIccCalculatorFunc::CIccCalculatorFunc | ( | const CIccCalculatorFunc & | func | ) |
Name: CIccCalculatorFunc::CIccCalculatorFunc.
Purpose:
Args:
Return:
Definition at line 2766 of file IccMpeCalc.cpp.
References m_nOps, m_nReserved, m_Op, and m_pCalc.
|
virtual |
Name: CIccCalculatorFunc::~CIccChannelFunc.
Purpose:
Args:
Return:
Definition at line 2823 of file IccMpeCalc.cpp.
References m_Op.
|
virtual |
Name: CIccCalculatorFunc::Apply.
Purpose:
Args:
Return:
Definition at line 3684 of file IccMpeCalc.cpp.
References ApplySequence(), CIccApplyMpeCalculator::GetOutput(), CIccApplyMpeCalculator::GetStack(), m_nOps, m_Op, m_pCalc, and CIccMultiProcessElement::NumOutputChannels().
Referenced by CIccMpeCalculator::Apply().
|
protected |
Name: CIccCalculatorFunc::ApplySequence.
Purpose:
Args:
Return:
Definition at line 3560 of file IccMpeCalc.cpp.
References IIccCalcDebugger::AfterOp(), ApplySequence(), IIccCalcDebugger::BeforeOp(), SIccCalcOp::data, SIccCalcOp::def, IIccOpDef::Exec(), SIccCalcOp::extra, g_pDebugger, CIccApplyMpeCalculator::GetInput(), CIccApplyMpeCalculator::GetOutput(), CIccApplyMpeCalculator::GetScratch(), CIccApplyMpeCalculator::GetStack(), CIccApplyMpeCalculator::GetTemp(), icSigDefaultOp, icSigElseOp, icSigIfOp, icSigSelectOp, SIccOpState::idx, SIccOpState::nOps, OsPopArg, SIccOpState::output, SIccOpState::pApply, SIccOpState::pixel, SIccOpState::pScratch, SIccOpState::pStack, SIccCalcOp::sig, sig, SIccCalcOp::size, and SIccOpState::temp.
Referenced by Apply(), and ApplySequence().
|
virtual |
Name: CIccCalculatorFunc::Begin.
Purpose:
Args:
Return:
Definition at line 3461 of file IccMpeCalc.cpp.
References DoesOverflowInput(), DoesOverflowOutput(), DoesStackUnderflowOverflow(), HasValidOperations(), icFuncParseNoError, InitSelectOps(), CIccMultiProcessElement::NumInputChannels(), CIccMultiProcessElement::NumOutputChannels(), and SetOpDefs().
Referenced by CIccMpeCalculator::Begin().
int CIccCalculatorFunc::CheckUnderflowOverflow | ( | SIccCalcOp * | op, |
icUInt32Number | nOps, | ||
int | nArgs, | ||
bool | bCheckUnderflow, | ||
std::string & | sReport ) const |
Name: CIccCalculatorFunc::CheckUnderflow.
Purpose:
Args:
Return:
Definition at line 3907 of file IccMpeCalc.cpp.
References SIccCalcOp::ArgsPushed(), SIccCalcOp::ArgsUsed(), CheckUnderflowOverflow(), SIccCalcOp::data, SIccCalcOp::Describe(), icIntMax(), icIntMin(), icMaxDataStackSize, icSigCaseOp, icSigDefaultOp, icSigElseOp, icSigIfOp, icSigSelectOp, m_pCalc, sig, and SIccCalcOp::size.
Referenced by CheckUnderflowOverflow(), and DoesStackUnderflowOverflow().
|
virtual |
Name: CIccCalculatorFunc::Describe.
Purpose:
Args:
Return:
Definition at line 2956 of file IccMpeCalc.cpp.
References DescribeSequence(), m_nOps, and m_Op.
Referenced by CIccMpeCalculator::Describe().
|
protected |
Definition at line 2843 of file IccMpeCalc.cpp.
References SIccCalcOp::data, SIccCalcOp::Describe(), DescribeSequence(), icIntMin(), icSigCaseOp, icSigDefaultOp, icSigElseOp, icSigIfOp, icSigSelectOp, InsertBlanks(), SIccCalcOp::sig, sig, and SIccCalcOp::size.
Referenced by Describe(), and DescribeSequence().
bool CIccCalculatorFunc::DoesOverflowInput | ( | icUInt16Number | nInputChannels | ) | const |
Name: CIccChannelFunc::DoesOverflowInput.
Purpose:
Args:
Return:
Definition at line 4154 of file IccMpeCalc.cpp.
References SIccCalcOp::data, icSigInputChanOp, m_nOps, m_Op, SIccCalcOp::select, sig, SIccCalcOp::v1, and SIccCalcOp::v2.
Referenced by Begin(), and Validate().
bool CIccCalculatorFunc::DoesOverflowOutput | ( | icUInt16Number | nOutputChannels | ) | const |
Name: CIccChannelFunc::DoesOverflowOutput.
Purpose:
Args:
Return:
Definition at line 4177 of file IccMpeCalc.cpp.
References SIccCalcOp::data, icSigOutputChanOp, m_nOps, m_Op, SIccCalcOp::select, sig, SIccCalcOp::v1, and SIccCalcOp::v2.
Referenced by Begin(), and Validate().
icFuncParseStatus CIccCalculatorFunc::DoesStackUnderflowOverflow | ( | std::string & | sReport | ) | const |
Name: CIccCalculatorFunc::DoesStackUnderflowOverflow.
Purpose:
Args:
Return:
Definition at line 4034 of file IccMpeCalc.cpp.
References CheckUnderflowOverflow(), icFuncParseNoError, icFuncParseStackOverflow, icFuncParseStackUnderflow, m_nOps, and m_Op.
Referenced by Begin(), SetFunction(), and Validate().
|
inlinevirtual |
Definition at line 373 of file IccMpeCalc.h.
icUInt32Number CIccCalculatorFunc::GetMaxTemp | ( | ) | const |
Name: CIccCalculatorFunc::GetMaxTemp.
Purpose:
Args:
Return:
Definition at line 3785 of file IccMpeCalc.cpp.
References icSigTempGetChanOp, icSigTempPutChanOp, icSigTempSaveChanOp, m_nOps, m_Op, SIccCalcOp::select, sig, SIccCalcOp::v1, and SIccCalcOp::v2.
Referenced by CIccMpeCalculator::Begin(), and Validate().
|
inlinevirtual |
Definition at line 372 of file IccMpeCalc.h.
References icSigChannelFunction.
Referenced by Read(), and Write().
bool CIccCalculatorFunc::HasUnsupportedOperations | ( | std::string & | sReport, |
const CIccProfile * | pProfile ) const |
Name: CIccCalculatorFunc::HasUnsupportedOperations.
Purpose:
Args:
Return:
Definition at line 4111 of file IccMpeCalc.cpp.
References SIccCalcOp::Describe(), icSigNotEqualOp, icSigNotOp, icVersionNumberV5_1, m_nOps, m_Op, SIccCalcOp::sig, and sig.
Referenced by Validate().
bool CIccCalculatorFunc::HasValidOperations | ( | std::string & | sReport | ) | const |
Name: CIccCalculatorFunc::HasValidOperations.
Purpose:
Args:
Return:
Definition at line 4063 of file IccMpeCalc.cpp.
References SIccCalcOp::Describe(), icSigCaseOp, icSigDefaultOp, icSigElseOp, icSigIfOp, icSigSelectOp, m_nOps, m_Op, m_pCalc, and sig.
Referenced by Begin(), SetFunction(), and Validate().
|
protected |
Name: CIccCalculatorFunc::InitSelectOp.
Purpose:
Args:
Return:
Definition at line 3522 of file IccMpeCalc.cpp.
References SIccCalcOp::data, SIccCalcOp::extra, icSigCaseOp, icSigDefaultOp, icSigSelectOp, SIccCalcOp::sig, sig, and SIccCalcOp::size.
Referenced by InitSelectOps().
|
protected |
Name: CIccCalculatorFunc::InitSelectOps.
Purpose:
Args:
Return:
Definition at line 3498 of file IccMpeCalc.cpp.
References icSigSelectOp, InitSelectOp(), m_nOps, m_Op, and sig.
Referenced by Begin().
|
protected |
Definition at line 2830 of file IccMpeCalc.cpp.
Referenced by DescribeSequence().
bool CIccCalculatorFunc::NeedTempReset | ( | icUInt8Number * | tempUsage, |
icUInt32Number | nMaxTemp ) |
Name: CIccCalculatorFunc::NeedTempReset.
Purpose:
Args:
Return:
Definition at line 3809 of file IccMpeCalc.cpp.
References m_nOps, m_Op, and SequenceNeedTempReset().
Referenced by CIccMpeCalculator::Begin().
|
inlinevirtual |
Definition at line 369 of file IccMpeCalc.h.
Referenced by CIccMpeCalculator::CIccMpeCalculator(), and CIccMpeCalculator::operator=().
CIccCalculatorFunc & CIccCalculatorFunc::operator= | ( | const CIccCalculatorFunc & | func | ) |
Name: &CIccCalculatorFunc::operator=.
Purpose:
Args:
Return:
Definition at line 2792 of file IccMpeCalc.cpp.
References m_nOps, m_nReserved, m_Op, and m_pCalc.
|
protected |
Name: CIccCalculatorFunc::ParseFuncDef.
Purpose:
Args:
Return:
Definition at line 2985 of file IccMpeCalc.cpp.
References AppendOpList(), SIccCalcOp::data, SIccCalcOp::def, SIccCalcOp::Describe(), SIccCalcOp::extra, CIccFuncTokenizer::GetEnvSig(), CIccFuncTokenizer::GetIndex(), CIccFuncTokenizer::GetNext(), CIccFuncTokenizer::GetPos(), CIccFuncTokenizer::GetSig(), CIccFuncTokenizer::GetValue(), icSigAbsoluteValOp, icSigAddOp, icSigAndOp, icSigApplyCalcOp, icSigApplyCLutOp, icSigApplyCurvesOp, icSigApplyElemOp, icSigApplyFromJabOp, icSigApplyMatrixOp, icSigApplyTintOp, icSigApplyToJabOp, icSigArcCosineOp, icSigArcSineOp, icSigArcTan2Op, icSigArcTangentOp, icSigBeginBlockOp, icSigCartesianToPolarOp, icSigCaseOp, icSigCeilingOp, icSigCopyOp, icSigCosineOp, icSigCubeOp, icSigCubeRootOp, icSigDataOp, icSigDefaultOp, icSigDivideOp, icSigElseOp, icSigEndBlockOp, icSigEnvVarOp, icSigEqualOp, icSigExpOp, icSigFlipOp, icSigFloorOp, icSigGammaOp, icSigGreaterThanEqualOp, icSigGreaterThanOp, icSigIfOp, icSigInputChanOp, icSigLessThanEqualOp, icSigLessThanOp, icSigLogrithmOp, icSigMaximumOp, icSigMinimumOp, icSigModulusOp, icSigMultiplyOp, icSigNaturalLogOp, icSigNearOp, icSigNegOp, icSigNotEqualOp, icSigNotOp, icSigOrOp, icSigOutputChanOp, icSigPolarToCartesianOp, icSigPopOp, icSigPositionDupOp, icSigPowOp, icSigProductOp, icSigRealNumberOp, icSigRotateLeftOp, icSigRotateRightOp, icSigRoundOp, icSigScalarAddOp, icSigScalarDivideOp, icSigScalarMultiplyOp, icSigScalarSubtractOp, icSigSelectOp, icSigSignOp, icSigSineOp, icSigSolveOp, icSigSquareOp, icSigSquareRootOp, icSigSubtractOp, icSigSumOp, icSigTangentOp, icSigTempGetChanOp, icSigTempPutChanOp, icSigTempSaveChanOp, icSigToLabOp, icSigToXYZOp, icSigTransposeOp, icSigTruncateOp, icSigVectorAndOp, icSigVectorMaximumOp, icSigVectorMinimumOp, icSigVectorOrOp, SIccCalcOp::IsValidOp(), SIccCalcOp::num, ParseFuncDef(), SIccCalcOp::select, CIccFuncTokenizer::SetPos(), SIccCalcOp::sig, SIccCalcOp::size, SIccCalcOp::v1, and SIccCalcOp::v2.
Referenced by ParseFuncDef(), and SetFunction().
|
virtual |
Name: CIccCalculatorFunc::Read.
Purpose:
Args:
Return:
Definition at line 3334 of file IccMpeCalc.cpp.
References SIccCalcOp::data, GetType(), m_nOps, m_nReserved, m_Op, SIccCalcOp::num, CIccIO::Read32(), SIccCalcOp::sig, and sig.
Referenced by CIccMpeCalculator::Read().
|
protected |
Name: CIccCalculatorFunc::SequenceNeedTempReset.
Purpose:
Args:
Return:
Definition at line 3824 of file IccMpeCalc.cpp.
References SIccCalcOp::data, icIntMin(), icSigElseOp, icSigIfOp, icSigTempGetChanOp, icSigTempPutChanOp, icSigTempSaveChanOp, SIccCalcOp::select, SequenceNeedTempReset(), SIccCalcOp::sig, sig, SIccCalcOp::size, SIccCalcOp::v1, and SIccCalcOp::v2.
Referenced by NeedTempReset(), and SequenceNeedTempReset().
icFuncParseStatus CIccCalculatorFunc::SetFunction | ( | CIccCalcOpList & | opList, |
std::string & | sReport ) |
Name: CIccCalculatorFunc::SetFunction.
Purpose:
Args:
Return:
Definition at line 3296 of file IccMpeCalc.cpp.
References DoesStackUnderflowOverflow(), HasValidOperations(), icFuncParseEmptyFunction, icFuncParseInvalidOperation, m_nOps, and m_Op.
icFuncParseStatus CIccCalculatorFunc::SetFunction | ( | const char * | szFuncDef, |
std::string & | sReport ) |
Name: CIccCalculatorFunc::SetFunction.
Purpose:
Args:
Return:
Definition at line 3276 of file IccMpeCalc.cpp.
References icFuncParseSyntaxError, ParseFuncDef(), and SetFunction().
Referenced by CIccMpeCalculator::SetCalcFunc(), and SetFunction().
bool CIccCalculatorFunc::SetOpDefs | ( | ) |
Name: CIccCalculatorFunc::SetOpDefs.
Purpose:
Args:
Return:
Definition at line 3436 of file IccMpeCalc.cpp.
References SIccCalcOp::def, CIccCalcOpMgr::getOpDef(), m_nOps, m_Op, and sig.
Referenced by Begin().
|
virtual |
Name: CIccCalculatorFunc::Validate.
Purpose:
Args:
Return:
Definition at line 3711 of file IccMpeCalc.cpp.
References DoesOverflowInput(), DoesOverflowOutput(), DoesStackUnderflowOverflow(), GetMaxTemp(), CIccInfo::GetSigPathName(), HasUnsupportedOperations(), HasValidOperations(), icFuncParseNoError, icFuncParseStackUnderflow, icMsgValidateCriticalError, icMsgValidateWarning, icValidateCriticalError, icValidateOK, icValidateWarning, m_nReserved, CIccMultiProcessElement::NumInputChannels(), and CIccMultiProcessElement::NumOutputChannels().
Referenced by CIccMpeCalculator::Validate().
|
virtual |
Name: CIccCalculatorFunc::Write.
Purpose:
Args:
Return:
Definition at line 3398 of file IccMpeCalc.cpp.
References SIccCalcOp::data, GetType(), m_nOps, m_nReserved, m_Op, SIccCalcOp::num, SIccCalcOp::sig, sig, and CIccIO::Write32().
Referenced by CIccMpeCalculator::Write().
|
protected |
Definition at line 416 of file IccMpeCalc.h.
Referenced by Apply(), CIccCalculatorFunc(), CIccCalculatorFunc(), Describe(), DoesOverflowInput(), DoesOverflowOutput(), DoesStackUnderflowOverflow(), GetMaxTemp(), HasUnsupportedOperations(), HasValidOperations(), InitSelectOps(), NeedTempReset(), operator=(), Read(), SetFunction(), SetOpDefs(), and Write().
|
protected |
Definition at line 414 of file IccMpeCalc.h.
Referenced by CIccCalculatorFunc(), CIccCalculatorFunc(), operator=(), Read(), Validate(), and Write().
|
protected |
Definition at line 417 of file IccMpeCalc.h.
Referenced by Apply(), CIccCalculatorFunc(), CIccCalculatorFunc(), Describe(), DoesOverflowInput(), DoesOverflowOutput(), DoesStackUnderflowOverflow(), GetMaxTemp(), HasUnsupportedOperations(), HasValidOperations(), InitSelectOps(), NeedTempReset(), operator=(), Read(), SetFunction(), SetOpDefs(), Write(), and ~CIccCalculatorFunc().
|
protected |
Definition at line 412 of file IccMpeCalc.h.
Referenced by Apply(), CheckUnderflowOverflow(), CIccCalculatorFunc(), CIccCalculatorFunc(), HasValidOperations(), and operator=().