Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
CIccApplyMpeCalculator Class Reference

Class: CIccApplyMpeCalculator. More...

#include <IccMpeCalc.h>

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

Public Member Functions

CIccSubCalcApplyGetApply (icUInt16Number index)
 Name: CIccApplyMpeCalculator::GetSubApply.
 
virtual const icCharGetClassName () const
 
bool GetEnvVar (icSigCmmEnvVar sigEnv, icFloatNumber &val)
 Name: CIccApplyMpeCalculator::GetSubApply.
 
const icFloatNumberGetInput ()
 
icFloatNumberGetOutput ()
 
CIccFloatVectorGetScratch ()
 
CIccFloatVectorGetStack ()
 
icFloatNumberGetTemp ()
 
virtual icElemTypeSignature GetType () const
 
virtual ~CIccApplyMpeCalculator ()
 Name: CIccMpeCalculator::~CIccApplyMpeCalculator.
 
- Public Member Functions inherited from CIccApplyMpe
void Apply (icFloatNumber *pDestPixel, const icFloatNumber *pSrcPixel)
 
 CIccApplyMpe (CIccMultiProcessElement *pElem)
 Name: CIccApplyMpe::CIccApplyMpe.
 
CIccMultiProcessElementGetElem () const
 
virtual ~CIccApplyMpe ()
 Name: CIccApplyMpe::~CIccApplyMpe.
 

Protected Member Functions

 CIccApplyMpeCalculator (CIccMultiProcessElement *pElem)
 Name: CIccMpeCalculator::CIccApplyMpeCalculator.
 

Protected Attributes

const icFloatNumberm_input
 
icUInt32Number m_nSubElem
 
icFloatNumberm_output
 
IIccCmmEnvVarLookupm_pCmmEnvVarLookup
 
CIccFloatVectorm_scratch
 
CIccFloatVectorm_stack
 
CIccSubCalcApply ** m_SubElem
 
icFloatNumberm_temp
 
- Protected Attributes inherited from CIccApplyMpe
CIccApplyTagMpem_pApplyTag
 
CIccMultiProcessElementm_pElem
 

Friends

class CIccMpeCalculator
 

Detailed Description

Class: CIccApplyMpeCalculator.

Purpose: The Calculator process element apply data

Definition at line 504 of file IccMpeCalc.h.

Constructor & Destructor Documentation

◆ ~CIccApplyMpeCalculator()

CIccApplyMpeCalculator::~CIccApplyMpeCalculator ( )
virtual

Name: CIccMpeCalculator::~CIccApplyMpeCalculator.

Purpose:

Args:

Return:

Definition at line 5016 of file IccMpeCalc.cpp.

5017{
5018 if (m_stack) {
5019 delete m_stack;
5020 }
5021 if (m_scratch) {
5022 delete m_scratch;
5023 }
5024
5025 if (m_temp) {
5026 free(m_temp);
5027 }
5028
5030
5031 if (m_SubElem) {
5032 for (i=0; i<m_nSubElem; i++) {
5033 if (m_SubElem[i])
5034 delete m_SubElem[i];
5035 }
5036 }
5037}
unsigned int icUInt32Number
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:

Definition at line 4990 of file IccMpeCalc.cpp.

4990 : CIccApplyMpe(pElem)
4991{
4992 m_temp = NULL;
4993
4994 m_input = NULL;
4995 m_output = NULL;
4996
4997 m_stack = NULL;
4998 m_scratch = NULL;
4999
5000 m_nSubElem = 0;
5001 m_SubElem = NULL;
5002
5003}
icFloatNumber * m_output
Definition IccMpeCalc.h:533
const icFloatNumber * m_input
Definition IccMpeCalc.h:532
CIccApplyMpe(CIccMultiProcessElement *pElem)
Name: CIccApplyMpe::CIccApplyMpe.
Definition IccTagMPE.cpp:99

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

Member Function Documentation

◆ GetApply()

CIccSubCalcApply * CIccApplyMpeCalculator::GetApply ( icUInt16Number index)

Name: CIccApplyMpeCalculator::GetSubApply.

Purpose:

Args:

Return:

Definition at line 5049 of file IccMpeCalc.cpp.

5050{
5051 if (m_SubElem && index<m_nSubElem)
5052 return m_SubElem[index];
5053
5054 return NULL;
5055}

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.

Definition at line 511 of file IccMpeCalc.h.

511{ return "CIccApplyMpeCalculator"; }

◆ GetEnvVar()

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

Name: CIccApplyMpeCalculator::GetSubApply.

Purpose:

Args:

Return:

Definition at line 5068 of file IccMpeCalc.cpp.

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

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

Definition at line 513 of file IccMpeCalc.h.

513{ return m_input; }

Referenced by CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetOutput()

icFloatNumber * CIccApplyMpeCalculator::GetOutput ( )
inline

Definition at line 514 of file IccMpeCalc.h.

514{ return m_output; }

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

+ Here is the caller graph for this function:

◆ GetScratch()

CIccFloatVector * CIccApplyMpeCalculator::GetScratch ( )
inline

Definition at line 519 of file IccMpeCalc.h.

519{ return m_scratch; }

Referenced by CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetStack()

CIccFloatVector * CIccApplyMpeCalculator::GetStack ( )
inline

Definition at line 517 of file IccMpeCalc.h.

517{ return m_stack; }

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

+ Here is the caller graph for this function:

◆ GetTemp()

icFloatNumber * CIccApplyMpeCalculator::GetTemp ( )
inline

Definition at line 515 of file IccMpeCalc.h.

515{ return m_temp; }

Referenced by CIccCalculatorFunc::ApplySequence().

+ Here is the caller graph for this function:

◆ GetType()

virtual icElemTypeSignature CIccApplyMpeCalculator::GetType ( ) const
inlinevirtual

Reimplemented from CIccApplyMpe.

Definition at line 510 of file IccMpeCalc.h.

510{ return icSigCalculatorElemType; }
@ icSigCalculatorElemType

References icSigCalculatorElemType.

Friends And Related Symbol Documentation

◆ CIccMpeCalculator

friend class CIccMpeCalculator
friend

Definition at line 506 of file IccMpeCalc.h.

Member Data Documentation

◆ m_input

const icFloatNumber* CIccApplyMpeCalculator::m_input
protected

Definition at line 532 of file IccMpeCalc.h.

Referenced by CIccMpeCalculator::Apply(), and CIccApplyMpeCalculator().

◆ m_nSubElem

icUInt32Number CIccApplyMpeCalculator::m_nSubElem
protected

◆ m_output

icFloatNumber* CIccApplyMpeCalculator::m_output
protected

Definition at line 533 of file IccMpeCalc.h.

Referenced by CIccMpeCalculator::Apply(), and CIccApplyMpeCalculator().

◆ m_pCmmEnvVarLookup

IIccCmmEnvVarLookup* CIccApplyMpeCalculator::m_pCmmEnvVarLookup
protected

Definition at line 540 of file IccMpeCalc.h.

Referenced by GetEnvVar(), and CIccMpeCalculator::GetNewApply().

◆ m_scratch

CIccFloatVector* CIccApplyMpeCalculator::m_scratch
protected

◆ m_stack

CIccFloatVector* CIccApplyMpeCalculator::m_stack
protected

◆ m_SubElem

CIccSubCalcApply** CIccApplyMpeCalculator::m_SubElem
protected

◆ m_temp

icFloatNumber* CIccApplyMpeCalculator::m_temp
protected

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