HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
color
Rec2020.hpp
1
// Copyright Take Vos 2020.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include "color_space.hpp"
8
#include <cmath>
9
#include <array>
10
11
namespace
hi::inline v1 {
12
13
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);
14
15
constexpr
matrix3 XYZ_to_Rec2020 = ~Rec2020_to_XYZ;
16
17
}
// namespace hi::inline v1
Generated on Mon Apr 22 2024 12:52:40 for HikoGUI by
1.10.0