aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_per_channel_desaturate_double.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-22 11:32:39 +0100
committerMattias Andrée <maandree@kth.se>2023-01-22 11:32:50 +0100
commitbd0da30a3d8a92baff536ecc1c7c2e36ea1b419d (patch)
treecd064cac67ae8f4759457765275e6714f583ed22 /libglitter_per_channel_desaturate_double.c
parentm + add CIE XYZ support + add libglitter_per_channel_desaturate_{double,float} (diff)
downloadlibglitter-bd0da30a3d8a92baff536ecc1c7c2e36ea1b419d.tar.gz
libglitter-bd0da30a3d8a92baff536ecc1c7c2e36ea1b419d.tar.bz2
libglitter-bd0da30a3d8a92baff536ecc1c7c2e36ea1b419d.tar.xz
m + add libglitter_colour_space_convert_rasters_{double,float}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libglitter_per_channel_desaturate_double.c')
-rw-r--r--libglitter_per_channel_desaturate_double.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglitter_per_channel_desaturate_double.c b/libglitter_per_channel_desaturate_double.c
index 8561708..04edbf3 100644
--- a/libglitter_per_channel_desaturate_double.c
+++ b/libglitter_per_channel_desaturate_double.c
@@ -8,9 +8,9 @@
void
-libglitter_per_channel_desaturate_double(double **rasters, size_t nrasters, size_t rowsize,
- size_t cellsize, size_t width, size_t height,
- const double *saturations, const double *primary_ys)
+libglitter_per_channel_desaturate_double(double **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)
{
size_t y, x, ch, raster_y, raster_i;
double intensity;