[RFC PATCH v1 00/12] apps: lc-compliance: Multi-stream tests
Barnabás Pőcze
pobrn at protonmail.com
Fri Dec 20 16:08:03 CET 2024
This changeset adds multi-stream tests based on the last two commits of
https://patchwork.libcamera.org/project/libcamera/list/?series=4234
Similarly, only the last two commits here deal with multi-stream
tests directly. Most other changes are non-functional changes.
But notably, the libevent dependency of lc-compliance was removed
because it can be easily replace with C++ STL parts, and its use
was prone to race conditions.
One notable difference compared to the last patch of the aforementioned
series is that no new test is created, the current tests are kept
and are simply run with multiple streams.
Barnabás Pőcze (12):
apps: lc-compliance: Initialize `CameraManager` pointer in
`Environment`
apps: lc-compliance: Put tests into anonymous namespace
apps: lc-compliance: Optimize `std::shared_ptr` usage
apps: lc-compliance: Remove redundant getter call
apps: lc-compliance: Don't allocate `FrameBufferAllocator` dynamically
apps: lc-compliance: Use `std::vector` for argument array
apps: lc-compliance: Use array instead of `std::vector`
apps: lc-compliance: Remove libevent dependency
apps: lc-compliance: Check number of buffers in allocator
apps: lc-compliance: Move request creation into common function
apps: lc-compliance: Support multiple streams in helpers
apps: lc-compliance: Add multi-stream tests
README.rst | 2 +-
src/apps/lc-compliance/environment.h | 2 +-
src/apps/lc-compliance/helpers/capture.cpp | 157 +++++++++++-------
src/apps/lc-compliance/helpers/capture.h | 48 +++++-
src/apps/lc-compliance/main.cpp | 42 ++---
src/apps/lc-compliance/meson.build | 7 +-
src/apps/lc-compliance/tests/capture_test.cpp | 88 ++++++----
src/apps/meson.build | 5 -
8 files changed, 209 insertions(+), 142 deletions(-)
--
2.47.1
More information about the libcamera-devel
mailing list