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

#include <IccTagLut.h>

Public Member Functions

 CIccApplyCLUT ()
 
virtual ~CIccApplyCLUT ()
 
bool Init (icUInt8Number nSrcChannels, icUInt32Number nNodes)
 

Protected Attributes

icFloatNumberm_df
 
icFloatNumberm_g
 
icUInt32Numberm_ig
 
icUInt16Number m_nSrcSamples
 
icFloatNumberm_s
 

Detailed Description

Class: CIccApplyCLUT

Purpose: Apply storage for CLUT ND interpolation

Constructor & Destructor Documentation

◆ CIccApplyCLUT()

CIccApplyCLUT::CIccApplyCLUT ( )

Name: CIccApplyCLUT::CIccApplyCLUT

Purpose: Constructor

1624{
1625 m_df = NULL;
1626 m_s = NULL;
1627 m_g = NULL;
1628 m_ig = NULL;
1629}
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

References m_df, m_g, m_ig, and m_s.

Referenced by CIccCLUT::GetNewApply().

+ Here is the caller graph for this function:

◆ ~CIccApplyCLUT()

CIccApplyCLUT::~CIccApplyCLUT ( )
virtual

Name: CIccApplyNDLutXform::~CIccApplyNDLutXform

Purpose: Destructor

1641{
1642 if (m_df)
1643 free(m_df);
1644 if (m_s)
1645 free(m_s);
1646 if (m_g)
1647 free(m_g);
1648 if (m_ig)
1649 free(m_ig);
1650}

References m_df, m_g, m_ig, and m_s.

Member Function Documentation

◆ Init()

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

Name: CIccApplyCLUT::Init

Purpose: Initializer

1662{
1663 if (nSrcChannels > 6) {
1664
1665 m_df = (icFloatNumber*)malloc(nNodes * sizeof(icFloatNumber));
1666 m_s = (icFloatNumber*)malloc(nSrcChannels * sizeof(icFloatNumber));
1667 m_g = (icFloatNumber*)malloc(nSrcChannels * sizeof(icFloatNumber));
1668 m_ig = (icUInt32Number*)malloc(nSrcChannels * sizeof(icUInt32Number));
1669
1670 if (!m_df || !m_s || !m_g || !m_ig)
1671 return false;
1672 }
1673 return true;
1674}
unsigned long icUInt32Number
Definition icProfileHeader.h:262
float icFloatNumber
Definition IccDefs.h:101

References m_df, m_g, m_ig, and m_s.

Referenced by CIccCLUT::GetNewApply().

+ Here is the caller graph for this function:

Field Documentation

◆ m_df

icFloatNumber * CIccApplyCLUT::m_df
protected

◆ m_g

icFloatNumber* CIccApplyCLUT::m_g
protected

◆ m_ig

icUInt32Number* CIccApplyCLUT::m_ig
protected

◆ m_nSrcSamples

icUInt16Number CIccApplyCLUT::m_nSrcSamples
protected

◆ m_s

icFloatNumber * CIccApplyCLUT::m_s
protected

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