IccMAX 2.1.27
Color Profile Tools
Loading...
Searching...
No Matches
CIccApplyMpeCalculator Class Reference

#include <IccMpeCalc.h>

+ Inheritance diagram for CIccApplyMpeCalculator:
+ Collaboration diagram for CIccApplyMpeCalculator:

Public Member Functions

virtual ~CIccApplyMpeCalculator ()
 
void Apply (icFloatNumber *pDestPixel, const icFloatNumber *pSrcPixel)
 
CIccSubCalcApplyGetApply (icUInt16Number index)
 
virtual const icCharGetClassName () const
 
CIccMultiProcessElementGetElem () const
 
bool GetEnvVar (icSigCmmEnvVar sigEnv, icFloatNumber &val)
 
const icFloatNumberGetInput ()
 
icFloatNumberGetOutput ()
 
CIccFloatVectorGetScratch ()
 
CIccFloatVectorGetStack ()
 
icFloatNumberGetTemp ()
 
virtual icElemTypeSignature GetType () const
 

Protected Member Functions

 CIccApplyMpeCalculator (CIccMultiProcessElement *pElem)
 

Protected Attributes

const icFloatNumberm_input
 
icUInt32Number m_nSubElem
 
icFloatNumberm_output
 
CIccApplyTagMpem_pApplyTag
 
IIccCmmEnvVarLookupm_pCmmEnvVarLookup
 
CIccMultiProcessElementm_pElem
 
CIccFloatVectorm_scratch
 
CIccFloatVectorm_stack
 
CIccSubCalcApply ** m_SubElem
 
icFloatNumberm_temp
 

Detailed Description

Class: CIccApplyMpeCalculator

Purpose: The Calculator process element apply data

Constructor & Destructor Documentation

◆ ~CIccApplyMpeCalculator()

CIccApplyMpeCalculator::~CIccApplyMpeCalculator ( )
virtual

Name: CIccMpeCalculator::~CIccApplyMpeCalculator

Purpose:

Args:

Return:

5020{
5021 if (m_stack) {
5022 delete m_stack;
5023 }
5024 if (m_scratch) {
5025 delete m_scratch;
5026 }
5027
5028 if (m_temp) {
5029 free(m_temp);
5030 }
5031
5033
5034 if (m_SubElem) {
5035 for (i=0; i<m_nSubElem; i++) {
5036 if (m_SubElem[i])
5037 delete m_SubElem[i];
5038 }
5039 }
5040}
unsigned long icUInt32Number
Definition icProfileHeader.h:262
icUInt32Number m_nSubElem
Definition IccMpeCalc.h:537
CIccSubCalcApply ** m_SubElem
Definition IccMpeCalc.h:538
icFloatNumber * m_temp
Definition IccMpeCalc.h:534
CIccFloatVector * m_stack
Definition IccMpeCalc.h:528
CIccFloatVector * m_scratch
Definition IccMpeCalc.h:529

References m_nSubElem, m_scratch, m_stack, m_SubElem, and m_temp.

◆ CIccApplyMpeCalculator()

CIccApplyMpeCalculator::CIccApplyMpeCalculator ( CIccMultiProcessElement pElem)
protected

Name: CIccMpeCalculator::CIccApplyMpeCalculator

Purpose:

Args:

Return:

4993 : CIccApplyMpe(pElem)
4994{
4995 m_temp = NULL;
4996
4997 m_input = NULL;
4998 m_output = NULL;
4999
5000 m_stack = NULL;
5001 m_scratch = NULL;
5002
5003 m_nSubElem = 0;
5004 m_SubElem = NULL;
5005
5006}
Definition IccTagMPE.h:203
icFloatNumber * m_output
Definition IccMpeCalc.h:533
const icFloatNumber * m_input
Definition IccMpeCalc.h:532

References CIccApplyMpe::CIccApplyMpe(), m_input, m_nSubElem, m_output, m_scratch, m_stack, m_SubElem, and m_temp.

Referenced by CIccMpeCalculator::GetNewApply().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ Apply()

void CIccApplyMpe::Apply ( icFloatNumber pDestPixel,
const icFloatNumber pSrcPixel 
)
inlineinherited
213{ m_pElem->Apply(this, pDestPixel, pSrcPixel); }
virtual void Apply(CIccApplyMpe *pApply, icFloatNumber *pDestPixel, const icFloatNumber *pSrcPixel) const =0
CIccMultiProcessElement * m_pElem
Definition IccTagMPE.h:218

References CIccMultiProcessElement::Apply(), and CIccApplyMpe::m_pElem.

Referenced by CIccTagMultiProcessElement::Apply(), and CIccSubCalcApply::Apply().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetApply()

CIccSubCalcApply * CIccApplyMpeCalculator::GetApply ( icUInt16Number  index)

Name: CIccApplyMpeCalculator::GetSubApply

Purpose:

Args:

Return:

5053{
5054 if (m_SubElem && index<m_nSubElem)
5055 return m_SubElem[index];
5056
5057 return NULL;
5058}

References m_nSubElem, and m_SubElem.

Referenced by CIccOpDefSubElement::Exec().

+ Here is the caller graph for this function:

◆ GetClassName()

virtual const icChar * CIccApplyMpeCalculator::GetClassName ( ) const
inlinevirtual

Reimplemented from CIccApplyMpe.

511{ return "CIccApplyMpeCalculator"; }

◆ GetElem()

CIccMultiProcessElement * CIccApplyMpe::GetElem ( ) const
inlineinherited
211{ return m_pElem; }

References CIccApplyMpe::m_pElem.

Referenced by CIccTagMultiProcessElement::Apply(), CIccSubCalcApply::NumInputChannels(), and CIccSubCalcApply::NumOutputChannels().

+ Here is the caller graph for this function:

◆ GetEnvVar()

bool CIccApplyMpeCalculator::GetEnvVar ( icSigCmmEnvVar  sigEnv,
icFloatNumber val 
)

Name: CIccApplyMpeCalculator::GetSubApply

Purpose:

Args:

Return:

5072{
5073 if (!m_pCmmEnvVarLookup) {
5074 val = 0;
5075 return false;
5076 }
5077 return m_pCmmEnvVarLookup->GetEnvVar(sigEnv, val);
5078}
virtual bool GetEnvVar(icSigCmmEnvVar sig, icFloatNumber &val)=0
IIccCmmEnvVarLookup * m_pCmmEnvVarLookup
Definition IccMpeCalc.h:540

References IIccCmmEnvVarLookup::GetEnvVar(), and m_pCmmEnvVarLookup.

Referenced by CIccOpDefEnvVar::Exec().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetInput()

const icFloatNumber * CIccApplyMpeCalculator::GetInput ( )
inline
513{ return m_input; }

References m_input.

Referenced by CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetOutput()

icFloatNumber * CIccApplyMpeCalculator::GetOutput ( )
inline
514{ return m_output; }

References m_output.

Referenced by CIccCalculatorFunc::Apply(), and CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetScratch()

CIccFloatVector * CIccApplyMpeCalculator::GetScratch ( )
inline
519{ return m_scratch; }

References m_scratch.

Referenced by CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetStack()

CIccFloatVector * CIccApplyMpeCalculator::GetStack ( )
inline
517{ return m_stack; }

References m_stack.

Referenced by CIccCalculatorFunc::Apply(), and CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetTemp()

icFloatNumber * CIccApplyMpeCalculator::GetTemp ( )
inline
515{ return m_temp; }

References m_temp.

Referenced by CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetType()

virtual icElemTypeSignature CIccApplyMpeCalculator::GetType ( ) const
inlinevirtual

Reimplemented from CIccApplyMpe.

510{ return icSigCalculatorElemType; }
@ icSigCalculatorElemType
Definition icProfileHeader.h:649

References icSigCalculatorElemType.

Field Documentation

◆ m_input

const icFloatNumber* CIccApplyMpeCalculator::m_input
protected

◆ m_nSubElem

icUInt32Number CIccApplyMpeCalculator::m_nSubElem
protected

◆ m_output

icFloatNumber* CIccApplyMpeCalculator::m_output
protected

◆ m_pApplyTag

CIccApplyTagMpe* CIccApplyMpe::m_pApplyTag
protectedinherited

◆ m_pCmmEnvVarLookup

IIccCmmEnvVarLookup* CIccApplyMpeCalculator::m_pCmmEnvVarLookup
protected

◆ m_pElem

◆ m_scratch

CIccFloatVector* CIccApplyMpeCalculator::m_scratch
protected

◆ m_stack

CIccFloatVector* CIccApplyMpeCalculator::m_stack
protected

◆ m_SubElem

CIccSubCalcApply** CIccApplyMpeCalculator::m_SubElem
protected

◆ m_temp


The documentation for this class was generated from the following files: