-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lemonade: overlay: Unlock additional camera framerates
This unlocks 120fps recording on main back camera (cam ID 0) and 60fps on ultra-wide back camera (cam ID 2), both supporting resolutions up to 2160p. As for front facing camera (cam ID 1), it only supports 60fps recording on resolutions up to 1080p. Change-Id: I87d8f91401e27223ed01f92687ab508a2ffae416
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
overlay-lineage/packages/apps/Aperture/app/src/main/res/values/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
SPDX-FileCopyrightText: 2022 The LineageOS Project | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
<resources> | ||
<!-- Enable auxiliary cameras selector. --> | ||
<bool name="config_enableAuxCameras">true</bool> | ||
|
||
<!-- 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|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> | ||
</string-array> | ||
</resources> |