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

Niklas Söderlund niklas.soderlund at ragnatech.se
Mon Feb 8 11:21:35 CET 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. All known issues are however either fixed or have 
patches on ML to address them.

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.

Niklas Söderlund (2):
  lc-compliance: Add a libcamera compliance tool
  lc-compliance: Add test stopping single stream with requests queued

 src/lc-compliance/main.cpp           | 139 ++++++++++++++++++
 src/lc-compliance/meson.build        |  25 ++++
 src/lc-compliance/results.cpp        |  75 ++++++++++
 src/lc-compliance/results.h          |  45 ++++++
 src/lc-compliance/simple_capture.cpp | 208 +++++++++++++++++++++++++++
 src/lc-compliance/simple_capture.h   |  68 +++++++++
 src/lc-compliance/single_stream.cpp  |  98 +++++++++++++
 src/lc-compliance/tests.h            |  16 +++
 src/meson.build                      |   2 +
 9 files changed, 676 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.30.0



More information about the libcamera-devel mailing list