From patchwork Wed Mar 27 00:21:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 817 Return-Path: Received: from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net [195.74.38.228]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 457B7610B6 for ; Wed, 27 Mar 2019 01:21:22 +0100 (CET) X-Halon-ID: 343da580-5026-11e9-8144-0050569116f7 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 343da580-5026-11e9-8144-0050569116f7; Wed, 27 Mar 2019 01:21:08 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Wed, 27 Mar 2019 01:21:04 +0100 Message-Id: <20190327002107.24487-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/3] cam: options: Add support for repeatable options X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2019 00:21:22 -0000 Hi, This series extends the option parser for the cam tool to support repeatable options. This will be needed to extend the tool to support multiple streams. This was posted earlier as a RFC that included a fourth patch to make use of the new interface in the cam utility. That patch was incomplete and did not fully add multiple stream support to the cam tool and is therefor dropped in this non-RFC series which is intended to be merged All patches have review tags but as there was some debate in v1 I post v2 and let it stew for a day or two before pushing it in case someone have additional comment. Niklas Söderlund (3): cam: options: Create separate enum for OptionValue types cam: options: Add an array data type to OptionValue cam: options: Add support for repeatable options src/cam/options.cpp | 59 ++++++++++++++++++++++++++++++++++----------- src/cam/options.h | 23 +++++++++++++++--- 2 files changed, 64 insertions(+), 18 deletions(-)