![]() |
Qt 6.x
The Qt SDK
|
#include <qcolortrclut_p.h>
Collaboration diagram for QColorTrcLut:Public Member Functions | |
| QRgba64 | toLinear64 (QRgb rgb32) const |
| QRgba64 | toLinear64 (QRgba64) const =delete |
| QRgb | toLinear (QRgb rgb32) const |
| QRgba64 | toLinear (QRgba64 rgb64) const |
| float | u8ToLinearF32 (int c) const |
| float | u16ToLinearF32 (int c) const |
| float | toLinear (float f) const |
| QRgb | fromLinear64 (QRgba64 rgb64) const |
| QRgb | fromLinear (QRgb rgb32) const |
| QRgba64 | fromLinear (QRgba64 rgb64) const |
| int | u8FromLinearF32 (float f) const |
| int | u16FromLinearF32 (float f) const |
| float | fromLinear (float f) const |
Static Public Member Functions | |
| static std::shared_ptr< QColorTrcLut > | fromGamma (qreal gamma) |
| static std::shared_ptr< QColorTrcLut > | fromTransferFunction (const QColorTransferFunction &transfn) |
| static std::shared_ptr< QColorTrcLut > | fromTransferTable (const QColorTransferTable &transTable) |
Public Attributes | |
| ushort | m_toLinear [(255 *16)+1] |
| ushort | m_fromLinear [(255 *16)+1] |
Definition at line 36 of file qcolortrclut_p.h.
|
static |
Definition at line 16 of file qcolortrclut.cpp.
References i, qPow(), and qRound().
Referenced by QGuiApplicationPrivate::colorProfileForA32Text(), and QGuiApplicationPrivate::colorProfileForA8Text().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 181 of file qcolortrclut_p.h.
Definition at line 161 of file qcolortrclut_p.h.
Definition at line 166 of file qcolortrclut_p.h.
Definition at line 116 of file qcolortrclut_p.h.
References QRgba64::alpha(), QRgba64::blue(), QRgba64::green(), and QRgba64::red().
Referenced by grayBlendPixel(), and rgbBlendPixel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 28 of file qcolortrclut.cpp.
References QColorTransferFunction::apply(), fun, i, and qRound().
Referenced by lutFromTrc().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 41 of file qcolortrclut.cpp.
References i, qBound(), and qRound().
Referenced by lutFromTrc().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 110 of file qcolortrclut_p.h.
Definition at line 87 of file qcolortrclut_p.h.
Referenced by qGamma_correct_back_to_linear_cs(), qt_alphamapblit_argb32(), qt_alphamapblit_generic(), qt_alphargbblit_argb32(), and qt_alphargbblit_generic().
Here is the caller graph for this function:Definition at line 92 of file qcolortrclut_p.h.
Definition at line 45 of file qcolortrclut_p.h.
References QRgba64::fromRgba64(), qAlpha(), qBlue(), qGreen(), and qRed().
Referenced by alphamapblend_argb32(), alphargbblend_argb32(), grayBlendPixel(), and rgbBlendPixel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 176 of file qcolortrclut_p.h.
|
inline |
Definition at line 103 of file qcolortrclut_p.h.
|
inline |
Definition at line 171 of file qcolortrclut_p.h.
|
inline |
Definition at line 97 of file qcolortrclut_p.h.
| ushort QColorTrcLut::m_fromLinear[(255 *16)+1] |
Definition at line 192 of file qcolortrclut_p.h.
| ushort QColorTrcLut::m_toLinear[(255 *16)+1] |
Definition at line 191 of file qcolortrclut_p.h.