summaryrefslogtreecommitdiffstats
path: root/include/camera
diff options
context:
space:
mode:
Diffstat (limited to 'include/camera')
-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;