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

Class: CIccApplyCLUT. More...

#include <IccTagLut.h>

+ Collaboration diagram for CIccApplyCLUT:

Public Member Functions

 CIccApplyCLUT ()
 Name: CIccApplyCLUT::CIccApplyCLUT.
 
bool Init (icUInt8Number nSrcChannels, icUInt32Number nNodes)
 Name: CIccApplyCLUT::Init.
 
virtual ~CIccApplyCLUT ()
 Name: CIccApplyNDLutXform::~CIccApplyNDLutXform.
 

Protected Attributes

icFloatNumberm_df
 
icFloatNumberm_g
 
icUInt32Numberm_ig
 
icUInt16Number m_nSrcSamples
 
icFloatNumberm_s
 

Friends

class CIccCLUT
 

Detailed Description

Class: CIccApplyCLUT.

Purpose: Apply storage for CLUT ND interpolation

Definition at line 301 of file IccTagLut.h.

Constructor & Destructor Documentation

◆ CIccApplyCLUT()

CIccApplyCLUT::CIccApplyCLUT ( )

Name: CIccApplyCLUT::CIccApplyCLUT.

Purpose: Constructor

Definition at line 1620 of file IccTagLut.cpp.

1621{
1622 m_df = NULL;
1623 m_s = NULL;
1624 m_g = NULL;
1625 m_ig = NULL;
1626}
icFloatNumber * m_df
Definition IccTagLut.h:313
icFloatNumber * m_g
Definition IccTagLut.h:313
icFloatNumber * m_s
Definition IccTagLut.h:313
icUInt32Number * m_ig
Definition IccTagLut.h:314

◆ ~CIccApplyCLUT()

CIccApplyCLUT::~CIccApplyCLUT ( )
virtual

Name: CIccApplyNDLutXform::~CIccApplyNDLutXform.

Purpose: Destructor

Definition at line 1637 of file IccTagLut.cpp.

1638{
1639 if (m_df)
1640 free(m_df);
1641 if (m_s)
1642 free(m_s);
1643 if (m_g)
1644 free(m_g);
1645 if (m_ig)
1646 free(m_ig);
1647}

Member Function Documentation

◆ Init()

bool CIccApplyCLUT::Init ( icUInt8Number nSrcChannels,
icUInt32Number nNodes )

Name: CIccApplyCLUT::Init.

Purpose: Initializer

Definition at line 1658 of file IccTagLut.cpp.

1659{
1660 if (nSrcChannels > 6) {
1661
1662 m_df = (icFloatNumber*)malloc(nNodes * sizeof(icFloatNumber));
1663 m_s = (icFloatNumber*)malloc(nSrcChannels * sizeof(icFloatNumber));
1664 m_g = (icFloatNumber*)malloc(nSrcChannels * sizeof(icFloatNumber));
1665 m_ig = (icUInt32Number*)malloc(nSrcChannels * sizeof(icUInt32Number));
1666
1667 if (!m_df || !m_s || !m_g || !m_ig)
1668 return false;
1669 }
1670 return true;
1671}
float icFloatNumber
All floating point operations/variables in IccProfLib use the icFloatNumber data type.
Definition IccDefs.h:100
unsigned int icUInt32Number

Referenced by CIccCLUT::GetNewApply().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ CIccCLUT

friend class CIccCLUT
friend

Definition at line 303 of file IccTagLut.h.

Member Data Documentation

◆ m_df

icFloatNumber * CIccApplyCLUT::m_df
protected

Definition at line 313 of file IccTagLut.h.

Referenced by CIccCLUT::InterpND().

◆ m_g

icFloatNumber* CIccApplyCLUT::m_g
protected

Definition at line 313 of file IccTagLut.h.

Referenced by CIccCLUT::InterpND().

◆ m_ig

icUInt32Number* CIccApplyCLUT::m_ig
protected

Definition at line 314 of file IccTagLut.h.

Referenced by CIccCLUT::InterpND().

◆ m_nSrcSamples

icUInt16Number CIccApplyCLUT::m_nSrcSamples
protected

Definition at line 311 of file IccTagLut.h.

◆ m_s

icFloatNumber * CIccApplyCLUT::m_s
protected

Definition at line 313 of file IccTagLut.h.

Referenced by CIccCLUT::InterpND().


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