config.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. SPDX-FileCopyrightText: 2022 The LineageOS Project
  4. SPDX-License-Identifier: Apache-2.0
  5. -->
  6. <resources>
  7. <!-- Enable auxiliary cameras selector. -->
  8. <bool name="config_enableAuxCameras">true</bool>
  9. <!-- List of ID of auxiliary cameras that must be ignored by the app. -->
  10. <string-array name="config_ignoredAuxCameraIds">
  11. <item>6</item>
  12. </string-array>
  13. <!-- An array of triplets made of (camera ID, qualities, framerates).
  14. These video modes will be added to the available
  15. quality/framerate combinations of a camera device.
  16. Make sure the device is able to handle those configurations
  17. and maintain a stable framerate at any condition.
  18. Note that you can't add video qualities that aren't
  19. exposed by the camera, only new framerates.
  20. Valid values of resolution are:
  21. - "sd" (480p)
  22. - "hd" (720p)
  23. - "fhd" (1080p)
  24. - "uhd" (2160p)
  25. Valid values of framerate are:
  26. - "24"
  27. - "30"
  28. - "60"
  29. - "120"
  30. Example:
  31. <string-array name="config_additionalVideoConfigurations">
  32. <item>0</item> <item>sd|hd|fhd</item> <item>60|120</item>
  33. <item>1</item> <item>sd|hd|fhd</item> <item>60</item>
  34. </string-array>
  35. -->
  36. <string-array name="config_additionalVideoConfigurations">
  37. <item>0</item> <item>sd|hd|fhd|uhd</item> <item>60</item>
  38. <item>1</item> <item>sd|hd|fhd</item> <item>60</item>
  39. <item>2</item> <item>sd|hd|fhd|uhd</item> <item>60</item>
  40. </string-array>
  41. </resources>