From: Øyvind Kolås Date: Wed, 12 Jun 2019 13:31:47 +0000 (+0200) Subject: remove unused/unexported API to access internal matrices X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~11^2~108 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3bb62d0eaa062ac8efef82dfc20ce6c7b8af3385;p=babl.git remove unused/unexported API to access internal matrices --- 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