summaryrefslogtreecommitdiff
path: root/src/lc-compliance/simple_capture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lc-compliance/simple_capture.h')
-rw-r--r--src/lc-compliance/simple_capture.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lc-compliance/simple_capture.h b/src/lc-compliance/simple_capture.h
index 3a6afc53..4693c134 100644
--- a/src/lc-compliance/simple_capture.h
+++ b/src/lc-compliance/simple_capture.h
@@ -51,4 +51,18 @@ private:
unsigned int captureLimit_;
};
+class SimpleCaptureUnbalanced : public SimpleCapture
+{
+public:
+ SimpleCaptureUnbalanced(std::shared_ptr<libcamera::Camera> camera);
+
+ Results::Result capture(unsigned int numRequests);
+
+private:
+ void requestComplete(libcamera::Request *request) override;
+
+ unsigned int captureCount_;
+ unsigned int captureLimit_;
+};
+
#endif /* __LC_COMPLIANCE_SIMPLE_CAPTURE_H__ */