summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/device3/Camera3DummyStream.cpp
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-04-11 13:15:45 -0700
committerEino-Ville Talvala <etalvala@google.com>2015-04-15 10:51:33 -0700
commit4d44cad22ea925a651463f2d51d6586c14d4b787 (patch)
tree3e9fa49f6f98a8deee591f58054488ddc6e46505 /services/camera/libcameraservice/device3/Camera3DummyStream.cpp
parent4123d6db0642cd13e69230705b12d6b6fee6f73f (diff)
downloadframeworks_av-4d44cad22ea925a651463f2d51d6586c14d4b787.zip
frameworks_av-4d44cad22ea925a651463f2d51d6586c14d4b787.tar.gz
frameworks_av-4d44cad22ea925a651463f2d51d6586c14d4b787.tar.bz2
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
Diffstat (limited to 'services/camera/libcameraservice/device3/Camera3DummyStream.cpp')
-rw-r--r--services/camera/libcameraservice/device3/Camera3DummyStream.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ status_t Camera3DummyStream::disconnectLocked() {
return OK;
}
-status_t Camera3DummyStream::getEndpointUsage(uint32_t *usage) {
+status_t Camera3DummyStream::getEndpointUsage(uint32_t *usage) const {
*usage = DUMMY_USAGE;
return OK;
}