diff options
author | Emilian Peev <epeev@google.com> | 2017-11-13 16:03:44 +0000 |
---|---|---|
committer | Emilian Peev <epeev@google.com> | 2017-12-20 10:44:11 +0000 |
commit | e18057b42f1698f33f34d14e86a53934bd337bb8 (patch) | |
tree | a5c56e72bd99d5eded5d585460f6bc07b5b1a508 /camera/device/3.2/default/CameraDeviceSession.h | |
parent | 220d98c193513c9f0a13e73379a6665b65ce4ee2 (diff) |
Camera: Bump device version to 3.4
Camera devices supporting version 3.4 will be able to receive
session parameters during the stream configuration phase.
Bug: 64450664
Test: Camera CTS
run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO
Change-Id: Ifd83bfe0e512fe75b63602b4aba98f4cc1cdeb53
Diffstat (limited to 'camera/device/3.2/default/CameraDeviceSession.h')
-rw-r--r-- | camera/device/3.2/default/CameraDeviceSession.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/camera/device/3.2/default/CameraDeviceSession.h b/camera/device/3.2/default/CameraDeviceSession.h index 69e2e2c802..c5a63c8929 100644 --- a/camera/device/3.2/default/CameraDeviceSession.h +++ b/camera/device/3.2/default/CameraDeviceSession.h @@ -112,6 +112,12 @@ protected: Return<Status> flush(); Return<void> close(); + //Helper methods + bool preProcessConfigurationLocked(const StreamConfiguration& requestedConfiguration, + camera3_stream_configuration_t *stream_list /*out*/, + hidl_vec<camera3_stream_t*> *streams /*out*/); + void postProcessConfigurationLocked(const StreamConfiguration& requestedConfiguration); + protected: // protecting mClosed/mDisconnected/mInitFail |