lisa: overlay-lineage: Configure additional camera framerates

Change-Id: I51efca86d2169c01fb96af97ef9fe250e2b221ed
This commit is contained in:
Sebastiano Barezzi 2022-12-09 02:17:27 +01:00 committed by Giovanni Ricca
parent f60fb5c976
commit 8d777cf981
No known key found for this signature in database
GPG Key ID: 61E6552837A234F0

View File

@ -11,4 +11,32 @@
<string-array name="config_ignoredAuxCameraIds"> <string-array name="config_ignoredAuxCameraIds">
<item>7</item> <!-- no-op front camera --> <item>7</item> <!-- no-op front camera -->
</string-array> </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> </resources>