summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorNicolas Schodet2019-11-10 13:53:08 +0100
committerNicolas Schodet2019-11-14 00:41:59 +0100
commit1bdf71f47e5f9f75308c5fef664814c2c125f305 (patch)
treeb60fa6352cff7864d0474c24dab049d000818216 /options.h
parent4832457478133cd9610a17070b07d1abbdd45443 (diff)
Rework device API, drop raw output
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;
};