[libcamera-devel] [PATCH v2 0/3] cam: options: Add support for repeatable options

Niklas Söderlund niklas.soderlund at ragnatech.se
Wed Mar 27 01:21:04 CET 2019


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(-)

-- 
2.21.0



More information about the libcamera-devel mailing list