HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
color
Rec2020.hpp
1
// Distributed under the Boost Software License, Version 1.0.
2
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
3
4
#pragma once
5
6
#include "color_space.hpp"
7
#include <cmath>
8
#include <array>
9
10
namespace
hi::inline
v1
{
11
12
constexpr
matrix3 Rec2020_to_XYZ = color_primaries_to_RGBtoXYZ(0.3127f, 0.3290f, 0.708f, 0.292f, 0.170f, 0.797f, 0.131f, 0.046f);
13
14
constexpr
matrix3 XYZ_to_Rec2020 = ~Rec2020_to_XYZ;
15
16
}
// namespace hi::inline v1
v1
DOXYGEN BUG.
Definition
algorithm.hpp:15
Generated on Mon Apr 22 2024 12:51:51 for HikoGUI by
1.10.0