aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_colour_model_convert_rasters_double.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-25 22:59:01 +0100
committerMattias Andrée <maandree@kth.se>2023-01-25 22:59:01 +0100
commitcd1558586a3ea5ac019b39831a135c2d488e405b (patch)
treeb73e7dfcfb107e850e536025f2c45223e0c8d6f6 /libglitter_colour_model_convert_rasters_double.c
parentImprove README (diff)
downloadlibglitter-cd1558586a3ea5ac019b39831a135c2d488e405b.tar.gz
libglitter-cd1558586a3ea5ac019b39831a135c2d488e405b.tar.bz2
libglitter-cd1558586a3ea5ac019b39831a135c2d488e405b.tar.xz
Add man pages + some minor fixes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libglitter_colour_model_convert_rasters_double.c (renamed from libglitter_colour_space_convert_rasters_double.c)6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglitter_colour_space_convert_rasters_double.c b/libglitter_colour_model_convert_rasters_double.c
index 8fa497e..143cd4e 100644
--- a/libglitter_colour_space_convert_rasters_double.c
+++ b/libglitter_colour_model_convert_rasters_double.c
@@ -30,7 +30,7 @@ multiply_nn(size_t n, double **outputs, size_t opos, const double **inputs, size
static void
multiply_nm(size_t n, size_t m, double **outputs /* m */, size_t opos, const double **inputs /* n */,
- size_t ipos, const double matrix[n][m], double buffer[n])
+ size_t ipos, const double matrix[m][n], double buffer[n])
{
size_t i, j;
for (j = 0; j < n; j++)
@@ -44,9 +44,9 @@ multiply_nm(size_t n, size_t m, double **outputs /* m */, size_t opos, const dou
void
-libglitter_colour_space_convert_rasters_double(size_t n, size_t m, double **outputs /* m */, const double **inputs /* n */,
+libglitter_colour_model_convert_rasters_double(size_t n, size_t m, double **outputs /* m */, const double **inputs /* n */,
size_t output_rowsize, size_t output_cellsize, size_t input_rowsize,
- size_t input_cellsize, size_t width, size_t height, const double matrix[n][m])
+ size_t input_cellsize, size_t width, size_t height, const double matrix[m][n])
{
size_t y, x, output_i, input_i, output_blanking, input_blanking;
double *buffer;