From patchwork Mon Mar 25 23:47:33 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: 792 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 D427E6110D for ; Tue, 26 Mar 2019 00:47:46 +0100 (CET) X-Halon-ID: 6051fdef-4f58-11e9-846a-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 6051fdef-4f58-11e9-846a-005056917a89; Tue, 26 Mar 2019 00:47:42 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Tue, 26 Mar 2019 00:47:33 +0100 Message-Id: <20190325234736.12533-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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: Mon, 25 Mar 2019 23:47:47 -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. 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 | 56 +++++++++++++++++++++++++++++++++------------ src/cam/options.h | 23 +++++++++++++++---- 2 files changed, 61 insertions(+), 18 deletions(-)