![]() |
Qt 6.x
The Qt SDK
|
#include "qcolortransform.h"
#include "qcolortransform_p.h"
#include "qcolormatrix_p.h"
#include "qcolorspace_p.h"
#include "qcolortrc_p.h"
#include "qcolortrclut_p.h"
#include <QtCore/qatomic.h>
#include <QtCore/qmath.h>
#include <QtGui/qcolor.h>
#include <QtGui/qimage.h>
#include <QtGui/qtransform.h>
#include <QtCore/private/qsimd_p.h>
#include <qdebug.h>
Go to the source code of this file.
Classes | |
class | QUninitialized< T, Count > |
Variables | |
static constexpr qsizetype | WorkBlockSize = 256 |
|
static |
Definition at line 314 of file qcolortransform.cpp.
References QColorMatrix::b, QColorMatrix::g, j, QColorMatrix::map(), QColorMatrix::r, QColorVector::x, QColorVector::y, and QColorVector::z.
Referenced by QColorTransformPrivate::applyReturnGray().
|
static |
Referenced by QColorTransformPrivate::apply(), and QColorTransformPrivate::applyReturnGray().
void loadPremultiplied< QRgb > | ( | QColorVector * | buffer, |
const QRgb * | src, | ||
const qsizetype | len, | ||
const QColorTransformPrivate * | d_ptr | ||
) |
Definition at line 679 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceIn, i, QColorSpacePrivate::lut, qAlpha(), qBlue(), qGreen(), and qRed().
void loadPremultiplied< QRgba64 > | ( | QColorVector * | buffer, |
const QRgba64 * | src, | ||
const qsizetype | len, | ||
const QColorTransformPrivate * | d_ptr | ||
) |
Definition at line 699 of file qcolortransform.cpp.
References QRgba64::alpha(), QColorTransformPrivate::colorSpaceIn, i, and QColorSpacePrivate::lut.
void loadPremultiplied< QRgbaFloat32 > | ( | QColorVector * | buffer, |
const QRgbaFloat32 * | src, | ||
const qsizetype | len, | ||
const QColorTransformPrivate * | d_ptr | ||
) |
Definition at line 742 of file qcolortransform.cpp.
References QRgbaFloat< F >::a, QColorTrc::applyExtended(), QColorTransformPrivate::colorSpaceIn, i, and QColorSpacePrivate::trc.
|
static |
Referenced by QColorTransformPrivate::apply(), and QColorTransformPrivate::applyReturnGray().
void loadUnpremultiplied< QRgb > | ( | QColorVector * | buffer, |
const QRgb * | src, | ||
const qsizetype | len, | ||
const QColorTransformPrivate * | d_ptr | ||
) |
Definition at line 719 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceIn, i, QColorSpacePrivate::lut, qBlue(), qGreen(), and qRed().
void loadUnpremultiplied< QRgba64 > | ( | QColorVector * | buffer, |
const QRgba64 * | src, | ||
const qsizetype | len, | ||
const QColorTransformPrivate * | d_ptr | ||
) |
Definition at line 730 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceIn, i, and QColorSpacePrivate::lut.
void loadUnpremultiplied< QRgbaFloat32 > | ( | QColorVector * | buffer, |
const QRgbaFloat32 * | src, | ||
const qsizetype | len, | ||
const QColorTransformPrivate * | d_ptr | ||
) |
Definition at line 759 of file qcolortransform.cpp.
References QColorTrc::applyExtended(), QColorTransformPrivate::colorSpaceIn, i, and QColorSpacePrivate::trc.
QT_BEGIN_NAMESPACE std::shared_ptr< QColorTrcLut > lutFromTrc | ( | const QColorTrc & | trc | ) |
Definition at line 23 of file qcolortransform.cpp.
References QColorTrcLut::fromTransferFunction(), QColorTrcLut::fromTransferTable(), QColorTrc::m_fun, QColorTrc::m_table, QColorTrc::m_type, and qWarning.
Referenced by QColorTransformPrivate::updateLutsIn(), and QColorTransformPrivate::updateLutsOut().
|
static |
Definition at line 1202 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, QColorSpacePrivate::lut, and Q_UNUSED.
|
static |
Definition at line 1194 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, QColorSpacePrivate::lut, and Q_UNUSED.
Referenced by QColorTransformPrivate::applyReturnGray().
|
static |
Definition at line 1109 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, QColorSpacePrivate::lut, and Q_UNUSED.
Referenced by QColorTransformPrivate::apply().
|
static |
Definition at line 1145 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, QColorSpacePrivate::lut, Q_UNUSED, and qRgba64().
|
static |
Definition at line 1182 of file qcolortransform.cpp.
References QColorTrc::applyInverseExtended(), QColorTransformPrivate::colorSpaceOut, i, Q_UNUSED, and QColorSpacePrivate::trc.
|
static |
Definition at line 1085 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, QColorSpacePrivate::lut, qAlpha(), and qRgba().
Referenced by QColorTransformPrivate::apply().
|
static |
Definition at line 1121 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, QColorSpacePrivate::lut, and qRgba64().
|
static |
Definition at line 1158 of file qcolortransform.cpp.
References QColorTrc::applyInverseExtended(), QColorTransformPrivate::colorSpaceOut, i, and QColorSpacePrivate::trc.
|
static |
Definition at line 1098 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, and QColorSpacePrivate::lut.
Referenced by QColorTransformPrivate::apply().
|
static |
Definition at line 1134 of file qcolortransform.cpp.
References QColorTransformPrivate::colorSpaceOut, i, QColorSpacePrivate::lut, and qRgba64().
|
static |
Definition at line 1170 of file qcolortransform.cpp.
References QColorTrc::applyInverseExtended(), QColorTransformPrivate::colorSpaceOut, i, and QColorSpacePrivate::trc.
|
staticconstexpr |
Definition at line 1210 of file qcolortransform.cpp.
Referenced by QColorTransformPrivate::apply(), and QColorTransformPrivate::applyReturnGray().