[libcamera-devel] [PATCH v5 0/2] lc-compliance: Add a libcamera compliance tool

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri Apr 9 17:00:35 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 (2):
  lc-compliance: Add a libcamera compliance tool
  lc-compliance: Add test stopping single stream with requests queued

 meson.build                          |   1 +
 meson_options.txt                    |   5 +
 src/lc-compliance/main.cpp           | 148 ++++++++++++++++++
 src/lc-compliance/meson.build        |  27 ++++
 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                      |   2 +
 11 files changed, 700 insertions(+)
 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