From: Øyvind Kolås Date: Sat, 23 Jun 2018 20:32:20 +0000 (+0200) Subject: babl: predefine ACEScg and ACES2065-1 BablSpaces X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~16^2~39 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0512d08667aa81ab59357b7a399b12c78d07a092;p=babl.git babl: predefine ACEScg and ACES2065-1 BablSpaces --- 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)