summaryrefslogtreecommitdiff
path: root/common/hal/google_camera_hal/basic_result_processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/hal/google_camera_hal/basic_result_processor.h')
-rw-r--r--common/hal/google_camera_hal/basic_result_processor.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/common/hal/google_camera_hal/basic_result_processor.h b/common/hal/google_camera_hal/basic_result_processor.h
index f263807..2fa1e3b 100644
--- a/common/hal/google_camera_hal/basic_result_processor.h
+++ b/common/hal/google_camera_hal/basic_result_processor.h
@@ -17,6 +17,8 @@
#ifndef HARDWARE_GOOGLE_CAMERA_HAL_GOOGLE_CAMERA_HAL_BASIC_RESULT_PROCESSOR_H_
#define HARDWARE_GOOGLE_CAMERA_HAL_GOOGLE_CAMERA_HAL_BASIC_RESULT_PROCESSOR_H_
+#include <vector>
+
#include "result_processor.h"
namespace android {
@@ -31,8 +33,9 @@ class BasicResultProcessor : public ResultProcessor {
virtual ~BasicResultProcessor();
// Override functions of ResultProcessor start.
- void SetResultCallback(ProcessCaptureResultFunc process_capture_result,
- NotifyFunc notify) override;
+ void SetResultCallback(
+ ProcessCaptureResultFunc process_capture_result, NotifyFunc notify,
+ ProcessBatchCaptureResultFunc process_batch_capture_result) override;
status_t AddPendingRequests(
const std::vector<ProcessBlockRequest>& process_block_requests,
@@ -40,6 +43,8 @@ class BasicResultProcessor : public ResultProcessor {
void ProcessResult(ProcessBlockResult block_result) override;
+ void ProcessBatchResult(std::vector<ProcessBlockResult> block_results) override;
+
void Notify(const ProcessBlockNotifyMessage& block_message) override;
status_t FlushPendingRequests() override;
@@ -53,6 +58,7 @@ class BasicResultProcessor : public ResultProcessor {
// The following callbacks must be protected by callback_lock_.
ProcessCaptureResultFunc process_capture_result_;
+ ProcessBatchCaptureResultFunc process_batch_capture_result_;
NotifyFunc notify_;
};