summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-07-17 16:53:58 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-17 16:54:04 +0000
commit48e5df72f8a7fdcf6278fc395376fbaf98444a43 (patch)
tree890ff786d667f8a2c9c06a95767cf070fced6d32 /include
parent9febc8a664d25eaa699134682aa455ab4d7f62a2 (diff)
parentb25e3c87724b6147ed1da7c1d6617c39bfce2fbf (diff)
downloadframeworks_av-48e5df72f8a7fdcf6278fc395376fbaf98444a43.zip
frameworks_av-48e5df72f8a7fdcf6278fc395376fbaf98444a43.tar.gz
frameworks_av-48e5df72f8a7fdcf6278fc395376fbaf98444a43.tar.bz2
Merge "Camera: Add hidden experimental tearDown method." into mnc-dev
Diffstat (limited to 'include')
-rw-r--r--include/camera/camera2/ICameraDeviceUser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/camera/camera2/ICameraDeviceUser.h b/include/camera/camera2/ICameraDeviceUser.h
index b3dd140..a7bf8ab 100644
--- a/include/camera/camera2/ICameraDeviceUser.h
+++ b/include/camera/camera2/ICameraDeviceUser.h
@@ -138,6 +138,12 @@ public:
* Preallocate buffers for a given output stream asynchronously.
*/
virtual status_t prepare(int streamId) = 0;
+
+ /**
+ * Free all unused buffers for a given output stream.
+ */
+ virtual status_t tearDown(int streamId) = 0;
+
};
// ----------------------------------------------------------------------------