Camera2: Add a burst mode skeleton.
Bug: 6243944
Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
diff --git a/services/camera/libcameraservice/camera2/CaptureSequencer.h b/services/camera/libcameraservice/camera2/CaptureSequencer.h
index 0492a43..39ae079 100644
--- a/services/camera/libcameraservice/camera2/CaptureSequencer.h
+++ b/services/camera/libcameraservice/camera2/CaptureSequencer.h
@@ -33,6 +33,7 @@
namespace camera2 {
class ZslProcessor;
+class BurstCapture;
/**
* Manages the still image capture process for
@@ -96,6 +97,7 @@
wp<Camera2Client> mClient;
wp<ZslProcessor> mZslProcessor;
+ sp<BurstCapture> mBurstCapture;
enum CaptureState {
IDLE,
@@ -107,6 +109,8 @@
STANDARD_PRECAPTURE_WAIT,
STANDARD_CAPTURE,
STANDARD_CAPTURE_WAIT,
+ BURST_CAPTURE_START,
+ BURST_CAPTURE_WAIT,
DONE,
ERROR,
NUM_CAPTURE_STATES
@@ -140,6 +144,9 @@
CaptureState manageStandardCapture(sp<Camera2Client> &client);
CaptureState manageStandardCaptureWait(sp<Camera2Client> &client);
+ CaptureState manageBurstCaptureStart(sp<Camera2Client> &client);
+ CaptureState manageBurstCaptureWait(sp<Camera2Client> &client);
+
CaptureState manageDone(sp<Camera2Client> &client);
// Utility methods