[libcamera-devel] [PATCH v2 0/5] {cam, qcam}: Unify stream option parsing
Niklas Söderlund
niklas.soderlund at ragnatech.se
Tue Apr 28 00:05:24 CEST 2020
Hi,
Prepare for allowing multiple streams in qcam by unifying the cam and
qcam command line options parsing for stream options. With this RAW
capture support can be added to qcam without first redesigning the whole
GUI to allow for individual stream configuration.
Also having the same options for cam and qcam to configure streams is a
good idea. As this series reveals some features where enabled in cam but
not in qcam.
Niklas Söderlund (5):
cam: options: Make KeyValueParser::parse() virtual
cam: options: Add public method to invalided options
cam: Add helper class to parse stream configuration
cam: Make use of StreamKeyValueParser
qcam: Make use of StreamKeyValueParser
src/cam/main.cpp | 69 ++-----------------
src/cam/meson.build | 1 +
src/cam/options.cpp | 6 ++
src/cam/options.h | 6 +-
src/cam/stream_options.cpp | 133 +++++++++++++++++++++++++++++++++++++
src/cam/stream_options.h | 32 +++++++++
src/qcam/main.cpp | 12 ++--
src/qcam/main_window.cpp | 35 +++++-----
src/qcam/main_window.h | 4 +-
src/qcam/meson.build | 1 +
10 files changed, 208 insertions(+), 91 deletions(-)
create mode 100644 src/cam/stream_options.cpp
create mode 100644 src/cam/stream_options.h
--
2.26.0
More information about the libcamera-devel
mailing list