[libcamera-devel] [PATCH v2 0/8] cam: add --format option to configure a stream
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri Feb 1 00:47:13 CET 2019
Hello,
This series is a rework of Niklas' previous series of the same name. It
adds a new key=value parser and integrates it in the cam utility
OptionsParser, and extend the cam utility to set stream format.
Compared to v1 the options parser has been extended with a variant
OptionValue type that integrates with the new key=value parser. Please
see individual patches for details.
The series depends on [1] for 6/6 which needs the stream API in the
camera object to actually set the requested format.
[1] [PATCH v3 0/6] libcamera: add basic support for streams and format
configuration
Laurent Pinchart (3):
cam: options: Move struct Option
cam: options: Store options in a list instead of a vector
cam: options: Add option type handling to options parser
Niklas Söderlund (5):
cam: options: Move enum OptionArgument
cam: options: Create a template class for options
cam: options: Return whether addOption() succeeds or not
cam: options: Add a key=value parser
cam: Add --format option to configure a stream
src/cam/main.cpp | 114 +++++++++++---
src/cam/options.cpp | 354 ++++++++++++++++++++++++++++++++++++++++----
src/cam/options.h | 121 +++++++++++----
3 files changed, 517 insertions(+), 72 deletions(-)
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list