[libcamera-devel] [PATCH v3 0/3] cam: Add options to make batch testing with cam easier

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri Jul 24 21:18:48 CEST 2020


Hi,

As we lack a compliance tool that is easy to run on target I had the
need to extant cam to be able to be run in a batch fashion to be able to
test different stream configurations.

The changes turn out to be small and I think they bring value to cam
even if we later do add a compliance tool.

Niklas Söderlund (3):
  cam: Add option to disallow adjusting of requested formats
  cam: capture: Cache the EventLoop handler
  cam: Add optional argument to --capture to specify how many frames to
    capture

 src/cam/capture.cpp | 29 ++++++++++++++++++++++-------
 src/cam/capture.h   | 12 ++++++++----
 src/cam/main.cpp    | 26 +++++++++++++++++++++-----
 src/cam/main.h      |  1 +
 4 files changed, 52 insertions(+), 16 deletions(-)

-- 
2.27.0



More information about the libcamera-devel mailing list