[babl] remove unused/unexported API to access internal matrices



commit 3bb62d0eaa062ac8efef82dfc20ce6c7b8af3385
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Jun 12 15:31:47 2019 +0200

    remove unused/unexported API to access internal matrices

 babl/babl-space.c | 13 -------------
 babl/babl.h       |  8 --------
 2 files changed, 21 deletions(-)
---
diff --git a/babl/babl-space.c b/babl/babl-space.c
index da6ac67..10eb045 100644
--- a/babl/babl-space.c
+++ b/babl/babl-space.c
@@ -1218,19 +1218,6 @@ babl_space_is_cmyk (const Babl *space)
  * of Adobe Systems Incorporated in many countires.
  */
 
-const double *
-babl_space_get_RGBtoXYZ (const Babl *space)
-{
-   return &space->space.RGBtoXYZ[0];
-}
-
-const double *
-babl_space_get_XYZtoRGB (const Babl *space)
-{
-   return &space->space.XYZtoRGB[0];
-}
-
-
 void
 babl_space_get_rgb_luminance (const Babl *space,
                               double     *red_luminance,
diff --git a/babl/babl.h b/babl/babl.h
index bba5873..d5741d2 100644
--- a/babl/babl.h
+++ b/babl/babl.h
@@ -577,14 +577,6 @@ void babl_space_get (const Babl *space,
                      const Babl **green_trc,
                      const Babl **blue_trc);
 
-/* returns a pointer to the 9 element RGB to XYZ matrix */
-const double *
-babl_space_get_RGBtoXYZ (const Babl *space);
-
-/* returns a pointer to the 9 element XYZ to RGB matrix */
-const double *
-babl_space_get_XYZtoRGB (const Babl *space);
-
 /**
  * babl_space_get_rgb_luminance:
  * @space: a BablSpace


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