40 #ifndef QCOLORSPACE_P_H
41 #define QCOLORSPACE_P_H
59 #include <QtCore/qmutex.h>
60 #include <QtCore/qpoint.h>
61 #include <QtCore/qshareddata.h>
76 : whitePoint(whitePoint)
78 , greenPoint(greenPoint)
79 , bluePoint(bluePoint)
83 bool areValid()
const;
108 return colorSpace.d_ptr.
get();
113 return colorSpace.d_ptr.
get();
148 if (
other.generated.loadAcquire()) {
157 std::shared_ptr<QColorTrcLut>
table[3];
small capitals from c petite p scientific i
[1]
The QAtomicInt class provides platform-independent atomic operations on int.
void storeRelaxed(T newValue) noexcept
The QByteArray class provides an array of bytes.
The QColorSpace class provides a color space abstraction.
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)
static QBasicMutex s_lutWriteLock
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 QColorSpacePrivate * get(QColorSpace &colorSpace)
void setTransferFunction()
void identifyColorSpace()
static const QColorSpacePrivate * get(const QColorSpace &colorSpace)
struct QColorSpacePrivate::LUT lut
QColorSpace::Primaries primaries
QColorSpace::TransferFunction transferFunction
static constexpr QColorSpace::NamedColorSpace Unknown
The QMutex class provides access serialization between threads.
The QPointF class defines a point in the plane using floating point precision.
The QSharedData class is a base class for shared data objects. \reentrant.
The QString class provides a Unicode character string.
#define Q_AUTOTEST_EXPORT
GLenum GLenum GLsizei void * table
QTextStream out(stdout)
[7]
const std::shared_ptr< QColorTrcLut > & operator[](int i) const
std::shared_ptr< QColorTrcLut > & operator[](int i)