summaryrefslogtreecommitdiffstats
path: root/camera/camera2
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2015-06-01 15:44:31 -0700
committerZhijun He <zhijunhe@google.com>2015-06-03 20:22:06 -0700
commit1fa8999c91d5df81949aa723000058380cd3faa2 (patch)
tree3ebf10fd408c34bc35108c24df5ccbd02e2153eb /camera/camera2
parent4170eeec0a2dc2a9543b7e4674a43b3d2faac61d (diff)
downloadframeworks_av-1fa8999c91d5df81949aa723000058380cd3faa2.zip
frameworks_av-1fa8999c91d5df81949aa723000058380cd3faa2.tar.gz
frameworks_av-1fa8999c91d5df81949aa723000058380cd3faa2.tar.bz2
Camera2: implement high speed video APIs
Bug: 21442271 Change-Id: Ia0ae5bbd3e8c81bad293c29987301a2457817d12
Diffstat (limited to 'camera/camera2')
-rw-r--r--camera/camera2/ICameraDeviceUser.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/camera/camera2/ICameraDeviceUser.cpp b/camera/camera2/ICameraDeviceUser.cpp
index 9700258..a7549f2 100644
--- a/camera/camera2/ICameraDeviceUser.cpp
+++ b/camera/camera2/ICameraDeviceUser.cpp
@@ -190,11 +190,13 @@ public:
return reply.readInt32();
}
- virtual status_t endConfigure()
+ virtual status_t endConfigure(bool isConstrainedHighSpeed)
{
ALOGV("endConfigure");
Parcel data, reply;
data.writeInterfaceToken(ICameraDeviceUser::getInterfaceDescriptor());
+ data.writeInt32(isConstrainedHighSpeed);
+
remote()->transact(END_CONFIGURE, data, &reply);
reply.readExceptionCode();
return reply.readInt32();
@@ -556,8 +558,9 @@ status_t BnCameraDeviceUser::onTransact(
} break;
case END_CONFIGURE: {
CHECK_INTERFACE(ICameraDeviceUser, data, reply);
+ bool isConstrainedHighSpeed = data.readInt32();
reply->writeNoException();
- reply->writeInt32(endConfigure());
+ reply->writeInt32(endConfigure(isConstrainedHighSpeed));
return NO_ERROR;
} break;
case PREPARE: {