diff options
author | Igor Murashkin <iam@google.com> | 2013-02-21 12:02:29 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-02-22 10:50:15 -0800 |
commit | 418e493e8d67924cfda652cb64965647ce6381cb (patch) | |
tree | 639c98f3054f1aa618f1e3fa4f10f0c7a71fb9b1 /include/camera/IProCameraCallbacks.h | |
parent | 5076182ce4bf657e7211264d0ad3861212f24aa1 (diff) | |
download | frameworks_av-418e493e8d67924cfda652cb64965647ce6381cb.zip frameworks_av-418e493e8d67924cfda652cb64965647ce6381cb.tar.gz frameworks_av-418e493e8d67924cfda652cb64965647ce6381cb.tar.bz2 |
Camera: ProCamera - implement onResultReceived callback for metadata callbacks
Change-Id: I46775402b007244bc383d6343a620eebbd492aad
Diffstat (limited to 'include/camera/IProCameraCallbacks.h')
-rw-r--r-- | include/camera/IProCameraCallbacks.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/camera/IProCameraCallbacks.h b/include/camera/IProCameraCallbacks.h index e5be099..fc24026 100644 --- a/include/camera/IProCameraCallbacks.h +++ b/include/camera/IProCameraCallbacks.h @@ -24,6 +24,8 @@ #include <utils/Timers.h> #include <system/camera.h> +struct camera_metadata; + namespace android { class IProCameraCallbacks: public IInterface @@ -47,6 +49,11 @@ public: }; virtual void onLockStatusChanged(LockStatus newLockStatus) = 0; + + /** Missing by design: implementation is client-side in ProCamera.cpp **/ + // virtual void onBufferReceived(int streamId, + // const CpuConsumer::LockedBufer& buf); + virtual void onResultReceived(int32_t frameId, camera_metadata* result) = 0; }; // ---------------------------------------------------------------------------- |