23#include <QtCore/qmutex.h>
24#include <QtCore/qpoint.h>
25#include <QtCore/qshareddata.h>
40 : whitePoint(whitePoint)
42 , greenPoint(greenPoint)
43 , bluePoint(bluePoint)
47 bool areValid()
const;
72 return colorSpace.d_ptr.
get();
77 return colorSpace.d_ptr.
get();
112 if (
other.generated.loadAcquire()) {
121 std::shared_ptr<QColorTrcLut>
table[3];
void storeRelaxed(T newValue) noexcept
QColorSpacePrimaries()=default
QColorSpacePrimaries(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint)
void setTransferFunctionTables(const QList< uint16_t > &redTransferFunctionTable, const QList< uint16_t > &greenTransferFunctionTable, const QList< uint16_t > &blueTransferFunctionTable)
QColorTransform transformationToColorSpace(const QColorSpacePrivate *out) const
QColorSpace::NamedColorSpace namedColorSpace
void setTransferFunctionTable(const QList< uint16_t > &transferFunctionTable)
QColorTransform transformationToXYZ() const
QColorSpacePrivate(const QColorSpacePrivate &other)=default
static const QColorSpacePrivate * get(const QColorSpace &colorSpace)
static Q_CONSTINIT QBasicMutex s_lutWriteLock
void setTransferFunction()
static QColorSpacePrivate * get(QColorSpace &colorSpace)
void identifyColorSpace()
struct QColorSpacePrivate::LUT lut
QColorSpace::Primaries primaries
QColorSpace::TransferFunction transferFunction
static constexpr QColorSpace::NamedColorSpace Unknown
The QColorSpace class provides a color space abstraction.
Primaries
Predefined sets of primary colors.
NamedColorSpace
Predefined color spaces.
TransferFunction
Predefined transfer functions or gamma curves.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLenum GLenum GLsizei void * table
#define Q_AUTOTEST_EXPORT
QTextStream out(stdout)
[7]
const std::shared_ptr< QColorTrcLut > & operator[](int i) const
std::shared_ptr< QColorTrcLut > & operator[](int i)