commit | 330d1c2728c5ebdeb8116b4e2a36743dc1571a7c | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Tue Jul 30 11:58:41 2019 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Thu Aug 15 17:25:21 2019 -0700 |
tree | 46c4d6d3008ae8d515c4eac1f1d9fabe5ec0870e | |
parent | f8b0b7ab0177ac2d6d39d94534b186d49723da4f [diff] |
Implement camera parameter set/get methods This change implements methods to set and get camera parameters including the brightness and the contrast of video frames. EVS manager allows that multiple applications subscribe to a single camera stream and, to avoid any conflicted requests to modify camera parameters, only a master client to change parameters. A EVS client can request to become a master client and it will be the only master client until either it dies or explicitly gives it up. EVS manager will decline any request to be a master if there is already an active master client. When a master client changes a camera parameter, EVS service will notify all active clients subscribed to same camera instance. If non-master clients make a parameter request, EVS service will reject and return an error code. Bug: 138328396 Test: Build & Run on Hawk Change-Id: Ieb43af7be9ea66a2134f2ab73159d7ca2fff4a8e Signed-off-by: Changyeon Jo <changyeon@google.com>
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.