aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_per_channel_desaturate_double.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libglitter_per_channel_desaturate_double.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libglitter_per_channel_desaturate_double.c b/libglitter_per_channel_desaturate_double.c
index a9bafb9..85282b6 100644
--- a/libglitter_per_channel_desaturate_double.c
+++ b/libglitter_per_channel_desaturate_double.c
@@ -3,13 +3,8 @@
#ifndef TEST
-#if defined(__GNUC__) && !defined(__clang__)
-# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"
-#endif
-
-
void
-libglitter_per_channel_desaturate_double(double **rasters, size_t nrasters, size_t rowsize, size_t cellsize,
+libglitter_per_channel_desaturate_double(double *restrict *rasters, size_t nrasters, size_t rowsize, size_t cellsize,
size_t width, size_t height, const double *restrict saturations,
const double *restrict primary_ys)
{
@@ -54,7 +49,6 @@ libglitter_per_channel_desaturate_double(double **rasters, size_t nrasters, size
#define TOLERANCE 0.0001
-#define TOL 4
#define RY 0.212673370378408277403536885686
#define GY 0.715151730491031756287156895269