[libcamera-devel] [PATCH v4 0/3] lc-compliance: Add a libcamera compliance tool

Niklas Söderlund niklas.soderlund at ragnatech.se
Mon Mar 29 19:02:47 CEST 2021


Hello,

This series adds a compliance tool to libcamera. It was developed out of
necessity while extending and debugging the IPU3 pipeline hander. Each
test in the tool so far have at one point triggered fatal issues in one
pipeline or another.

The tool is simple at the moment and only tests a single stream. As our
use-cases grow more complex I hope to find time to extend the tool to
cover more areas.

The tool also needs to grows a better structure for how to organize 
tests on file and selection to fit its execution environment. There are 
also many areas where the internal helpers can be refined. All in all 
this is an just a starting point that triggers some problems in our 
library that can be built upon and hopefully help us to avoid repeating 
the mistakes of our past.

Niklas Söderlund (3):
  meson: Move libevent dependency lookup
  lc-compliance: Add a libcamera compliance tool
  lc-compliance: Add test stopping single stream with requests queued

 src/cam/meson.build                  |   2 -
 src/lc-compliance/main.cpp           | 148 ++++++++++++++++++
 src/lc-compliance/meson.build        |  23 +++
 src/lc-compliance/results.cpp        |  75 ++++++++++
 src/lc-compliance/results.h          |  47 ++++++
 src/lc-compliance/simple_capture.cpp | 214 +++++++++++++++++++++++++++
 src/lc-compliance/simple_capture.h   |  68 +++++++++
 src/lc-compliance/single_stream.cpp  |  97 ++++++++++++
 src/lc-compliance/tests.h            |  16 ++
 src/meson.build                      |   4 +
 10 files changed, 692 insertions(+), 2 deletions(-)
 create mode 100644 src/lc-compliance/main.cpp
 create mode 100644 src/lc-compliance/meson.build
 create mode 100644 src/lc-compliance/results.cpp
 create mode 100644 src/lc-compliance/results.h
 create mode 100644 src/lc-compliance/simple_capture.cpp
 create mode 100644 src/lc-compliance/simple_capture.h
 create mode 100644 src/lc-compliance/single_stream.cpp
 create mode 100644 src/lc-compliance/tests.h

-- 
2.31.1



More information about the libcamera-devel mailing list