mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-08-16 08:06:02 +00:00
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:
parent
e8634805f3
commit
b6ee5b297f
@ -24,15 +24,22 @@
|
||||
- "30"
|
||||
- "60"
|
||||
- "120"
|
||||
Additionally you can prepend `-` to frame rate to mark it as unsupported.
|
||||
Example:
|
||||
<string-array name="config_additionalVideoConfigurations">
|
||||
<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>
|
||||
</string-array>
|
||||
-->
|
||||
<string-array name="config_additionalVideoConfigurations">
|
||||
<item>0</item> <item>sd|hd|fhd|uhd</item> <item>60|120</item>
|
||||
<item>1</item> <item>sd|hd|fhd</item> <item>60</item>
|
||||
<item>2</item> <item>sd|hd|fhd|uhd</item> <item>60</item>
|
||||
<!-- Rear -->
|
||||
<item>0</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>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user