summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options.h')
-rw-r--r--options.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/options.h b/options.h
index 5b85561..3cc0681 100644
--- a/options.h
+++ b/options.h
@@ -26,21 +26,19 @@
/* Runtime options. */
struct options {
- /* Image width. */
+ /* Image width, -1 for default. */
int width;
- /* Image height. */
+ /* Image height, -1 for default. */
int height;
- /* Exposure in ms. */
+ /* Exposure in ms, -1.0 for default. */
double exposure_ms;
- /* Digital gain after image acquisition. */
+ /* Digital gain after image acquisition, -1.0 for default. */
double gain;
/* When zero, run interactive mode, else number of frame to dump. */
int count;
- /* Dump raw image from sensor. Only used in dump mode. */
- bool raw;
/* Output file name or pattern, only used in dump mode. This should
- * include a printf like pattern (%d) used to name the files, unless raw
- * dump is requested. Only used in dump mode. */
+ * include a printf like pattern (%d) used to name the files. Only used in
+ * dump mode. */
const char *out;
};