summaryrefslogtreecommitdiff
path: root/common/hal/google_camera_hal/capture_session_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/hal/google_camera_hal/capture_session_utils.h')
-rw-r--r--common/hal/google_camera_hal/capture_session_utils.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/hal/google_camera_hal/capture_session_utils.h b/common/hal/google_camera_hal/capture_session_utils.h
index f77c553..e544276 100644
--- a/common/hal/google_camera_hal/capture_session_utils.h
+++ b/common/hal/google_camera_hal/capture_session_utils.h
@@ -37,8 +37,9 @@ using StreamConfigSupportedFunc =
using CaptureSessionCreateFunc = std::function<std::unique_ptr<CaptureSession>(
CameraDeviceSessionHwl* device_session_hwl,
const StreamConfiguration& stream_config,
- ProcessCaptureResultFunc process_capture_result, NotifyFunc notify,
- HwlSessionCallback session_callback,
+ ProcessCaptureResultFunc process_capture_result,
+ ProcessBatchCaptureResultFunc process_capture_batch_result,
+ NotifyFunc notify, HwlSessionCallback session_callback,
std::vector<HalStream>* hal_configured_streams,
CameraBufferAllocatorHwl* camera_allocator_hwl)>;
@@ -82,7 +83,8 @@ std::unique_ptr<CaptureSession> CreateCaptureSession(
CameraBufferAllocatorHwl* camera_buffer_allocator_hwl,
CameraDeviceSessionHwl* camera_device_session_hwl,
std::vector<HalStream>* hal_config,
- ProcessCaptureResultFunc process_capture_result, NotifyFunc notify);
+ ProcessCaptureResultFunc process_capture_result, NotifyFunc notify,
+ ProcessBatchCaptureResultFunc process_batch_capture_result = nullptr);
} // namespace google_camera_hal
} // namespace android