summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-08-07 16:14:01 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-08-07 16:14:01 -0400
commitf4481d9956fa8e3f3022bedaea07a37c02ad6b22 (patch)
tree5532df423a3cf74332f94a108e740eed70d4499f /options.h
parent1865067cbbb02c3bb5c27cee18d134cc19bbe0b3 (diff)
downloadkd-forest-f4481d9956fa8e3f3022bedaea07a37c02ad6b22.tar.xz
Support average selection.
Diffstat (limited to 'options.h')
-rw-r--r--options.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/options.h b/options.h
index 6f1b2f8..fe996f7 100644
--- a/options.h
+++ b/options.h
@@ -21,6 +21,12 @@ typedef enum {
MODE_RANDOM,
} mode_t;
+// Possible pixel selection modes
+typedef enum {
+ SELECTION_MIN,
+ SELECTION_MEAN,
+} selection_t;
+
// Possible color spaces
typedef enum {
COLOR_SPACE_RGB,
@@ -32,6 +38,7 @@ typedef enum {
typedef struct {
unsigned int bit_depth;
mode_t mode;
+ selection_t selection;
color_space_t color_space;
bool animate;
const char *filename;