aboutsummaryrefslogtreecommitdiffstats
path: root/src/output.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-11 20:28:28 +0200
committerMattias Andrée <maandree@kth.se>2016-07-11 20:28:28 +0200
commit564cbb378e1480ff736a14c832d39fe6db9f7891 (patch)
tree4f5e3377f21c173b6a7f72a11071fa8aa0637fd9 /src/output.h
parentAdd signal handlers (diff)
downloadcoopgammad-564cbb378e1480ff736a14c832d39fe6db9f7891.tar.gz
coopgammad-564cbb378e1480ff736a14c832d39fe6db9f7891.tar.bz2
coopgammad-564cbb378e1480ff736a14c832d39fe6db9f7891.tar.xz
whitespace + Add message.[ch]
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/output.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/output.h b/src/output.h
index 3e47da7..aa2ab8b 100644
--- a/src/output.h
+++ b/src/output.h
@@ -103,10 +103,32 @@ struct output
*/
union gamma_ramps saved_ramps;
+ /**
+ * The table of all applied filters
+ */
struct filter* table_filters;
+
+ /**
+ * `.table_sums[i]` is the resulting
+ * adjustment made when all filter
+ * from `.table_filters[0]` up to and
+ * including `.table_filters[i]` has
+ * been applied
+ */
union gamma_ramps* table_sums;
+
+ /**
+ * The number of elements allocated
+ * for `.table_filters` and for `.table_sums`
+ */
size_t table_alloc;
+
+ /**
+ * The number of elements stored in
+ * `.table_filters` and in `.table_sums`
+ */
size_t table_size;
+
};