clover: overlay: adapt Aperture overlay to device specs
This commit is contained in:
parent
74369df033
commit
ebe3b8115e
1 changed files with 27 additions and 0 deletions
|
@ -13,4 +13,31 @@
|
||||||
<item>7</item>
|
<item>7</item>
|
||||||
<item>8</item>
|
<item>8</item>
|
||||||
</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>30</item> <!-- main -->
|
||||||
|
<item>1</item> <item>sd|hd|fhd</item> <item>30</item> <!-- front -->
|
||||||
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue