diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-06 00:03:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-17 22:31:54 +0200 |
| commit | 7d4aa870201d1b4384b79148df9647274140a00d (patch) | |
| tree | 6faa1c59f2e77f027cb6610ff1d18c4ae71df005 | |
| parent | 628ecafb65cb23104e5147cc7bf6ce7843ef2dfd (diff) | |
| -rw-r--r-- | src/colour_conversion.cc | 2 | ||||
| -rw-r--r-- | src/colour_conversion.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/colour_conversion.cc b/src/colour_conversion.cc index 84218d87..5946273e 100644 --- a/src/colour_conversion.cc +++ b/src/colour_conversion.cc @@ -142,7 +142,7 @@ ColourConversion::rec2020_to_xyz () { static auto c = new ColourConversion ( make_shared<GammaTransferFunction>(2.4), - YUVToRGB::REC709, + YUVToRGB::REC2020, Chromaticity (0.708, 0.292), Chromaticity (0.170, 0.797), Chromaticity (0.131, 0.046), diff --git a/src/colour_conversion.h b/src/colour_conversion.h index 83ba3ad3..8501699a 100644 --- a/src/colour_conversion.h +++ b/src/colour_conversion.h @@ -59,6 +59,7 @@ class TransferFunction; enum class YUVToRGB { REC601, REC709, + REC2020, COUNT }; |
