From 3bb62d0eaa062ac8efef82dfc20ce6c7b8af3385 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Wed, 12 Jun 2019 15:31:47 +0200 Subject: [PATCH] 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 -- 2.30.2