From 1bdf71f47e5f9f75308c5fef664814c2c125f305 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 10 Nov 2019 13:53:08 +0100 Subject: Rework device API, drop raw output --- options.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'options.h') 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; }; -- cgit v1.2.3