summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2013-02-28 11:21:00 -0800
committerIgor Murashkin <iam@google.com>2013-02-28 16:25:55 -0800
commitfb413768551ea8ba3af05efb9906e7e2348f2431 (patch)
tree86da75f59deea0393f167bd604a60f5acf0b028e /include
parent8fdfbe27acd157d58fa35a849ec50c82464062f0 (diff)
downloadframeworks_av-fb413768551ea8ba3af05efb9906e7e2348f2431.zip
frameworks_av-fb413768551ea8ba3af05efb9906e7e2348f2431.tar.gz
frameworks_av-fb413768551ea8ba3af05efb9906e7e2348f2431.tar.bz2
ProCamera: Add CpuConsumer asynchronous mode support
Bug: 8290146 Bug: 8291751 Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
Diffstat (limited to 'include')
-rw-r--r--include/camera/ProCamera.h7
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;