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/Camera3DummyStream.cpp b/services/camera/libcameraservice/device3/Camera3DummyStream.cpp index 01edfff..ecb8ac8 100644 --- a/services/camera/libcameraservice/device3/Camera3DummyStream.cpp +++ b/services/camera/libcameraservice/device3/Camera3DummyStream.cpp
@@ -87,7 +87,7 @@ return OK; } -status_t Camera3DummyStream::getEndpointUsage(uint32_t *usage) { +status_t Camera3DummyStream::getEndpointUsage(uint32_t *usage) const { *usage = DUMMY_USAGE; return OK; }