Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
CIccOpDefTempSaveChan Class Reference
+ Inheritance diagram for CIccOpDefTempSaveChan:
+ Collaboration diagram for CIccOpDefTempSaveChan:

Public Member Functions

virtual bool Exec (SIccCalcOp *op, SIccOpState &os)
 
- Public Member Functions inherited from IIccOpDef
virtual int ArgsPushed (CIccMpeCalculator *pCalc, SIccCalcOp &op)
 
virtual int ArgsUsed (CIccMpeCalculator *pCalc, SIccCalcOp &op)
 
virtual void Describe (SIccCalcOp &op, std::string &desc, int nVerboseness)
 
 IIccOpDef ()
 
virtual bool IsValid (CIccMpeCalculator *pCalc, SIccCalcOp &op)
 
virtual ~IIccOpDef ()
 

Detailed Description

Definition at line 307 of file IccMpeCalc.cpp.

Member Function Documentation

◆ Exec()

virtual bool CIccOpDefTempSaveChan::Exec ( SIccCalcOp * op,
SIccOpState & os )
inlinevirtual

Reimplemented from IIccOpDef.

Definition at line 310 of file IccMpeCalc.cpp.

311 {
312 size_t ss = os.pStack->size();
313 size_t n=op->data.select.v2+1;
314
315 if (n>ss)
316 return false;
317
318 icFloatNumber *s = &(*os.pStack)[ss - n];
319 memcpy(&os.temp[op->data.select.v1], s, n*sizeof(icFloatNumber));
320 return true;
321 }
float icFloatNumber
All floating point operations/variables in IccProfLib use the icFloatNumber data type.
Definition IccDefs.h:100
icUInt16Number v2
Definition IccMpeCalc.h:242
icUInt16Number v1
Definition IccMpeCalc.h:243
struct SIccCalcOp::@1::@2 select
union SIccCalcOp::@1 data
icFloatNumber * temp
Definition IccMpeCalc.h:277
CIccFloatVector * pStack
Definition IccMpeCalc.h:275

References SIccCalcOp::data, SIccOpState::pStack, SIccCalcOp::select, SIccOpState::temp, SIccCalcOp::v1, and SIccCalcOp::v2.


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