avicii: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?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>
|
||||
|
||||
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
|
||||
<string-array name="config_ignoredAuxCameraIds">
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List of ID of camera devices that doesn't advertise
|
||||
REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE yet are
|
||||
able to produce a JPEG or a YUV stream. The camera IDs specified
|
||||
here won't be excluded by CameraX. Please be sure to test all
|
||||
modes exposed by the app with those cameras. -->
|
||||
<string-array name="config_backwardCompatibleCameraIds">
|
||||
<item>2</item>
|
||||
<item>5</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|uhd</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