summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/camera2/CaptureSequencer.h
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2012-10-02 13:30:28 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-04 16:31:05 -0700
commit4865c526e681366481b0ab242ffa1ead57bb02cc (patch)
tree1a9d2465bbd037a7d7bbc657cc44295363632fed /services/camera/libcameraservice/camera2/CaptureSequencer.h
parent9942f62d6a5ee0a65da751b681217d3c4243cd89 (diff)
downloadframeworks_av-4865c526e681366481b0ab242ffa1ead57bb02cc.zip
frameworks_av-4865c526e681366481b0ab242ffa1ead57bb02cc.tar.gz
frameworks_av-4865c526e681366481b0ab242ffa1ead57bb02cc.tar.bz2
Camera2: Synchronize mode changes and triggers
Make sure that changes to various parameters have reached the HAL before triggering asynchronous events like autofocus or precapture metering. Bug: 7107220 Change-Id: I3c50038de1671968eb32004ce538435121934e7e
Diffstat (limited to 'services/camera/libcameraservice/camera2/CaptureSequencer.h')
-rw-r--r--services/camera/libcameraservice/camera2/CaptureSequencer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/camera2/CaptureSequencer.h b/services/camera/libcameraservice/camera2/CaptureSequencer.h
index 27f3f1c..07e4c01 100644
--- a/services/camera/libcameraservice/camera2/CaptureSequencer.h
+++ b/services/camera/libcameraservice/camera2/CaptureSequencer.h
@@ -57,7 +57,7 @@ class CaptureSequencer:
void notifyAutoExposure(uint8_t newState, int triggerId);
// Notifications from the frame processor
- virtual void onFrameAvailable(int32_t frameId, CameraMetadata &frame);
+ virtual void onFrameAvailable(int32_t frameId, const CameraMetadata &frame);
// Notifications from the JPEG processor
void onCaptureAvailable(nsecs_t timestamp, sp<MemoryBase> captureBuffer);