remove unused/unexported API to access internal matrices
authorØyvind Kolås <pippin@gimp.org>
Wed, 12 Jun 2019 13:31:47 +0000 (15:31 +0200)
committerØyvind Kolås <pippin@gimp.org>
Wed, 12 Jun 2019 13:31:47 +0000 (15:31 +0200)
babl/babl-space.c
babl/babl.h

index da6ac67bdf173b0ec126d2ca3cd35848cdbb1ec9..10eb04544538719107c642151d5a025e50f4c676 100644 (file)
@@ -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,
index bba5873e953a72c5bfda8af7857b431c44fdd226..d5741d2bb91f24f3116fc48ff9801594fb331cd4 100644 (file)
@@ -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