5#ifndef QSSGCPUTONEMAPPER_P_H
6#define QSSGCPUTONEMAPPER_P_H
19#include <QtGui/qvector3d.h>
27 return QVector3D(std::sqrt(
a.x()), std::sqrt(
a.y()), std::sqrt(
a.z()));
32 return QVector3D(std::max(
a.x(),
b.x()), std::max(
a.y(),
b.y()), std::max(
a.z(),
b.z()));
45template<
typename mType>
58 return 0.58512238f * S1 + 0.78314035f * S2 - 0.36826273f * S3;
64 return (cc *
mad(6.2f, cc, 0.5f)) /
vadd(cc *
mad(6.2f, cc, 1.7f), 0.06f);
69 const float A = 2.51f;
70 const float B = 0.03f;
71 const float C = 2.43f;
72 const float D = 0.59f;
73 const float E = 0.14f;
79 const float A = 0.15f;
80 const float B = 0.50f;
81 const float C = 0.10f;
82 const float D = 0.20f;
83 const float E = 0.02f;
84 const float F = 0.30f;
The QVector3D class represents a vector or vertex in 3D space.
QVector3D vclamp(const QVector3D &a, float b, float c)
QVector3D vadd(const QVector3D &a, float b)
QVector3D tonemapFilmicSub(const QVector3D &c)
QVector3D vmax(const QVector3D &a, const QVector3D &b)
QVector3D mad(mType m, const QVector3D &a, float b)
QVector3D tonemapFilmic(const QVector3D &c)
QVector3D tonemapHejlDawson(const QVector3D &c)
QVector3D tonemapAces(const QVector3D &c)
QVector3D tonemapLinearToSrgb(const QVector3D &c)
QVector3D vsqrt(const QVector3D &a)
Combined button and popup list for selecting options.
constexpr const T & qBound(const T &min, const T &val, const T &max)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]