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

Message ID 20190322015349.14934-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • cam: Extend to support configuration of multiple streams
Related show

Message

Niklas Söderlund March 22, 2019, 1:53 a.m. UTC
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(-)