commit | d5cd5ffe3ada6b71818d9957bd7ca68b10e54268 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Oct 01 14:43:04 2018 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Thu Nov 08 10:32:30 2018 -0800 |
tree | 453088b96fa46fd9e8a43154add309a36456db12 | |
parent | 0b28757873bdd37a537d7d820408d6bf98e6c35a [diff] [blame] |
Camera: implement buffer managment API Test: compile Bug: 109829698 Change-Id: I3d95792282da52db9db6fd6a086bbd7b3ff9dca9
diff --git a/services/camera/libcameraservice/device3/Camera3StreamInterface.h b/services/camera/libcameraservice/device3/Camera3StreamInterface.h index 5758ac8..866b722 100644 --- a/services/camera/libcameraservice/device3/Camera3StreamInterface.h +++ b/services/camera/libcameraservice/device3/Camera3StreamInterface.h
@@ -289,6 +289,11 @@ */ virtual bool hasOutstandingBuffers() const = 0; + /** + * Get number of buffers currently handed out to HAL + */ + virtual size_t getOutstandingBuffersCount() const = 0; + enum { TIMEOUT_NEVER = -1 };