commit | a4028ab0aef65716fe9a9c9f5439cec5eb83d324 | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Mon Oct 19 13:39:37 2020 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Wed Oct 21 08:20:04 2020 -0700 |
tree | 55e9a149e85ff145c7dfd7ab18f9c05de7773aff | |
parent | cbcb6c419748d7469be33a7b3bb3c4554347d9f6 [diff] |
Extend evs_app configuration This change allows the users to rotate the preview around the x-axis and flip the preview horizontally and vertically by modifying config.json file. Below new fields are added to config.json's definition: - roll: rotation angle around the optical axis - hflip: the preview will be flipped horizontally when this is true - vflip: the preview will be flipped vertically when this is true Fix: 171239414 Test: Build and run evs_app with different combinations of newly introduced roll, hflip, and vflip values Change-Id: I73b737a545046f960b077313a6bc93bb1c21a138 Merged-In: I73b737a545046f960b077313a6bc93bb1c21a138 (cherry picked from commit d57e636a124baea73ba388351fa2b96f69d63c61)
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.