diff options
author | Igor Murashkin <iam@google.com> | 2013-02-28 11:21:00 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-02-28 16:25:55 -0800 |
commit | ba5ca4ee770fa0fe9e14990fd13b23f1010f5c98 (patch) | |
tree | 435f4462759de475b36d98f9f893fbfb8a8b7e41 /include/camera | |
parent | bfc9915f482520eb9676c6d2dbf7f1ac078d937d (diff) | |
download | frameworks_av-ba5ca4ee770fa0fe9e14990fd13b23f1010f5c98.zip frameworks_av-ba5ca4ee770fa0fe9e14990fd13b23f1010f5c98.tar.gz frameworks_av-ba5ca4ee770fa0fe9e14990fd13b23f1010f5c98.tar.bz2 |
ProCamera: Add CpuConsumer asynchronous mode support
Bug: 8290146
Bug: 8291751
Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
Diffstat (limited to 'include/camera')
-rw-r--r-- | include/camera/ProCamera.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/camera/ProCamera.h b/include/camera/ProCamera.h index e8dcdef..5d6cfaa 100644 --- a/include/camera/ProCamera.h +++ b/include/camera/ProCamera.h @@ -201,6 +201,12 @@ public: /*out*/ sp<CpuConsumer>* cpuConsumer, int* streamId); + status_t createStreamCpu(int width, int height, int format, + int heapCount, + bool synchronousMode, + /*out*/ + sp<CpuConsumer>* cpuConsumer, + int* streamId); // Create a request object from a template. status_t createDefaultRequest(int templateId, @@ -296,6 +302,7 @@ private: int streamID; bool cpuStream; sp<CpuConsumer> cpuConsumer; + bool synchronousMode; sp<ProFrameListener> frameAvailableListener; sp<Surface> stc; int frameReady; |