ferrarri: Update supported framerates for camera

* Stock oplus camera does not expose 480p videos on any cameras and they are not needed.
* Rear Main camera: 60fps video is supported on oplus camera but unexposed, so lets expose it.
* Front cam: Only HD and FHD qualities are exposed and only upto 30fps in oplus camera. The same modes are exposed properly.
* UW: Supports upto HD FHD 30|60 fps but with shitty quality even in oplus camera. Oplus camera switches to main lens if 4k quality is selected. 60fps remains unexposed, so lets expose it
* Microscope supports HD 30|60 FPS modes. But unsupported FHD quality is exposed too.
This commit is contained in:
pjgowtham 2024-01-29 22:54:27 +05:30
parent e8634805f3
commit b6ee5b297f

View File

@ -24,15 +24,22 @@
- "30" - "30"
- "60" - "60"
- "120" - "120"
Additionally you can prepend `-` to frame rate to mark it as unsupported.
Example: Example:
<string-array name="config_additionalVideoConfigurations"> <string-array name="config_additionalVideoConfigurations">
<item>0</item> <item>sd|hd|fhd</item> <item>60|120</item> <item>0</item> <item>sd|hd|fhd</item> <item>60|120</item>
<item>0</item> <item>uhd</item> <item>-60</item>
<item>1</item> <item>sd|hd|fhd</item> <item>60</item> <item>1</item> <item>sd|hd|fhd</item> <item>60</item>
</string-array> </string-array>
--> -->
<string-array name="config_additionalVideoConfigurations"> <string-array name="config_additionalVideoConfigurations">
<item>0</item> <item>sd|hd|fhd|uhd</item> <item>60|120</item> <!-- Rear -->
<item>1</item> <item>sd|hd|fhd</item> <item>60</item> <item>0</item> <item>sd|hd|fhd|uhd</item> <item>60</item>
<item>2</item> <item>sd|hd|fhd|uhd</item> <item>60</item> <!-- Front
<item>1</item> <item>sd|hd|fhd</item> <item>30</item> -->
<!-- UW -->
<item>2</item> <item>sd|hd|fhd</item> <item>60</item>
<!-- Microscope
<item>3</item> <item>sd|hd</item> <item>30|60</item> -->
</string-array> </string-array>
</resources> </resources>