Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Type: Class. More...
#include <IccIO.h>
Type: Class.
Purpose: This is the base object that handles the IO with an ICC profile.
bool CIccIO::Align32 | ( | ) |
Write operation to make sure that filelength is evenly divisible by 4.
Definition at line 341 of file IccIO.cpp.
References icSeekEnd.
Referenced by CIccMpeCalculator::Write(), CIccMpeCurveSet::Write(), CIccMpeToneMap::Write(), CIccProfileDescText::Write(), CIccTagArray::Write(), CIccTagCurve::Write(), CIccTagDict::Write(), CIccTagLutAtoB::Write(), CIccTagMultiProcessElement::Write(), CIccTagParametricCurve::Write(), CIccTagProfileSequenceId::Write(), CIccTagSparseMatrixArray::Write(), and CIccTagStruct::Write().
|
inlinevirtual |
Reimplemented in CIccEmbedIO, CIccFileIO, CIccMemIO, and CIccNullIO.
Definition at line 102 of file IccIO.h.
Referenced by CIccEmbedIO::Close().
|
inlinevirtual |
Reimplemented in CIccEmbedIO, CIccFileIO, CIccMemIO, and CIccNullIO.
Definition at line 130 of file IccIO.h.
Referenced by CalcProfileID(), CIccEmbedIO::GetLength(), icCLutFromXml(), icXmlParseTextString(), CIccSampledCurveSegmentXml::ParseXml(), CIccSinglSampledeCurveXml::ParseXml(), CIccTagXmlCurve::ParseXml(), CIccTagXmlEmbeddedHeightImage::ParseXml(), CIccTagXmlEmbeddedNormalImage::ParseXml(), CIccTagXmlFloatNum< T, A, Tsig >::ParseXml(), CIccTagXmlTextDescription::ParseXml(), CIccEmbedIO::Seek(), CIccTagGamutBoundaryDesc::Write(), CIccTagResponseCurveSet16::Write(), and CIccTagStruct::Write().
icInt32Number CIccIO::Read16 | ( | void * | pBuf16, |
icInt32Number | nNum = 1 ) |
Definition at line 114 of file IccIO.cpp.
References icSwab16Array().
Referenced by icCLutFromXml(), CIccSampledCurveSegmentXml::ParseXml(), CIccSinglSampledeCurveXml::ParseXml(), CIccTagXmlCurve::ParseXml(), CIccTagXmlFloatNum< T, A, Tsig >::ParseXml(), CIccFormulaCurveSegment::Read(), CIccMpeAcs::Read(), CIccMpeCalculator::Read(), CIccMpeCAM::Read(), CIccMpeCLUT::Read(), CIccMpeCurveSet::Read(), CIccMpeExtCLUT::Read(), CIccMpeMatrix::Read(), CIccMpeSpectralCLUT::Read(), CIccMpeSpectralMatrix::Read(), CIccMpeSpectralObserver::Read(), CIccMpeTintArray::Read(), CIccMpeToneMap::Read(), CIccMpeUnknown::Read(), CIccResponseCurveStruct::Read(), CIccSampledCalculatorCurve::Read(), CIccSegmentedCurve::Read(), CIccSingleSampledCurve::Read(), CIccTagChromaticity::Read(), CIccTagColorantTable::Read(), CIccTagDateTime::Read(), CIccTagDict::Read(), CIccTagGamutBoundaryDesc::Read(), CIccTagLut16::Read(), CIccTagLutAtoB::Read(), CIccTagMultiLocalizedUnicode::Read(), CIccTagMultiProcessElement::Read(), CIccTagNum< T, Tsig >::Read(), CIccTagParametricCurve::Read(), CIccTagResponseCurveSet16::Read(), CIccTagSparseMatrixArray::Read(), CIccTagSpectralDataInfo::Read(), CIccTagSpectralViewingConditions::Read(), CIccTagTextDescription::Read(), CIccTagUtf16Text::Read(), and CIccToneMapFunc::Read().
icInt32Number CIccIO::Read32 | ( | void * | pBuf32, |
icInt32Number | nNum = 1 ) |
Definition at line 143 of file IccIO.cpp.
References icSwab32Array().
Referenced by CIccTagStruct::LoadElem(), CIccCalculatorFunc::Read(), CIccFormulaCurveSegment::Read(), CIccMpeAcs::Read(), CIccMpeCalculator::Read(), CIccMpeCAM::Read(), CIccMpeCLUT::Read(), CIccMpeCurveSet::Read(), CIccMpeExtCLUT::Read(), CIccMpeMatrix::Read(), CIccMpeSpectralCLUT::Read(), CIccMpeSpectralMatrix::Read(), CIccMpeSpectralObserver::Read(), CIccMpeTintArray::Read(), CIccMpeToneMap::Read(), CIccMpeUnknown::Read(), CIccProfileDescText::Read(), CIccResponseCurveStruct::Read(), CIccSampledCalculatorCurve::Read(), CIccSampledCurveSegment::Read(), CIccSegmentedCurve::Read(), CIccSingleSampledCurve::Read(), CIccTagArray::Read(), CIccTagChromaticity::Read(), CIccTagCicp::Read(), CIccTagColorantOrder::Read(), CIccTagColorantTable::Read(), CIccTagCurve::Read(), CIccTagData::Read(), CIccTagDateTime::Read(), CIccTagDict::Read(), CIccTagEmbeddedHeightImage::Read(), CIccTagEmbeddedNormalImage::Read(), CIccTagEmbeddedProfile::Read(), CIccTagFixedNum< T, Tsig >::Read(), CIccTagFloatNum< T, Tsig >::Read(), CIccTagGamutBoundaryDesc::Read(), CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLutAtoB::Read(), CIccTagMeasurement::Read(), CIccTagMultiLocalizedUnicode::Read(), CIccTagMultiProcessElement::Read(), CIccTagNamedColor2::Read(), CIccTagNum< T, Tsig >::Read(), CIccTagParametricCurve::Read(), CIccTagProfileSeqDesc::Read(), CIccTagProfileSequenceId::Read(), CIccTagResponseCurveSet16::Read(), CIccTagSignature::Read(), CIccTagSparseMatrixArray::Read(), CIccTagSpectralDataInfo::Read(), CIccTagSpectralViewingConditions::Read(), CIccTagStruct::Read(), CIccTagText::Read(), CIccTagTextDescription::Read(), CIccTagUnknown::Read(), CIccTagUtf16Text::Read(), CIccTagUtf8Text::Read(), CIccTagViewingConditions::Read(), CIccTagXYZ::Read(), CIccTagZipUtf8Text::Read(), and CIccToneMapFunc::Read().
icInt32Number CIccIO::Read64 | ( | void * | pBuf64, |
icInt32Number | nNum = 1 ) |
Definition at line 173 of file IccIO.cpp.
References icSwab64Array().
Referenced by CIccTagXmlFloatNum< T, A, Tsig >::ParseXml(), CIccTagFloatNum< T, Tsig >::Read(), CIccTagNum< T, Tsig >::Read(), and CIccTagProfileSeqDesc::Read().
|
inlinevirtual |
Reimplemented in CIccEmbedIO, CIccFileIO, CIccMemIO, and CIccNullIO.
Definition at line 104 of file IccIO.h.
Referenced by CalcProfileID(), icCLutFromXml(), CIccSampledCurveSegmentXml::ParseXml(), CIccSinglSampledeCurveXml::ParseXml(), CIccTagXmlCurve::ParseXml(), CIccTagXmlEmbeddedHeightImage::ParseXml(), CIccTagXmlEmbeddedNormalImage::ParseXml(), CIccTagXmlFloatNum< T, A, Tsig >::ParseXml(), CIccCLUT::Read(), CIccMpeAcs::Read(), CIccMpeCLUT::Read(), CIccMpeExtCLUT::Read(), CIccMpeSpectralCLUT::Read(), CIccMpeUnknown::Read(), CIccProfileIdDesc::Read(), CIccTagCicp::Read(), CIccTagColorantOrder::Read(), CIccTagColorantTable::Read(), CIccTagData::Read(), CIccTagEmbeddedHeightImage::Read(), CIccTagEmbeddedNormalImage::Read(), CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLutAtoB::Read(), CIccTagNamedColor2::Read(), CIccTagNum< T, Tsig >::Read(), CIccTagSparseMatrixArray::Read(), CIccTagText::Read(), CIccTagTextDescription::Read(), CIccTagUnknown::Read(), CIccTagUtf8Text::Read(), CIccTagZipUtf8Text::Read(), and CIccEmbedIO::Read8().
icInt32Number CIccIO::ReadFloat16Float | ( | void * | pBufFloat, |
icInt32Number | nNum = 1 ) |
Definition at line 269 of file IccIO.cpp.
References icF16toF().
Referenced by CIccTagXmlFloatNum< T, A, Tsig >::ParseXml(), CIccMpeExtCLUT::Read(), CIccMpeSpectralCLUT::Read(), CIccSingleSampledCurve::Read(), CIccTagFloatNum< T, Tsig >::Read(), and CIccTagSparseMatrixArray::Read().
icInt32Number CIccIO::ReadFloat32Float | ( | void * | pBufFloat, |
icInt32Number | nNum = 1 ) |
Definition at line 302 of file IccIO.cpp.
Referenced by icCLutFromXml(), CIccSampledCurveSegmentXml::ParseXml(), CIccSinglSampledeCurveXml::ParseXml(), CIccTagXmlCurve::ParseXml(), CIccTagXmlFloatNum< T, A, Tsig >::ParseXml(), CIccFormulaCurveSegment::Read(), CIccMpeCAM::Read(), CIccMpeCLUT::Read(), CIccMpeExtCLUT::Read(), CIccMpeMatrix::Read(), CIccMpeSpectralCLUT::Read(), CIccMpeSpectralMatrix::Read(), CIccMpeSpectralObserver::Read(), CIccSampledCalculatorCurve::Read(), CIccSampledCurveSegment::Read(), CIccSegmentedCurve::Read(), CIccSingleSampledCurve::Read(), CIccTagEmbeddedHeightImage::Read(), CIccTagGamutBoundaryDesc::Read(), CIccTagSparseMatrixArray::Read(), CIccTagSpectralViewingConditions::Read(), and CIccToneMapFunc::Read().
icInt32Number CIccIO::ReadLine | ( | void * | pBuf8, |
icInt32Number | nNum = 256 ) |
Definition at line 93 of file IccIO.cpp.
Referenced by icXmlParseTextString(), and CIccTagXmlTextDescription::ParseXml().
icInt32Number CIccIO::ReadUInt16Float | ( | void * | pBufFloat, |
icInt32Number | nNum = 1 ) |
Definition at line 236 of file IccIO.cpp.
Referenced by CIccMpeExtCLUT::Read(), CIccMpeSpectralCLUT::Read(), CIccSingleSampledCurve::Read(), CIccTagCurve::Read(), CIccTagLut16::Read(), CIccTagNamedColor2::Read(), CIccTagSparseMatrixArray::Read(), and CIccCLUT::ReadData().
icInt32Number CIccIO::ReadUInt8Float | ( | void * | pBufFloat, |
icInt32Number | nNum = 1 ) |
Definition at line 203 of file IccIO.cpp.
Referenced by CIccMpeExtCLUT::Read(), CIccMpeSpectralCLUT::Read(), CIccSingleSampledCurve::Read(), CIccTagLut8::Read(), CIccTagSparseMatrixArray::Read(), and CIccCLUT::ReadData().
|
inlinevirtual |
Reimplemented in CIccEmbedIO, CIccFileIO, CIccMemIO, and CIccNullIO.
Definition at line 132 of file IccIO.h.
Referenced by CalcProfileID(), CIccTagStruct::LoadElem(), CIccMpeCalculator::Read(), CIccMpeCurveSet::Read(), CIccMpeTintArray::Read(), CIccMpeToneMap::Read(), CIccProfileDescText::Read(), CIccSegmentedCurve::Read(), CIccTagArray::Read(), CIccTagDict::Read(), CIccTagLutAtoB::Read(), CIccTagMultiLocalizedUnicode::Read(), CIccTagMultiProcessElement::Read(), CIccTagProfileSequenceId::Read(), CIccTagResponseCurveSet16::Read(), CIccEmbedIO::Seek(), CIccMpeCalculator::Write(), CIccMpeCurveSet::Write(), CIccMpeToneMap::Write(), CIccTagArray::Write(), CIccTagDict::Write(), CIccTagLutAtoB::Write(), CIccTagMultiProcessElement::Write(), CIccTagProfileSequenceId::Write(), CIccTagResponseCurveSet16::Write(), and CIccTagStruct::Write().
bool CIccIO::Sync32 | ( | icUInt32Number | nOffset = 0 | ) |
Operation to make sure read position is evenly divisible by 4.
Definition at line 357 of file IccIO.cpp.
References icSeekSet.
Referenced by CIccProfileDescText::Read(), and CIccTagLutAtoB::Read().
|
inlinevirtual |
Reimplemented in CIccEmbedIO, CIccFileIO, CIccMemIO, and CIccNullIO.
Definition at line 133 of file IccIO.h.
Referenced by CIccEmbedIO::Attach(), CalcProfileID(), CIccMpeCalculator::Read(), CIccMpeCurveSet::Read(), CIccMpeTintArray::Read(), CIccMpeToneMap::Read(), CIccProfileDescText::Read(), CIccSegmentedCurve::Read(), CIccTagArray::Read(), CIccTagDict::Read(), CIccTagLut16::Read(), CIccTagLut8::Read(), CIccTagLutAtoB::Read(), CIccTagMultiLocalizedUnicode::Read(), CIccTagMultiProcessElement::Read(), CIccTagProfileSeqDesc::Read(), CIccTagProfileSequenceId::Read(), CIccTagResponseCurveSet16::Read(), CIccTagStruct::Read(), CIccTagTextDescription::Read(), CIccEmbedIO::Read8(), CIccEmbedIO::Seek(), CIccEmbedIO::Tell(), CIccMpeCalculator::Write(), CIccMpeCurveSet::Write(), CIccMpeToneMap::Write(), CIccTagArray::Write(), CIccTagDict::Write(), CIccTagLutAtoB::Write(), CIccTagMultiProcessElement::Write(), CIccTagProfileSequenceId::Write(), and CIccTagStruct::Write().
icInt32Number CIccIO::Write16 | ( | void * | pBuf16, |
icInt32Number | nNum = 1 ) |
Definition at line 122 of file IccIO.cpp.
References icSwab16.
Referenced by CIccFormulaCurveSegment::Write(), CIccMpeAcs::Write(), CIccMpeCalculator::Write(), CIccMpeCAM::Write(), CIccMpeCLUT::Write(), CIccMpeCurveSet::Write(), CIccMpeExtCLUT::Write(), CIccMpeMatrix::Write(), CIccMpeSpectralCLUT::Write(), CIccMpeSpectralMatrix::Write(), CIccMpeSpectralObserver::Write(), CIccMpeTintArray::Write(), CIccMpeToneMap::Write(), CIccMpeUnknown::Write(), CIccResponseCurveStruct::Write(), CIccSampledCalculatorCurve::Write(), CIccSegmentedCurve::Write(), CIccSingleSampledCurve::Write(), CIccTagChromaticity::Write(), CIccTagColorantTable::Write(), CIccTagDateTime::Write(), CIccTagDict::Write(), CIccTagGamutBoundaryDesc::Write(), CIccTagLut16::Write(), CIccTagLutAtoB::Write(), CIccTagMultiLocalizedUnicode::Write(), CIccTagMultiProcessElement::Write(), CIccTagNum< T, Tsig >::Write(), CIccTagParametricCurve::Write(), CIccTagResponseCurveSet16::Write(), CIccTagSparseMatrixArray::Write(), CIccTagSpectralDataInfo::Write(), CIccTagSpectralViewingConditions::Write(), CIccTagTextDescription::Write(), CIccTagUtf16Text::Write(), and CIccToneMapFunc::Write().
icInt32Number CIccIO::Write32 | ( | void * | pBuf32, |
icInt32Number | nNum = 1 ) |
Definition at line 152 of file IccIO.cpp.
References icSwab32.
Referenced by CIccCalculatorFunc::Write(), CIccFormulaCurveSegment::Write(), CIccMpeAcs::Write(), CIccMpeCalculator::Write(), CIccMpeCAM::Write(), CIccMpeCLUT::Write(), CIccMpeCurveSet::Write(), CIccMpeExtCLUT::Write(), CIccMpeMatrix::Write(), CIccMpeSpectralCLUT::Write(), CIccMpeSpectralMatrix::Write(), CIccMpeSpectralObserver::Write(), CIccMpeTintArray::Write(), CIccMpeToneMap::Write(), CIccMpeUnknown::Write(), CIccResponseCurveStruct::Write(), CIccSampledCalculatorCurve::Write(), CIccSampledCurveSegment::Write(), CIccSegmentedCurve::Write(), CIccSingleSampledCurve::Write(), CIccTagArray::Write(), CIccTagChromaticity::Write(), CIccTagCicp::Write(), CIccTagColorantOrder::Write(), CIccTagColorantTable::Write(), CIccTagCurve::Write(), CIccTagData::Write(), CIccTagDateTime::Write(), CIccTagDict::Write(), CIccTagEmbeddedHeightImage::Write(), CIccTagEmbeddedNormalImage::Write(), CIccTagEmbeddedProfile::Write(), CIccTagFixedNum< T, Tsig >::Write(), CIccTagFloatNum< T, Tsig >::Write(), CIccTagGamutBoundaryDesc::Write(), CIccTagLut16::Write(), CIccTagLut8::Write(), CIccTagLutAtoB::Write(), CIccTagMeasurement::Write(), CIccTagMultiLocalizedUnicode::Write(), CIccTagMultiProcessElement::Write(), CIccTagNamedColor2::Write(), CIccTagNum< T, Tsig >::Write(), CIccTagParametricCurve::Write(), CIccTagProfileSeqDesc::Write(), CIccTagProfileSequenceId::Write(), CIccTagResponseCurveSet16::Write(), CIccTagSignature::Write(), CIccTagSparseMatrixArray::Write(), CIccTagSpectralDataInfo::Write(), CIccTagSpectralViewingConditions::Write(), CIccTagStruct::Write(), CIccTagText::Write(), CIccTagTextDescription::Write(), CIccTagUnknown::Write(), CIccTagUtf16Text::Write(), CIccTagUtf8Text::Write(), CIccTagViewingConditions::Write(), CIccTagXYZ::Write(), CIccTagZipUtf8Text::Write(), and CIccToneMapFunc::Write().
icInt32Number CIccIO::Write64 | ( | void * | pBuf64, |
icInt32Number | nNum = 1 ) |
Definition at line 182 of file IccIO.cpp.
References icSwab64.
Referenced by CIccTagFloatNum< T, Tsig >::Write(), CIccTagNum< T, Tsig >::Write(), and CIccTagProfileSeqDesc::Write().
|
inlinevirtual |
Reimplemented in CIccEmbedIO, CIccFileIO, CIccMemIO, and CIccNullIO.
Definition at line 105 of file IccIO.h.
Referenced by CIccCLUT::Write(), CIccMpeAcs::Write(), CIccMpeCLUT::Write(), CIccMpeExtCLUT::Write(), CIccMpeSpectralCLUT::Write(), CIccMpeUnknown::Write(), CIccProfileIdDesc::Write(), CIccTagCicp::Write(), CIccTagColorantOrder::Write(), CIccTagColorantTable::Write(), CIccTagData::Write(), CIccTagDict::Write(), CIccTagEmbeddedHeightImage::Write(), CIccTagEmbeddedNormalImage::Write(), CIccTagLut16::Write(), CIccTagLut8::Write(), CIccTagLutAtoB::Write(), CIccTagNamedColor2::Write(), CIccTagNum< T, Tsig >::Write(), CIccTagText::Write(), CIccTagTextDescription::Write(), CIccTagUnknown::Write(), CIccTagUtf8Text::Write(), CIccTagZipUtf8Text::Write(), and CIccEmbedIO::Write8().
icInt32Number CIccIO::WriteFloat16Float | ( | void * | pBuf16, |
icInt32Number | nNum = 1 ) |
Definition at line 285 of file IccIO.cpp.
References icFtoF16().
Referenced by CIccMpeExtCLUT::Write(), CIccMpeSpectralCLUT::Write(), CIccSingleSampledCurve::Write(), CIccTagFloatNum< T, Tsig >::Write(), and CIccTagSparseMatrixArray::Write().
icInt32Number CIccIO::WriteFloat32Float | ( | void * | pBufFloat, |
icInt32Number | nNum = 1 ) |
Definition at line 321 of file IccIO.cpp.
Referenced by CIccFormulaCurveSegment::Write(), CIccMpeCAM::Write(), CIccMpeCLUT::Write(), CIccMpeExtCLUT::Write(), CIccMpeMatrix::Write(), CIccMpeSpectralCLUT::Write(), CIccMpeSpectralMatrix::Write(), CIccMpeSpectralObserver::Write(), CIccSampledCalculatorCurve::Write(), CIccSampledCurveSegment::Write(), CIccSegmentedCurve::Write(), CIccSingleSampledCurve::Write(), CIccTagEmbeddedHeightImage::Write(), CIccTagGamutBoundaryDesc::Write(), CIccTagSparseMatrixArray::Write(), CIccTagSpectralViewingConditions::Write(), and CIccToneMapFunc::Write().
icInt32Number CIccIO::WriteUInt16Float | ( | void * | pBuf16, |
icInt32Number | nNum = 1 ) |
Definition at line 252 of file IccIO.cpp.
Referenced by CIccMpeExtCLUT::Write(), CIccMpeSpectralCLUT::Write(), CIccSingleSampledCurve::Write(), CIccTagCurve::Write(), CIccTagLut16::Write(), CIccTagNamedColor2::Write(), CIccTagSparseMatrixArray::Write(), and CIccCLUT::WriteData().
icInt32Number CIccIO::WriteUInt8Float | ( | void * | pBuf16, |
icInt32Number | nNum = 1 ) |
Definition at line 219 of file IccIO.cpp.
Referenced by CIccMpeExtCLUT::Write(), CIccMpeSpectralCLUT::Write(), CIccSingleSampledCurve::Write(), CIccTagLut8::Write(), CIccTagSparseMatrixArray::Write(), and CIccCLUT::WriteData().