Speedup for perceptual tone curve #4269
This commit is contained in:
@@ -14,6 +14,7 @@ constexpr double MAXVALD = static_cast<double>(MAXVAL); // double version of MAX
|
||||
|
||||
constexpr double RT_PI = 3.14159265358979323846; // pi
|
||||
constexpr double RT_PI_2 = 1.57079632679489661923; // pi/2
|
||||
constexpr double RT_PI_180 = 0.017453292519943295769; // pi/180
|
||||
constexpr double RT_1_PI = 0.31830988618379067154; // 1/pi
|
||||
constexpr double RT_2_PI = 0.63661977236758134308; // 2/pi
|
||||
constexpr double RT_SQRT1_2 = 0.70710678118654752440; // 1/sqrt(2)
|
||||
@@ -23,6 +24,7 @@ constexpr double RT_NAN = std::numeric_limits<double>::quiet_NaN();
|
||||
|
||||
constexpr float RT_PI_F = RT_PI;
|
||||
constexpr float RT_PI_F_2 = RT_PI_2;
|
||||
constexpr float RT_PI_F_180 = RT_PI_180;
|
||||
|
||||
constexpr float RT_INFINITY_F = std::numeric_limits<float>::infinity();
|
||||
constexpr float RT_NAN_F = std::numeric_limits<float>::quiet_NaN();
|
||||
|
Reference in New Issue
Block a user