summaryrefslogtreecommitdiff
path: root/src/apps/lc-compliance/helpers/capture.h
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2024-12-20 11:09:24 +0100
committerBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-04-15 09:54:18 +0200
commit13cca98046d79d957ccef3420ac198891e7468d1 (patch)
tree7e7194aedc4303311382177de7c731296cd428c5 /src/apps/lc-compliance/helpers/capture.h
parent886f877dd39d3c7baec9d7a8b99c804e05aed598 (diff)
apps: lc-compliance: Support multiple streams in helpers
Prepare to add a test suite for capture operations with multiple streams. Modify the Capture helper class to support multiple roles and streams in the configure() and capture() operations. The buffer count of each stream is asserted to be the same. Multi-stream support will be added in next patches. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/apps/lc-compliance/helpers/capture.h')
-rw-r--r--src/apps/lc-compliance/helpers/capture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/lc-compliance/helpers/capture.h b/src/apps/lc-compliance/helpers/capture.h
index 0e7b848f..ea01c11c 100644
--- a/src/apps/lc-compliance/helpers/capture.h
+++ b/src/apps/lc-compliance/helpers/capture.h
@@ -20,7 +20,7 @@ public:
Capture(std::shared_ptr<libcamera::Camera> camera);
~Capture();
- void configure(libcamera::StreamRole role);
+ void configure(libcamera::Span<const libcamera::StreamRole> roles);
void run(unsigned int captureLimit, std::optional<unsigned int> queueLimit = {});
private: