HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
TTauri
Foundation
Rec2020.hpp
1
// Copyright 2020 Pokitec
2
// All rights reserved.
3
4
#pragma once
5
6
#include "TTauri/Foundation/float16.hpp"
7
#include "TTauri/Foundation/mat.hpp"
8
#include <cmath>
9
#include <array>
10
11
namespace
tt {
12
13
inline
mat Rec2020_to_XYZ = mat::RGBtoXYZ(
14
0.3127f, 0.3290f,
15
0.708f, 0.292f,
16
0.170f, 0.797f,
17
0.131f, 0.046f
18
);
19
20
inline
mat XYZ_to_Rec2020 = ~Rec2020_to_XYZ;
21
22
23
24
}
Generated on Mon Apr 22 2024 12:53:56 for HikoGUI by
1.10.0