aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_desaturate_double.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-22 10:24:16 +0100
committerMattias Andrée <maandree@kth.se>2023-01-22 10:24:16 +0100
commitd841746c85eeef41ae0e08c63066915ead327e43 (patch)
tree2379bf1ec52ca70a93156905e219ab5a4aeff488 /libglitter_desaturate_double.c
parentm (diff)
downloadlibglitter-d841746c85eeef41ae0e08c63066915ead327e43.tar.gz
libglitter-d841746c85eeef41ae0e08c63066915ead327e43.tar.bz2
libglitter-d841746c85eeef41ae0e08c63066915ead327e43.tar.xz
m + add CIE XYZ support + add libglitter_per_channel_desaturate_{double,float}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libglitter_desaturate_double.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglitter_desaturate_double.c b/libglitter_desaturate_double.c
index 62eaa3a..43fc990 100644
--- a/libglitter_desaturate_double.c
+++ b/libglitter_desaturate_double.c
@@ -9,7 +9,7 @@
void
libglitter_desaturate_double(double **rasters, size_t nrasters, size_t rowsize, size_t cellsize,
- size_t width, size_t height, double saturation, const double *primary_ys)
+ size_t width, size_t height, double saturation, const double *restrict primary_ys)
{
size_t y, x, ch, raster_y, raster_i;
double intensity;