HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
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
11namespace tt {
12
13inline 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
20inline mat XYZ_to_Rec2020 = ~Rec2020_to_XYZ;
21
22
23
24}