[babl] babl: predefine ACEScg and ACES2065-1 BablSpaces



commit 0512d08667aa81ab59357b7a399b12c78d07a092
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Jun 23 22:32:20 2018 +0200

    babl: predefine ACEScg and ACES2065-1 BablSpaces

 babl/babl-space.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
---
diff --git a/babl/babl-space.c b/babl/babl-space.c
index d601bb2..6d2415c 100644
--- a/babl/babl-space.c
+++ b/babl/babl-space.c
@@ -495,6 +495,23 @@ computations of uniform gray axis */
      0.1300,  0.0350,
      babl_trc("1.8"), NULL, NULL, 1);
 #endif
+
+  babl_space_from_chromaticities (
+     "ACEScg",
+      0.32168, 0.33767,
+      0.713, 0.293,
+      0.165, 0.830,
+      0.128, 0.044,
+      babl_trc("1.0"), NULL, NULL, 1);
+
+  babl_space_from_chromaticities (
+     "ACES2065-1",
+      0.32168, 0.33767,
+      0.7347, 0.2653,
+      0.0000, 1.0000,
+      0.0001, -0.0770,
+      babl_trc("1.0"), NULL, NULL, 1);
+
 }
 
 void babl_space_to_xyz (const Babl *space, const double *rgb, double *xyz)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]