[libcamera-devel] [RFC 0/4] cam: Extend to support configuration of multiple streams

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri Mar 22 02:53:45 CET 2019


Hi,

This RFC series is mainly focused on the extension of the option parser 
in patch 1/4 to 3/4. The last patch 4/4 is an example of its usage which 
takes a small step for the cam utility to allow handling more then one 
stream.

I do not expect to be able to merge 4/4 before it's adapted to proper 
handle full support for multiple streams. But for this to work the 
option parser needs to be extend, something which could be merged 
independently.

Niklas Söderlund (4):
  cam: options: Create own enum for OptionValue types
  cam: options: Add an array data type to OptionValue
  cam: options: Add parsing of multiple instances of the same option
  cam: Allow specifying configuration for more then one stream

 src/cam/main.cpp    | 39 ++++++++++++++++++++++++++----------
 src/cam/options.cpp | 49 ++++++++++++++++++++++++++++++++-------------
 src/cam/options.h   | 22 ++++++++++++++++----
 3 files changed, 81 insertions(+), 29 deletions(-)

-- 
2.21.0



More information about the libcamera-devel mailing list