diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-08-07 16:14:01 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-08-07 16:14:01 -0400 |
commit | f4481d9956fa8e3f3022bedaea07a37c02ad6b22 (patch) | |
tree | 5532df423a3cf74332f94a108e740eed70d4499f /options.h | |
parent | 1865067cbbb02c3bb5c27cee18d134cc19bbe0b3 (diff) | |
download | kd-forest-f4481d9956fa8e3f3022bedaea07a37c02ad6b22.tar.xz |
Support average selection.
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |