commit | 4d44cad22ea925a651463f2d51d6586c14d4b787 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Sat Apr 11 13:15:45 2015 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Wed Apr 15 10:51:33 2015 -0700 |
tree | 3e9fa49f6f98a8deee591f58054488ddc6e46505 | |
parent | 4123d6db0642cd13e69230705b12d6b6fee6f73f [diff] [blame] |
Camera2: Add prepare for output streams The prepare call asynchronously pre-allocates buffers for a given output stream, and then fires the onPrepared callback. Not implemented for Camera2Device or used in Camera2Client. Change-Id: I1cccdfff846dd6985133c591dbdceed823929ade
diff --git a/services/camera/libcameraservice/device3/Camera3InputStream.cpp b/services/camera/libcameraservice/device3/Camera3InputStream.cpp index fa97e57..84c5754 100644 --- a/services/camera/libcameraservice/device3/Camera3InputStream.cpp +++ b/services/camera/libcameraservice/device3/Camera3InputStream.cpp
@@ -275,7 +275,7 @@ return OK; } -status_t Camera3InputStream::getEndpointUsage(uint32_t *usage) { +status_t Camera3InputStream::getEndpointUsage(uint32_t *usage) const { // Per HAL3 spec, input streams have 0 for their initial usage field. *usage = 0; return OK;