summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/CameraClient.h
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2013-04-02 15:45:11 -0700
committerEino-Ville Talvala <etalvala@google.com>2013-04-17 15:01:08 -0700
commit3ee3550a2f529cbf56d87d8503f59a8f45dccf32 (patch)
tree99bf718ddc0429a1319523abaae975d3305face3 /services/camera/libcameraservice/CameraClient.h
parentd72ec85d1d0b92ed82927e3925f21912a659b799 (diff)
downloadframeworks_av-3ee3550a2f529cbf56d87d8503f59a8f45dccf32.zip
frameworks_av-3ee3550a2f529cbf56d87d8503f59a8f45dccf32.tar.gz
frameworks_av-3ee3550a2f529cbf56d87d8503f59a8f45dccf32.tar.bz2
Camera: Add preview callback surface support
- Add call to set a preview callback surface - Implement support for HAL2/3 devices - Still need HAL1 implementation Change-Id: I0dc0bd72e43d871aa487858d1665c1efca633ffe
Diffstat (limited to 'services/camera/libcameraservice/CameraClient.h')
-rw-r--r--services/camera/libcameraservice/CameraClient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/CameraClient.h b/services/camera/libcameraservice/CameraClient.h
index 7f0cb29..abde75a 100644
--- a/services/camera/libcameraservice/CameraClient.h
+++ b/services/camera/libcameraservice/CameraClient.h
@@ -40,6 +40,8 @@ public:
virtual status_t setPreviewDisplay(const sp<Surface>& surface);
virtual status_t setPreviewTexture(const sp<IGraphicBufferProducer>& bufferProducer);
virtual void setPreviewCallbackFlag(int flag);
+ virtual status_t setPreviewCallbackTarget(
+ const sp<IGraphicBufferProducer>& callbackProducer);
virtual status_t startPreview();
virtual void stopPreview();
virtual bool previewEnabled();