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

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri Jul 24 15:43:17 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 option to exit capture loop after n frames

 src/cam/capture.cpp | 25 ++++++++++++++++++++-----
 src/cam/capture.h   |  7 +++++--
 src/cam/main.cpp    | 19 ++++++++++++++++++-
 src/cam/main.h      |  2 ++
 4 files changed, 45 insertions(+), 8 deletions(-)

-- 
2.27.0



More information about the libcamera-devel mailing list