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

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri Jul 24 19:48:24 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 | 25 ++++++++++++++++++++-----
 src/cam/capture.h   |  7 +++++--
 src/cam/main.cpp    | 22 +++++++++++++++++++---
 src/cam/main.h      |  1 +
 4 files changed, 45 insertions(+), 10 deletions(-)

-- 
2.27.0



More information about the libcamera-devel mailing list