HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Rec2020.hpp File Reference

color space conversion matrices between XYZ and Rec.2020 More...

#include "color_space.hpp"
#include "../geometry/geometry.hpp"
#include "../macros.hpp"
#include <cmath>
#include <array>

Go to the source code of this file.

Namespaces

namespace  hi
 The HikoGUI namespace.
 
namespace  hi::v1
 The HikoGUI API version 1.
 

Functions

 hi_export_module (hikogui.color.Rec2020)
 

Variables

constexpr matrix3 hi::v1::Rec2020_to_XYZ = color_primaries_to_RGBtoXYZ(0.3127f, 0.3290f, 0.708f, 0.292f, 0.170f, 0.797f, 0.131f, 0.046f)
 Rec.2020 to XYZ color space conversion matrix.
 
constexpr matrix3 hi::v1::XYZ_to_Rec2020 = ~Rec2020_to_XYZ
 XYZ to Rec.2020 color space conversion matrix.
 

Detailed Description

color space conversion matrices between XYZ and Rec.2020