summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/colour_conversion.cc2
-rw-r--r--src/colour_conversion.h1
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
};