|
Krita Source Code Documentation
|
#include <LcmsColorProfileContainer.h>
Inheritance diagram for LcmsColorProfileContainer:Classes | |
| class | Private |
Public Member Functions | |
| cmsColorSpaceSignature | colorSpaceSignature () const |
| bool | compareTRC (TransferCharacteristics characteristics, float error) const override |
| QString | copyright () const override |
| virtual void | DelinearizeFloatValue (QVector< double > &Value) const |
| virtual void | DelinearizeFloatValueFast (QVector< double > &Value) const |
| cmsProfileClassSignature | deviceClass () const |
| QVector< double > | getColorantsxyY () const override |
| QVector< double > | getColorantsXYZ () const override |
| QVector< double > | getEstimatedTRC () const override |
| QByteArray | getProfileUniqueId () const override |
| QVector< double > | getWhitePointxyY () const override |
| QVector< double > | getWhitePointXYZ () const override |
| bool | hasColorants () const override |
| virtual bool | hasTRC () const |
| QString | info () const override |
| bool | isLinear () const |
| bool | isSuitableForDisplay () const override |
| bool | isSuitableForOutput () const override |
| bool | isSuitableForPrinting () const override |
| cmsHPROFILE | lcmsProfile () const |
| virtual void | LinearizeFloatValue (QVector< double > &Value) const |
| virtual void | LinearizeFloatValueFast (QVector< double > &Value) const |
| QString | manufacturer () const override |
| QString | name () const override |
| virtual bool | supportsAbsolute () const |
| virtual bool | supportsPerceptual () const |
| virtual bool | supportsRelative () const |
| virtual bool | supportsSaturation () const |
| bool | valid () const override |
| virtual float | version () const |
| ~LcmsColorProfileContainer () override | |
Public Member Functions inherited from IccColorProfile::Container | |
| Container () | |
| virtual | ~Container () |
Static Public Member Functions | |
| static IccColorProfile * | createFromLcmsProfile (const cmsHPROFILE profile) |
| static cmsToneCurve * | transferFunction (TransferCharacteristics transferFunction) |
Protected Member Functions | |
| LcmsColorProfileContainer () | |
| LcmsColorProfileContainer (IccColorProfile::Data *) | |
Private Member Functions | |
| bool | init () |
Static Private Member Functions | |
| static QByteArray | lcmsProfileToByteArray (const cmsHPROFILE profile) |
Private Attributes | |
| Private *const | d |
Friends | |
| class | IccColorProfile |
This class contains an LCMS color profile. Don't use it outside LcmsColorSpace.
Definition at line 23 of file LcmsColorProfileContainer.h.
|
protected |
Definition at line 113 of file LcmsColorProfileContainer.cpp.
References d, LcmsColorProfileContainer::Private::data, init(), and LcmsColorProfileContainer::Private::profile.
|
override |
Definition at line 144 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::profile.
|
protected |
Definition at line 107 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::profile.
| cmsColorSpaceSignature LcmsColorProfileContainer::colorSpaceSignature | ( | ) | const |
Definition at line 323 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::colorSpaceSignature, and d.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 630 of file LcmsColorProfileContainer.cpp.
References d, LcmsColorProfileContainer::Private::grayTRC, LcmsColorProfileContainer::Private::hasColorants, LcmsColorProfileContainer::Private::hasTRC, LcmsColorProfileContainer::Private::redTRC, and transferFunction().
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 338 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::copyright, and d.
|
static |
| profile | lcms memory structure with the profile, it is freed after the call to this function |
Definition at line 137 of file LcmsColorProfileContainer.cpp.
References IccColorProfile, and lcmsProfileToByteArray().
Definition at line 521 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::blueTRC, LcmsColorProfileContainer::Private::blueTRCReverse, d, LcmsColorProfileContainer::Private::grayTRCReverse, LcmsColorProfileContainer::Private::greenTRC, LcmsColorProfileContainer::Private::greenTRCReverse, LcmsColorProfileContainer::Private::hasColorants, LcmsColorProfileContainer::Private::profile, LcmsColorProfileContainer::Private::redTRC, and LcmsColorProfileContainer::Private::redTRCReverse.
|
virtual |
Definition at line 568 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::blueTRC, LcmsColorProfileContainer::Private::blueTRCReverse, d, LcmsColorProfileContainer::Private::grayTRCReverse, LcmsColorProfileContainer::Private::greenTRC, LcmsColorProfileContainer::Private::greenTRCReverse, LcmsColorProfileContainer::Private::hasColorants, LcmsColorProfileContainer::Private::profile, LcmsColorProfileContainer::Private::redTRC, and LcmsColorProfileContainer::Private::redTRCReverse.
| cmsProfileClassSignature LcmsColorProfileContainer::deviceClass | ( | ) | const |
Definition at line 328 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::deviceClass.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 414 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::colorants, and d.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 399 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::colorants, and d.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 467 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::blueTRC, d, LcmsColorProfileContainer::Private::grayTRC, LcmsColorProfileContainer::Private::greenTRC, LcmsColorProfileContainer::Private::hasColorants, LcmsColorProfileContainer::Private::profile, and LcmsColorProfileContainer::Private::redTRC.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 606 of file LcmsColorProfileContainer.cpp.
References d, LcmsColorProfileContainer::Private::profile, and LcmsColorProfileContainer::Private::uniqueId.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 458 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::whitePoint.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 447 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::mediaWhitePoint.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 387 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::hasColorants.
|
virtual |
Definition at line 391 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::hasTRC.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 601 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::productDescription.
|
private |
Definition at line 152 of file LcmsColorProfileContainer.cpp.
References _BUFFER_SIZE_, LcmsColorProfileContainer::Private::blueTRC, LcmsColorProfileContainer::Private::blueTRCReverse, LcmsColorProfileContainer::Private::colorants, LcmsColorProfileContainer::Private::colorSpaceSignature, LcmsColorProfileContainer::Private::copyright, d, LcmsColorProfileContainer::Private::data, LcmsColorProfileContainer::Private::defaultIntent, LcmsColorProfileContainer::Private::deviceClass, LcmsColorProfileContainer::Private::grayTRC, LcmsColorProfileContainer::Private::grayTRCReverse, LcmsColorProfileContainer::Private::greenTRC, LcmsColorProfileContainer::Private::greenTRCReverse, LcmsColorProfileContainer::Private::hasColorants, LcmsColorProfileContainer::Private::hasTRC, INTENT_PERCEPTUAL, INTENT_RELATIVE_COLORIMETRIC, INTENT_SATURATION, LcmsColorProfileContainer::Private::isAbsoluteCLUT, LcmsColorProfileContainer::Private::isLinear, LcmsColorProfileContainer::Private::isMatrixShaper, LcmsColorProfileContainer::Private::isPerceptualCLUT, LcmsColorProfileContainer::Private::isRelativeCLUT, LcmsColorProfileContainer::Private::isSaturationCLUT, LcmsColorProfileContainer::Private::manufacturer, LcmsColorProfileContainer::Private::mediaWhitePoint, LcmsColorProfileContainer::Private::name, LcmsColorProfileContainer::Private::productDescription, LcmsColorProfileContainer::Private::profile, IccColorProfile::Data::rawData(), LcmsColorProfileContainer::Private::redTRC, LcmsColorProfileContainer::Private::redTRCReverse, LcmsColorProfileContainer::Private::suitableForOutput, LcmsColorProfileContainer::Private::valid, LcmsColorProfileContainer::Private::version, and LcmsColorProfileContainer::Private::whitePoint.
| bool LcmsColorProfileContainer::isLinear | ( | ) | const |
Definition at line 395 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::isLinear.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 363 of file LcmsColorProfileContainer.cpp.
References deviceClass().
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 353 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::suitableForOutput.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 358 of file LcmsColorProfileContainer.cpp.
References deviceClass().
| cmsHPROFILE LcmsColorProfileContainer::lcmsProfile | ( | ) | const |
Definition at line 318 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::profile.
|
staticprivate |
Create a byte array from a lcms profile.
Definition at line 121 of file LcmsColorProfileContainer.cpp.
Definition at line 501 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::blueTRC, d, LcmsColorProfileContainer::Private::grayTRC, LcmsColorProfileContainer::Private::greenTRC, LcmsColorProfileContainer::Private::hasColorants, LcmsColorProfileContainer::Private::profile, and LcmsColorProfileContainer::Private::redTRC.
Definition at line 541 of file LcmsColorProfileContainer.cpp.
References LcmsColorProfileContainer::Private::blueTRC, d, LcmsColorProfileContainer::Private::grayTRC, LcmsColorProfileContainer::Private::greenTRC, LcmsColorProfileContainer::Private::hasColorants, LcmsColorProfileContainer::Private::profile, and LcmsColorProfileContainer::Private::redTRC.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 333 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::manufacturer.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 596 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::name.
|
virtual |
Definition at line 376 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::isAbsoluteCLUT.
|
virtual |
Definition at line 368 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::isPerceptualCLUT.
|
virtual |
Definition at line 380 of file LcmsColorProfileContainer.cpp.
References d, LcmsColorProfileContainer::Private::isMatrixShaper, and LcmsColorProfileContainer::Private::isRelativeCLUT.
|
virtual |
Definition at line 372 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::isSaturationCLUT.
|
static |
Definition at line 660 of file LcmsColorProfileContainer.cpp.
References transferFunction(), TRC_A98, TRC_GAMMA_1_8, TRC_GAMMA_2_4, TRC_IEC_61966_2_1, TRC_IEC_61966_2_4, TRC_ITU_R_BT_1361, TRC_ITU_R_BT_2020_2_10bit, TRC_ITU_R_BT_2020_2_12bit, TRC_ITU_R_BT_2100_0_HLG, TRC_ITU_R_BT_2100_0_PQ, TRC_ITU_R_BT_470_6_SYSTEM_B_G, TRC_ITU_R_BT_470_6_SYSTEM_M, TRC_ITU_R_BT_601_6, TRC_ITU_R_BT_709_5, TRC_LAB_L, TRC_LINEAR, TRC_LOGARITHMIC_100, TRC_LOGARITHMIC_100_sqrt10, TRC_PROPHOTO, TRC_SMPTE_240M, and TRC_SMPTE_ST_428_1.
|
overridevirtual |
Implements IccColorProfile::Container.
Definition at line 343 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::valid.
|
virtual |
Definition at line 348 of file LcmsColorProfileContainer.cpp.
References d, and LcmsColorProfileContainer::Private::version.
|
friend |
Definition at line 25 of file LcmsColorProfileContainer.h.
|
private |
Definition at line 107 of file LcmsColorProfileContainer.h.