IccMAX 2.1.27
Color Profile Tools
|
Public Member Functions | |
CIccSinglSampledeCurveXml (icFloatNumber first=0, icFloatNumber last=0) | |
virtual icFloatNumber | Apply (icFloatNumber v) const |
virtual bool | Begin (icElemInterp nInterp, CIccTagMultiProcessElement *pMPE) |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
virtual const icChar * | GetClassName () const |
icUInt16Number | GetExtensionType () |
virtual icFloatNumber * | GetSamples () |
virtual icUInt32Number | GetSize () |
icUInt16Number | GetStorageType () |
virtual icCurveElemSignature | GetType () const |
virtual CIccCurveSetCurve * | NewCopy () const |
bool | ParseXml (xmlNode *pNode, std::string &parseStr) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
bool | SetExtensionType (icUInt16Number nExtensionType) |
void | SetRange (icFloatNumber first=0.0f, icFloatNumber last=1.0f) |
virtual bool | SetSize (icUInt32Number nSize, bool bZeroAlloc=true) |
bool | SetStorageType (icUInt16Number nStorateType) |
bool | ToXml (std::string &xml, std::string blanks) |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccTagMultiProcessElement *pMPE=NULL, const CIccProfile *pProfile=NULL) const |
virtual bool | Write (CIccIO *pIO) |
Static Public Member Functions | |
static CIccCurveSetCurve * | Create (icCurveElemSignature sig) |
|
inline |
References CIccSingleSampledCurve::CIccSingleSampledCurve().
Referenced by ParseXmlCurve().
|
virtualinherited |
Name: CIccSingleSampledCurve::Apply
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_hiIntercept, CIccSingleSampledCurve::m_hiSlope, CIccSingleSampledCurve::m_last, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_loIntercept, CIccSingleSampledCurve::m_loSlope, CIccSingleSampledCurve::m_pSamples, and CIccSingleSampledCurve::m_range.
|
virtualinherited |
Name: CIccSingleSampledCurve::Begin
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References icClipSingleSampledCurve, icExtendSingleSampledCurve, CIccSingleSampledCurve::m_extensionType, CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_hiIntercept, CIccSingleSampledCurve::m_hiSlope, CIccSingleSampledCurve::m_last, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_loIntercept, CIccSingleSampledCurve::m_loSlope, CIccSingleSampledCurve::m_nCount, CIccSingleSampledCurve::m_pSamples, and CIccSingleSampledCurve::m_range.
|
staticinherited |
Name: CIccCurveSetCurve::Create
Purpose:
Args:
Return:
References CIccSampledCalculatorCurve::CIccSampledCalculatorCurve(), CIccSegmentedCurve::CIccSegmentedCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), icSigSampledCalculatorCurve, icSigSegmentedCurve, and icSigSingleSampledCurve.
Referenced by CIccMpeCurveSet::Read(), and CIccMpeToneMap::Read().
|
virtualinherited |
Name: CIccSingleSampledCurve::Describe
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References icClipSingleSampledCurve, icExtendSingleSampledCurve, icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, CIccSingleSampledCurve::m_extensionType, CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_nCount, CIccSingleSampledCurve::m_pSamples, and CIccSingleSampledCurve::m_storageType.
|
inlinevirtualinherited |
Implements CIccCurveSetCurve.
|
inlineinherited |
References CIccSingleSampledCurve::m_extensionType.
|
inlinevirtualinherited |
References CIccSingleSampledCurve::m_pSamples.
Referenced by CDevLinkWriter::begin(), and main().
|
inlinevirtualinherited |
References CIccSingleSampledCurve::m_nCount.
|
inlineinherited |
References CIccSingleSampledCurve::m_storageType.
|
inlinevirtualinherited |
Implements CIccCurveSetCurve.
References icSigSingleSampledCurve.
Referenced by CIccSingleSampledCurve::Read(), and CIccSingleSampledCurve::Write().
|
inlinevirtualinherited |
Implements CIccCurveSetCurve.
References CIccSingleSampledCurve::CIccSingleSampledCurve().
bool CIccSinglSampledeCurveXml::ParseXml | ( | xmlNode * | pNode, |
std::string & | parseStr | ||
) |
References CIccXmlArrayType< T, Tsig >::GetBuf(), CIccIO::GetLength(), CIccXmlArrayType< T, Tsig >::GetSize(), icClipSingleSampledCurve, IccOpenFileIO(), icF16toF(), icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, icXmlAttrValue(), icXmlAttrValue(), icXmlFindAttr(), CIccSingleSampledCurve::m_extensionType, CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_pSamples, CIccSingleSampledCurve::m_storageType, CIccXmlArrayType< T, Tsig >::ParseArray(), CIccXmlArrayType< T, Tsig >::ParseTextArrayNum(), CIccIO::Read16(), CIccIO::Read8(), CIccIO::ReadFloat32Float(), and CIccSingleSampledCurve::SetSize().
Referenced by ParseXmlCurve().
|
virtualinherited |
Name: CIccSingleSampledCurve::Read
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccSingleSampledCurve::GetType(), icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, CIccSingleSampledCurve::m_extensionType, CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_nCount, CIccSingleSampledCurve::m_nReserved, CIccSingleSampledCurve::m_pSamples, CIccSingleSampledCurve::m_storageType, CIccIO::Read16(), CIccIO::Read32(), CIccIO::ReadFloat16Float(), CIccIO::ReadFloat32Float(), CIccIO::ReadUInt16Float(), CIccIO::ReadUInt8Float(), and CIccSingleSampledCurve::SetSize().
|
inherited |
Name: CIccSingleSampledCurve::SetExtensionType
Purpose: Sets extension type of the single sampled curve
Args: nExtensionType is type of extension to use
Return: true if valid extension type, false otherwise
References icClipSingleSampledCurve, icExtendSingleSampledCurve, and CIccSingleSampledCurve::m_extensionType.
|
inherited |
Name: CIccSingleSampledCurve::SetRange
Purpose: Sets range of sampled lookup table.
Args: first = first entry input position last = last entry input position
References CIccSingleSampledCurve::m_firstEntry, and CIccSingleSampledCurve::m_lastEntry.
|
virtualinherited |
Name: CIccSingleSampledCurve::SetSize
Purpose: Sets size of sampled lookup table. Previous data (if exists) is lost.
Args: nCount = number of elements in lut (must be >= 2).
bZeroAlloc = flag to decide if memory should be set to zero.
Return: true if allocation successful.
References CIccSingleSampledCurve::m_nCount, and CIccSingleSampledCurve::m_pSamples.
Referenced by CDevLinkWriter::begin(), main(), ParseXml(), and CIccSingleSampledCurve::Read().
|
inherited |
Name: CIccSingleSampledCurve::SetStorageType
Purpose: Sets storate type of the data stored in the single sampled curve
Args: nStorageType is type of data to use
Return: true if valid storage type, false otherwise
References icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, and CIccSingleSampledCurve::m_storageType.
bool CIccSinglSampledeCurveXml::ToXml | ( | std::string & | xml, |
std::string | blanks | ||
) |
References CIccXmlArrayType< T, Tsig >::DumpArray(), icConvertFloat, CIccSingleSampledCurve::m_extensionType, CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_nCount, CIccSingleSampledCurve::m_pSamples, and CIccSingleSampledCurve::m_storageType.
Referenced by ToXmlCurve().
|
virtualinherited |
Name: CIccSingleSampledCurve::Validate
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateWarning, icValidateCriticalError, icValidateOK, icValidateWarning, CIccSingleSampledCurve::m_extensionType, CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_nCount, CIccSingleSampledCurve::m_nReserved, and CIccSingleSampledCurve::m_storageType.
|
virtualinherited |
Name: CIccSingleSampledCurve::Write
Purpose:
Args:
Return:
Implements CIccCurveSetCurve.
References CIccSingleSampledCurve::GetType(), icValueTypeFloat16, icValueTypeFloat32, icValueTypeUInt16, icValueTypeUInt8, CIccSingleSampledCurve::m_extensionType, CIccSingleSampledCurve::m_firstEntry, CIccSingleSampledCurve::m_lastEntry, CIccSingleSampledCurve::m_nCount, CIccSingleSampledCurve::m_nReserved, CIccSingleSampledCurve::m_pSamples, CIccSingleSampledCurve::m_storageType, CIccIO::Write16(), CIccIO::Write32(), CIccIO::WriteFloat16Float(), CIccIO::WriteFloat32Float(), CIccIO::WriteUInt16Float(), and CIccIO::WriteUInt8Float().
|
protectedinherited |
Referenced by CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::Begin(), CIccSingleSampledCurve::Describe(), CIccSingleSampledCurve::GetExtensionType(), CIccSingleSampledCurve::operator=(), ParseXml(), CIccSingleSampledCurve::Read(), CIccSingleSampledCurve::SetExtensionType(), ToXml(), CIccSingleSampledCurve::Validate(), and CIccSingleSampledCurve::Write().
|
protectedinherited |
Referenced by CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::Apply(), CIccSingleSampledCurve::Begin(), CIccSingleSampledCurve::Describe(), CIccSingleSampledCurve::operator=(), ParseXml(), CIccSingleSampledCurve::Read(), CIccSingleSampledCurve::SetRange(), ToXml(), CIccSingleSampledCurve::Validate(), and CIccSingleSampledCurve::Write().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::Apply(), CIccSingleSampledCurve::Begin(), CIccSingleSampledCurve::Describe(), CIccSingleSampledCurve::operator=(), ParseXml(), CIccSingleSampledCurve::Read(), CIccSingleSampledCurve::SetRange(), ToXml(), CIccSingleSampledCurve::Validate(), and CIccSingleSampledCurve::Write().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::Begin(), CIccSingleSampledCurve::Describe(), CIccSingleSampledCurve::GetSize(), CIccSingleSampledCurve::operator=(), CIccSingleSampledCurve::Read(), CIccSingleSampledCurve::SetSize(), ToXml(), CIccSingleSampledCurve::Validate(), and CIccSingleSampledCurve::Write().
|
protectedinherited |
|
protectedinherited |
Referenced by CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::~CIccSingleSampledCurve(), CIccSingleSampledCurve::Apply(), CIccSingleSampledCurve::Begin(), CIccSingleSampledCurve::Describe(), CIccSingleSampledCurve::GetSamples(), CIccSingleSampledCurve::operator=(), ParseXml(), CIccSingleSampledCurve::Read(), CIccSingleSampledCurve::SetSize(), ToXml(), and CIccSingleSampledCurve::Write().
|
protectedinherited |
|
protectedinherited |
Referenced by CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::CIccSingleSampledCurve(), CIccSingleSampledCurve::Describe(), CIccSingleSampledCurve::GetStorageType(), CIccSingleSampledCurve::operator=(), ParseXml(), CIccSingleSampledCurve::Read(), CIccSingleSampledCurve::SetStorageType(), ToXml(), CIccSingleSampledCurve::Validate(), and CIccSingleSampledCurve::Write().