10std::shared_ptr<QColorTrcLut> QColorTrcLut::create()
13 return std::make_shared<Access>();
20 for (
int i = 0;
i <= (255 * 16); ++
i) {
33 for (
int i = 0;
i <= (255 * 16); ++
i) {
45 float minInverse = 0.0f;
46 for (
int i = 0;
i <= (255 * 16); ++
i) {
48 minInverse =
table.applyInverse(
i /
qreal(255 * 16), minInverse);
float apply(float x) const
static std::shared_ptr< QColorTrcLut > fromTransferTable(const QColorTransferTable &transTable)
static std::shared_ptr< QColorTrcLut > fromTransferFunction(const QColorTransferFunction &transfn)
static std::shared_ptr< QColorTrcLut > fromGamma(qreal gamma)
Combined button and popup list for selecting options.
int qRound(qfloat16 d) noexcept
constexpr const T & qBound(const T &min, const T &val, const T &max)
GLenum GLenum GLsizei void * table