summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/device3/Camera3StreamInterface.h
diff options
context:
space:
mode:
authorChien-Yu Chen <cychen@google.com>2015-03-13 11:27:17 -0700
committerChien-Yu Chen <cychen@google.com>2015-04-13 17:25:36 -0700
commit618ff8a48a0c895a78f91f5692510c2a809425c3 (patch)
tree9473236e1e759aecf921b87e50302d933bae041d /services/camera/libcameraservice/device3/Camera3StreamInterface.h
parent25f82752942b1c78aec8ee303d61afff85cff9d1 (diff)
downloadframeworks_av-618ff8a48a0c895a78f91f5692510c2a809425c3.zip
frameworks_av-618ff8a48a0c895a78f91f5692510c2a809425c3.tar.gz
frameworks_av-618ff8a48a0c895a78f91f5692510c2a809425c3.tar.bz2
camera2: add reprocess support
Add support to create input stream, submit reprocess capture requests, and receive reprocess capture results. Change-Id: Iee2d4313f3d52616a484eaea7a28f5ef9d8a674b
Diffstat (limited to 'services/camera/libcameraservice/device3/Camera3StreamInterface.h')
-rw-r--r--services/camera/libcameraservice/device3/Camera3StreamInterface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/device3/Camera3StreamInterface.h b/services/camera/libcameraservice/device3/Camera3StreamInterface.h
index da989cd..ea90dd9 100644
--- a/services/camera/libcameraservice/device3/Camera3StreamInterface.h
+++ b/services/camera/libcameraservice/device3/Camera3StreamInterface.h
@@ -128,6 +128,13 @@ class Camera3StreamInterface : public virtual RefBase {
virtual status_t returnInputBuffer(const camera3_stream_buffer &buffer) = 0;
/**
+ * Get the buffer producer of the input buffer queue.
+ *
+ * This method only applies to input streams.
+ */
+ virtual status_t getInputBufferProducer(sp<IGraphicBufferProducer> *producer) = 0;
+
+ /**
* Whether any of the stream's buffers are currently in use by the HAL,
* including buffers that have been returned but not yet had their
* release fence signaled.