KWin
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
KWin::IccProfile Class Reference

#include <iccprofile.h>

Classes

struct  BToATagData
 

Public Member Functions

 IccProfile (cmsHPROFILE handle, const Colorimetry &colorimetry, BToATagData &&bToATag, const std::shared_ptr< ColorTransformation > &vcgt)
 
 IccProfile (cmsHPROFILE handle, const Colorimetry &colorimetry, const std::shared_ptr< ColorTransformation > &inverseEOTF, const std::shared_ptr< ColorTransformation > &vcgt)
 
 ~IccProfile ()
 
const BToATagDataBtToATag () const
 
std::shared_ptr< ColorTransformationinverseEOTF () const
 
std::shared_ptr< ColorTransformationvcgt () const
 
const Colorimetrycolorimetry () const
 

Static Public Member Functions

static std::unique_ptr< IccProfileload (const QString &path)
 

Detailed Description

Definition at line 24 of file iccprofile.h.

Constructor & Destructor Documentation

◆ IccProfile() [1/2]

KWin::IccProfile::IccProfile ( cmsHPROFILE handle,
const Colorimetry & colorimetry,
BToATagData && bToATag,
const std::shared_ptr< ColorTransformation > & vcgt )
explicit

Definition at line 20 of file iccprofile.cpp.

◆ IccProfile() [2/2]

KWin::IccProfile::IccProfile ( cmsHPROFILE handle,
const Colorimetry & colorimetry,
const std::shared_ptr< ColorTransformation > & inverseEOTF,
const std::shared_ptr< ColorTransformation > & vcgt )
explicit

Definition at line 28 of file iccprofile.cpp.

◆ ~IccProfile()

KWin::IccProfile::~IccProfile ( )

Definition at line 36 of file iccprofile.cpp.

Member Function Documentation

◆ BtToATag()

const IccProfile::BToATagData * KWin::IccProfile::BtToATag ( ) const

the BToA tag describes a transformation from XYZ with D50 whitepoint to the display color space. May be nullptr!

Definition at line 56 of file iccprofile.cpp.

◆ colorimetry()

const Colorimetry & KWin::IccProfile::colorimetry ( ) const

Definition at line 41 of file iccprofile.cpp.

◆ inverseEOTF()

std::shared_ptr< ColorTransformation > KWin::IccProfile::inverseEOTF ( ) const

Contains the inverse of the TRC tags. May be nullptr!

Definition at line 46 of file iccprofile.cpp.

◆ load()

std::unique_ptr< IccProfile > KWin::IccProfile::load ( const QString & path)
static

Definition at line 209 of file iccprofile.cpp.

◆ vcgt()

std::shared_ptr< ColorTransformation > KWin::IccProfile::vcgt ( ) const

The VCGT is a non-standard tag that needs to be applied before pixels are sent to the display. May be nullptr!

Definition at line 51 of file iccprofile.cpp.


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