commit | 8faf81aa486e591b6d86b856ecff5cb4b6e617b1 | [log] [tgz] |
---|---|---|
author | Yogeshwar Nagaraj <nyogeshwar@google.com> | Mon Jan 13 13:50:32 2020 -0800 |
committer | Yogeshwar Nagaraj <nyogeshwar@google.com> | Wed Jan 15 09:57:34 2020 -0800 |
tree | 37e03892941a66bc30679082dc9803ad987123b6 | |
parent | 08b1289d4663c72a19674dedb9fe7a947e6624d3 [diff] |
Refactor AIDL InputConfig to support vector of input sources within a given input option. There are two improvements with this change. 1) A graph can now have multiple camera streams as inputs, which helps use cases like image stitching. 2) A graph can have a variable number of camera streams as inputs, which helps use cases like occupant awareness where the HAL can show different options for different configurations, such as driver only detection, driver and passenger detection etc. Apart from changing the aidl, the cl also changes the corresponding protos and ClientConfigs. Change-Id: I83ec48780250a71c9671c6e29fe7520750a815fd Fix: 147598353 Test: New unit test added for PipeOptionsDescriptor.
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.