[babl] babl: remove commented out debug printfs



commit 394b727d96731fc26dedd724c31c5f11d70896a0
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue Sep 19 16:02:22 2017 +0200

    babl: remove commented out debug printfs

 babl/babl-space.c |   33 ---------------------------------
 1 files changed, 0 insertions(+), 33 deletions(-)
---
diff --git a/babl/babl-space.c b/babl/babl-space.c
index d00f649..2ffd1de 100644
--- a/babl/babl-space.c
+++ b/babl/babl-space.c
@@ -167,13 +167,6 @@ static void babl_matrix_equalize (double *in_mat)
   }
 }
 
-static void babl_matrix_equalize_inverse (double *in_mat, double *reference)
-{
-  /* NYI: but desirable, possible insuring that we are integer accurate in our
-          floating point computations..
-   */
-}
-
 static void babl_space_compute_matrices (BablSpace *space)
 {
 #define _ space->
@@ -206,35 +199,9 @@ static void babl_space_compute_matrices (BablSpace *space)
   babl_matrix_equalize (mat);
 
   memcpy (space->RGBtoXYZ, mat, sizeof (mat));
-#if 0
-  {
-    int i;
-    fprintf (stderr, "\n%s RGBtoXYZ:\n", space->name);
-    for (i = 0; i < 9; i++)
-    {
-      fprintf (stderr, "%f ", mat[i]);
-      if (i%3 == 2)
-        fprintf (stderr, "\n");
-    }
-  }
-#endif
 
   babl_matrix_invert (mat, inv_mat);
 
-  babl_matrix_equalize_inverse (inv_mat, mat);
-#if 0
-  {
-    int i;
-    fprintf (stderr, "\n%s XYZtoRGB:\n", space->name);
-    for (i = 0; i < 9; i++)
-    {
-      fprintf (stderr, "%f ", mat[i]);
-      if (i%3 == 2)
-        fprintf (stderr, "\n");
-    }
-  }
-#endif
-
   memcpy (space->XYZtoRGB, inv_mat, sizeof (mat));
 
   babl_matrix_to_float (space->RGBtoXYZ, space->RGBtoXYZf);


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