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)
6 files changed
tree: 55e9a149e85ff145c7dfd7ab18f9c05de7773aff
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-internal-lib/
  4. car-lib/
  5. car-maps-placeholder/
  6. car-systemtest-lib/
  7. car-test-lib/
  8. car-usb-handler/
  9. car_product/
  10. computepipe/
  11. EncryptionRunner/
  12. evs/
  13. experimental/
  14. FrameworkPackageStubs/
  15. obd2-lib/
  16. packages/
  17. procfs-inspector/
  18. service/
  19. surround_view/
  20. tests/
  21. tools/
  22. user/
  23. vehicle-hal-support-lib/
  24. watchdog/
  25. .clang-format
  26. .gitignore
  27. Android.mk
  28. CleanSpec.mk
  29. CPPLINT.cfg
  30. OWNERS
  31. PREUPLOAD.cfg
  32. README.md
  33. TEST_MAPPING
README.md

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.