mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_polaris
synced 2026-01-27 14:27:18 +00:00
polaris: overlay-lineage: Enable 1080p 60fps for front and back camera
- Sadly no 4k 60fps supported for polaris Change-Id: I1f23cbe378b86dc96fc2943ff3035e0bf4f3bce9
This commit is contained in:
@@ -12,4 +12,32 @@
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
</string-array>
|
||||
|
||||
<!-- An array of triplets made of (camera ID, qualities, framerates).
|
||||
These video modes will be added to the available
|
||||
quality/framerate combinations of a camera device.
|
||||
Make sure the device is able to handle those configurations
|
||||
and maintain a stable framerate at any condition.
|
||||
Note that you can't add video qualities that aren't
|
||||
exposed by the camera, only new framerates.
|
||||
Valid values of resolution are:
|
||||
- "sd" (480p)
|
||||
- "hd" (720p)
|
||||
- "fhd" (1080p)
|
||||
- "uhd" (2160p)
|
||||
Valid values of framerate are:
|
||||
- "24"
|
||||
- "30"
|
||||
- "60"
|
||||
- "120"
|
||||
Example:
|
||||
<string-array name="config_additionalVideoConfigurations">
|
||||
<item>0</item> <item>sd|hd|fhd</item> <item>60|120</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</item> <item>60</item>
|
||||
<item>1</item> <item>sd|hd|fhd</item> <item>60</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user