diff options
author | Igor Murashkin <iam@google.com> | 2013-02-20 19:15:15 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-02-22 10:50:14 -0800 |
commit | 76f8b43909817179b317880202360863b8f976d0 (patch) | |
tree | 2d845b0c60925c6af6d77ec167366140e4843ea6 /include | |
parent | 3261fd3f1d8f798fab2f1b3efaa92d5a35cd42e7 (diff) | |
download | frameworks_av-76f8b43909817179b317880202360863b8f976d0.zip frameworks_av-76f8b43909817179b317880202360863b8f976d0.tar.gz frameworks_av-76f8b43909817179b317880202360863b8f976d0.tar.bz2 |
Camera: Change ProCamera to take IGraphicBufferProducer
Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d
Diffstat (limited to 'include')
-rw-r--r-- | include/camera/IProCameraUser.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/camera/IProCameraUser.h b/include/camera/IProCameraUser.h index 3ef4676..a141769 100644 --- a/include/camera/IProCameraUser.h +++ b/include/camera/IProCameraUser.h @@ -63,10 +63,11 @@ public: virtual status_t requestStream(int streamId) = 0; virtual status_t cancelStream(int streamId) = 0; - virtual status_t createStream(int width, int height, int format, - const sp<Surface>& surface, - /*out*/ - int* streamId) = 0; + virtual status_t createStream( + int width, int height, int format, + const sp<IGraphicBufferProducer>& bufferProducer, + /*out*/ + int* streamId) = 0; // Create a request object from a template. virtual status_t createDefaultRequest(int templateId, |