[v4,0/2] apps: lc-compliance: Multi-stream tests
mbox series

Message ID 20250314174220.1015597-1-barnabas.pocze@ideasonboard.com
Headers show
Series
  • apps: lc-compliance: Multi-stream tests
Related show

Message

Barnabás Pőcze March 14, 2025, 5:42 p.m. UTC
This changeset adds multi-stream tests based on the last two commits of
https://patchwork.libcamera.org/project/libcamera/list/?series=4234

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.

Changes in v4:
 * some patches already merged: https://patchwork.libcamera.org/project/libcamera/list/?series=4978&state=3
 * simplify by requiring matching buffer count for all streams
 * drop exception handling related and dependent changes

Changes in v3:
 * propagate exceptions from deferred calls
 * cancel related deferred calls when capture session is stopped
 * make `EventLoop` a member of `Capture`
 * rename `CaptureUnbalanced` to `StopWithRequestsQueued`

Changes in v2:
 * add a couple small `EventLoop` changes
 * remove https://patchwork.libcamera.org/patch/22442/
 * merge `CaptureBalanced` and `CaptureUnbalanced`
 * run request completion handler in "main" thread

v3: https://patchwork.libcamera.org/project/libcamera/list/?series=4978
v2: https://patchwork.libcamera.org/project/libcamera/list/?series=4951
v1: https://patchwork.libcamera.org/project/libcamera/list/?series=4923

Barnabás Pőcze (2):
  apps: lc-compliance: Support multiple streams in helpers
  apps: lc-compliance: Add multi-stream tests

 src/apps/lc-compliance/helpers/capture.cpp    | 64 ++++++++++----
 src/apps/lc-compliance/helpers/capture.h      |  2 +-
 src/apps/lc-compliance/tests/capture_test.cpp | 88 +++++++++++--------
 3 files changed, 99 insertions(+), 55 deletions(-)

--
2.48.1