commit | b927b889e9523495c6532168a4850a8a1ef9d58f | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Thu Nov 21 10:16:33 2019 -0800 |
committer | Changyeon Jo <changyeon@google.com> | Sat Jan 04 09:12:37 2020 -0800 |
tree | c8d51872e9fb5d420a3c3d5ca0b67c048778a334 | |
parent | 4ede4d6dfd45b72b7baef2f411d0be4660fbed1c [diff] |
Implement a fence-based frame delivery mechanism For the clients that implement IEvsCameraStream v1.1 interface, this change introduces new logic to deliver the imagery data. While a previous logic keeps forwarding frames until the buffer pool is running out, VirtualCamera instance requests a new frame and waits on a fence that HalCamera instance returns. HalCamera signals a fence when new frame is delivered by EVS HW module and pending VirtualCamera instances will forward a frame to the clients. Bug: 142275664 Test: VtsHalEvsV1_1TargetTest Change-Id: I181c31a56800fcf4de0cf74e530deb7ef8e227d4 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.