peridot: Import from V816.0.5.0.UNPMIXM

This commit is contained in:
AdarshGrewal
2024-08-10 14:00:32 +05:30
commit b551459cda
2862 changed files with 460176 additions and 0 deletions
+1096
View File
File diff suppressed because it is too large Load Diff
+9
View File
@@ -0,0 +1,9 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/peridot/setup-makefiles.sh
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),peridot)
endif
+4
View File
@@ -0,0 +1,4 @@
# Automatically generated file. DO NOT MODIFY
#
# This file is generated by device/xiaomi/peridot/setup-makefiles.sh
+2874
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
adsp_sleep_monitor {
LPI_PANIC 0
LPM_PANIC 0
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<path name="headphones">
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
<ctl name="RX_RX0 Digital Volume" value="84" />
<ctl name="RX_RX1 Digital Volume" value="84" />
</path>
</mixer>
@@ -0,0 +1,440 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Be careful to write the static overlay xml -->
<!-- 1. do not create the new path name here, the new path name should -->
<!-- be created in common mixer path xml -->
<!-- 2. the new path name should not contain the nested path, and should be -->
<!-- defined follow after default ctrl -->
<!-- 3. the default ctl here will override that in common mixer path xml -->
<!-- 4. the first level path will replace the path in common mixer path xml -->
<!-- 5. the max nested path can't exceed 10 -->
<mixer>
<ctl name="HPHL Volume" value="18" />
<ctl name="HPHR Volume" value="18" />
<ctl name="TX_DEC0 Volume" value="84" />
<ctl name="TX_DEC1 Volume" value="84" />
<ctl name="TX_DEC2 Volume" value="84" />
<ctl name="TX_DEC3 Volume" value="84" />
<ctl name="TX_DEC4 Volume" value="84" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC2 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
<ctl name="ADC4 Volume" value="6" />
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
<ctl name="VA DEC1 MUX" value="SWR_MIC" />
<ctl name="VA DEC2 MUX" value="SWR_MIC" />
<ctl name="VA DEC3 MUX" value="SWR_MIC" />
<ctl name="IIR0 INP0 Volume" value="40" />
<ctl name="LPI Enable" value="0" />
<!-- enable PCM path by default -->
<ctl name="RX_HPH PCM" value="1" />
<!-- add new awinic aw88261 controls -->
<ctl name="aw_dev_0_switch" value="Disable" />
<ctl name="aw_dev_0_prof" value="Music" />
<ctl name="aw_dev_1_switch" value="Disable" />
<ctl name="aw_dev_1_prof" value="Music" />
<ctl name="aw882xx_spk_sw_gpio_switch" value="0"/>
<!-- awinic controls end -->
<!-- swr haptic contorls begin-->
<ctl name="SWR DAC_Port Switch" value="1" />
<!-- swr haptic controls end -->
<path name="speaker">
<ctl name="aw_dev_0_switch" value="Enable" />
<ctl name="aw_dev_1_switch" value="Enable" />
</path>
<path name="speaker-mono">
<ctl name="aw_dev_0_switch" value="Enable" />
</path>
<path name="speaker-mono-2">
<ctl name="aw_dev_0_prof" value="Voice" />
<ctl name="aw_dev_0_switch" value="Enable" />
<ctl name="aw_dev_1_prof" value="Voice" />
<ctl name="aw_dev_1_switch" value="Enable" />
</path>
<path name="speaker-mono-vbat">
<path name="speaker-mono" />
</path>
<path name="speaker-mono-2-vbat">
<path name="speaker-mono-2" />
</path>
<path name="speaker-vbat">
<path name="speaker" />
</path>
<path name="speaker-prot">
<path name="speaker" />
</path>
<path name="speaker-mono-prot">
<path name="speaker-mono" />
</path>
<path name="speaker-mono-2-prot">
<path name="speaker-mono-2" />
</path>
<path name="speaker-mono-vbat-prot">
<path name="speaker-mono-prot" />
</path>
<path name="speaker-mono-2-vbat-prot">
<path name="speaker-mono-2-prot" />
</path>
<path name="speaker-vbat-prot">
<path name="speaker-prot" />
</path>
<path name="speaker-protected">
<path name="speaker" />
</path>
<path name="voice-speaker-protected">
<path name="speaker-mono" />
</path>
<path name="voice-speaker-2-protected">
<path name="speaker-mono-2" />
</path>
<path name="speaker-protected-vbat">
<path name="speaker-protected" />
</path>
<path name="voice-speaker-protected-vbat">
<path name="voice-speaker-protected" />
</path>
<path name="voice-speaker-2-protected-vbat">
<path name="voice-speaker-2-protected" />
</path>
<path name="handset">
<ctl name="aw_dev_0_prof" value="Receiver" />
<ctl name="aw_dev_0_switch" value="Enable" />
<ctl name="aw882xx_spk_sw_gpio_switch" value="1" />
</path>
<path name="amic2">
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX0" value="SWR_MIC4" />
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="DEC0_BCS Switch" value="1" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="ADC2 ChMap" value="SWRM_TX2_CH1" />
<ctl name="MBHC ChMap" value="SWRM_TX3_CH2" />
<ctl name="BCS Channel" value="CH9" />
<ctl name="ADC2_MIXER Switch" value="1" />
</path>
<path name="headset-mic">
<ctl name="TX_DEC0 Volume" value="84" />
<path name="amic2" />
<ctl name="ADC2 Volume" value="9" />
</path>
<path name="main-mic">
<ctl name="TX DEC1 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX1" value="SWR_MIC0" />
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC1 Volume" value="8" />
<ctl name="TX_DEC1 Volume" value="114" />
</path>
<path name="top-mic">
<ctl name="TX DEC1 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX1" value="SWR_MIC5" />
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="TX_DEC1 Volume" value="114" />
</path>
<path name="handset-mic">
<path name="main-mic" />
</path>
<path name="handset-dmic-endfire">
<ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
<ctl name="TX DEC3 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX3" value="SWR_MIC5" />
<ctl name="TX_AIF1_CAP Mixer DEC2" value="1" />
<ctl name="TX DEC2 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX2" value="SWR_MIC0" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC1 Volume" value="8" />
</path>
<path name="unprocessed-top-mic">
<path name="handset-dmic-endfire" />
<ctl name="ADC1 Volume" value="12" />
<ctl name="ADC3 Volume" value="12" />
</path>
<path name="handset-mic-unprocessed">
<ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
<ctl name="TX DEC3 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX3" value="SWR_MIC5" />
<ctl name="TX_AIF1_CAP Mixer DEC2" value="1" />
<ctl name="TX DEC2 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX2" value="SWR_MIC0" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="ADC3 Volume" value="6" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="TX_DEC2 Volume" value="71" />
<ctl name="TX_DEC3 Volume" value="71" />
</path>
<path name="speaker-mic">
<path name="top-mic" />
</path>
<path name="speaker-mic-liquid">
<path name="top-mic" />
</path>
<path name="speaker-dmic-endfire">
<path name="handset-dmic-endfire" />
</path>
<!-- use dmic, small number dec is left channel, ADC3 is top mic,
"TX SMIC MUXn" map to "TX DECn MUX"-->
<path name="handset-stereo-dmic-ef">
<ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
<ctl name="TX DEC3 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX3" value="SWR_MIC0" />
<ctl name="TX_AIF1_CAP Mixer DEC2" value="1" />
<ctl name="TX DEC2 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX2" value="SWR_MIC5" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC1 Volume" value="8" />
</path>
<path name="handset-dmic-dual-adc">
<path name="handset-stereo-dmic-ef" />
</path>
<!--ultrasound begin-->
<path name="ultrasound-handset">
<ctl name="aw_dev_0_prof" value="Receiver" />
<ctl name="aw_dev_0_switch" value="Enable" />
<ctl name="aw882xx_spk_sw_gpio_switch" value="1" />
</path>
<path name="ultrasound-mic">
<ctl name="TX_DEC4 Volume" value="84" />
<ctl name="TX DEC4 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX4" value="SWR_MIC5" />
<ctl name="TX_AIF2_CAP Mixer DEC4" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="TX2 MODE" value="ADC_LP" />
<ctl name="HDR34 MUX" value="HDR34" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="ADC3 Volume" value="8" />
</path>
<path name="speaker-top">
<ctl name="aw_dev_0_prof" value="Music" />
<ctl name="aw_dev_0_switch" value="Enable" />
</path>
<path name="speaker-top-prot">
<path name="speaker-top" />
</path>
<path name="speaker-bot">
<ctl name="aw_dev_1_prof" value="Music" />
<ctl name="aw_dev_1_switch" value="Enable" />
</path>
<path name="speaker-bot-prot">
<path name="speaker-bot" />
</path>
<!--ultrasound end-->
<path name="va-mic-enroll">
<!--main-mic-->
<ctl name="TX DEC1 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX1" value="SWR_MIC0" />
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC1 Volume" value="8" />
<ctl name="TX_DEC1 Volume" value="86" />
<!--top-mic-->
<ctl name="TX DEC3 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX3" value="SWR_MIC5" />
<ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="TX_DEC1 Volume" value="86" />
</path>
<path name="headphones">
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
<ctl name="RX_MACRO RX1 MUX" value="AIF1_PB" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX1" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX_COMP1 Switch" value="0" />
<ctl name="RX_COMP2 Switch" value="0" />
<ctl name="HPHL_COMP Switch" value="0" />
<ctl name="HPHR_COMP Switch" value="0" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
<ctl name="HPHL_RDAC Switch" value="1" />
<ctl name="HPHR_RDAC Switch" value="1" />
<ctl name="RX_HPH_PWR_MODE" value="LOHIFI" />
<ctl name="RX HPH Mode" value="CLS_H_LOHIFI" />
</path>
<path name="headphones-and-haptics">
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
<ctl name="RX_MACRO RX1 MUX" value="AIF1_PB" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX1" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX_COMP1 Switch" value="0" />
<ctl name="RX_COMP2 Switch" value="0" />
<ctl name="HPHL_COMP Switch" value="0" />
<ctl name="HPHR_COMP Switch" value="0" />
<ctl name="HPHL_RDAC Switch" value="1" />
<ctl name="HPHR_RDAC Switch" value="1" />
<ctl name="SWR DAC_Port Switch" value="1" />
</path>
<path name="tty-headphones">
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX_COMP1 Switch" value="0" />
<ctl name="HPHL_COMP Switch" value="0" />
<ctl name="HPHL_RDAC Switch" value="1" />
</path>
<path name="va-mic-dmic-lpi">
<ctl name="LPI Enable" value="1" />
<ctl name="VA_CDC_DMA_TX_0 Channels" value="Two" />
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="VA_AIF1_CAP Mixer DEC1" value="1" />
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
<ctl name="VA DEC1 MUX" value="SWR_MIC" />
<ctl name="VA_DEC0 MODE" value="ADC_LOW_PWR" />
<ctl name="VA_DEC1 MODE" value="ADC_LOW_PWR" />
<ctl name="VA SMIC MUX0" value="SWR_MIC0" />
<ctl name="VA SMIC MUX1" value="SWR_MIC5" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="VA_DEC0 Volume" value="90" />
<ctl name="VA_DEC1 Volume" value="90" />
</path>
<path name="va-mic-dmic">
<ctl name="VA_CDC_DMA_TX_0 Channels" value="Two" />
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="VA_AIF1_CAP Mixer DEC1" value="1" />
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
<ctl name="VA DEC1 MUX" value="SWR_MIC" />
<ctl name="VA_DEC0 MODE" value="ADC_LOW_PWR" />
<ctl name="VA_DEC1 MODE" value="ADC_LOW_PWR" />
<ctl name="VA SMIC MUX0" value="SWR_MIC0" />
<ctl name="VA SMIC MUX1" value="SWR_MIC5" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
</path>
<path name="va-mic-asr">
<ctl name="TX_AIF1_CAP Mixer DEC2" value="1" />
<ctl name="TX DEC2 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX2" value="SWR_MIC0" />
<ctl name="TX DEC3 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX3" value="SWR_MIC5" />
<ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="ADC3 ChMap" value="SWRM_TX2_CH2" />
<ctl name="ADC3_MIXER Switch" value="1" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="ADC1 Volume" value="8" />
</path>
<path name="headset-va-mic-asr">
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX0" value="SWR_MIC4" />
<ctl name="DEC0_BCS Switch" value="1" />
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="ADC2 ChMap" value="SWRM_TX2_CH1" />
<ctl name="MBHC ChMap" value="SWRM_TX3_CH2" />
<ctl name="BCS Channel" value="CH10" />
<ctl name="ADC2_MIXER Switch" value="1" />
<ctl name="AMIC2_MIXER Switch" value="1" />
</path>
<path name="headset-va-mic-lpi">
<ctl name="LPI Enable" value="1" />
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
<ctl name="VA SMIC MUX0" value="SWR_MIC4" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="VA_DEC0 MODE" value="ADC_LOW_PWR" />
<ctl name="ADC2 ChMap" value="SWRM_TX2_CH1" />
<ctl name="ADC2_BCS Disable" value="1" />
<ctl name="ADC2_MIXER Switch" value="1" />
<ctl name="VA_AMIC2_MIXER Switch" value="1" />
</path>
<path name="headset-va-mic">
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
<ctl name="VA SMIC MUX0" value="SWR_MIC4" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="VA_DEC0 MODE" value="ADC_LOW_PWR" />
<ctl name="ADC2 ChMap" value="SWRM_TX2_CH1" />
<ctl name="ADC2_BCS Disable" value="1" />
<ctl name="ADC2_MIXER Switch" value="1" />
<ctl name="VA_AMIC2_MIXER Switch" value="1" />
</path>
<path name="va-mic-mono-lpi">
<ctl name="LPI Enable" value="1" />
<ctl name="VA_CDC_DMA_TX_0 Channels" value="One" />
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="VA DEC0 MUX" value="SWR_MIC" />
<ctl name="VA_DEC0 MODE" value="ADC_LOW_PWR" />
<ctl name="TX0 MODE" value="ADC_LP" />
<ctl name="VA SMIC MUX0" value="SWR_MIC0" />
<ctl name="ADC1 ChMap" value="SWRM_TX1_CH1" />
<ctl name="VA_AMIC1_MIXER Switch" value="1" />
<ctl name="ADC1_MIXER Switch" value="1" />
<ctl name="VA_DEC0 Volume" value="100" />
</path>
</mixer>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<configuration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="audio_policy_engine_product_strategies.xml"/>
<xi:include href="audio_policy_engine_stream_volumes.xml"/>
<xi:include href="audio_policy_engine_default_stream_volumes.xml"/>
</configuration>
@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Default Volume Tables included by Audio Policy Configuration file -->
<!-- Full Default Volume table for all device category -->
<volumes>
<reference name="FULL_SCALE_VOLUME_CURVE">
<!-- Full Scale reference Volume Curve -->
<point>0,0</point>
<point>100,0</point>
</reference>
<reference name="SILENT_VOLUME_CURVE">
<point>0,-9600</point>
<point>100,-9600</point>
</reference>
<reference name="DEFAULT_SYSTEM_VOLUME_CURVE">
<!-- Default System reference Volume Curve -->
<point>1,-2400</point>
<point>33,-1800</point>
<point>66,-1200</point>
<point>100,-600</point>
</reference>
<reference name="DEFAULT_MEDIA_VOLUME_CURVE">
<!-- Default Media reference Volume Curve -->
<point>1,-5800</point>
<point>20,-4000</point>
<point>60,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE">
<!--Default Volume Curve -->
<point>1,-4950</point>
<point>33,-3350</point>
<point>66,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE">
<!-- Default is Speaker Media Volume Curve -->
<point>1,-5800</point>
<point>20,-4000</point>
<point>60,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_DEVICE_CATEGORY_SPEAKER_SYSTEM_VOLUME_CURVE">
<!-- Default is Speaker System Volume Curve -->
<point>1,-4680</point>
<point>42,-2070</point>
<point>85,-540</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE">
<!--Default Volume Curve -->
<point>1,-4950</point>
<point>33,-3350</point>
<point>66,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE">
<!-- Default is Ext Media System Volume Curve -->
<point>1,-5800</point>
<point>20,-4000</point>
<point>60,-2100</point>
<point>100,-1000</point>
</reference>
<reference name="DEFAULT_HEARING_AID_VOLUME_CURVE">
<!-- Default Hearing Aid Volume Curve -->
<point>1,-12700</point>
<point>20,-8000</point>
<point>60,-4000</point>
<point>100,0</point>
</reference>
<!-- **************************************************************** -->
<!-- Non-mutable default volume curves: -->
<!-- * first point is always for index 0 -->
<!-- * attenuation is small enough that stream can still be heard -->
<reference name="DEFAULT_NON_MUTABLE_VOLUME_CURVE">
<!-- Default non-mutable reference Volume Curve -->
<!-- based on DEFAULT_MEDIA_VOLUME_CURVE -->
<point>0,-5800</point>
<point>20,-4000</point>
<point>60,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE">
<!--Default non-mutable Volume Curve for headset -->
<!-- based on DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE -->
<point>0,-4950</point>
<point>33,-3350</point>
<point>66,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE">
<!-- Default non-mutable Speaker Volume Curve -->
<!-- based on DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE -->
<point>0,-5800</point>
<point>20,-4000</point>
<point>60,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE">
<!--Default non-mutable Volume Curve -->
<!-- based on DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE -->
<point>0,-4950</point>
<point>33,-3350</point>
<point>66,-1700</point>
<point>100,0</point>
</reference>
<reference name="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE">
<!-- Default non-mutable Ext Media System Volume Curve -->
<!-- based on DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE -->
<point>0,-5800</point>
<point>20,-4000</point>
<point>60,-2100</point>
<point>100,-1000</point>
</reference>
<reference name="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE">
<!-- Default non-mutable Hearing Aid Volume Curve -->
<!-- based on DEFAULT_HEARING_AID_VOLUME_CURVE -->
<point>0,-12700</point>
<point>20,-8000</point>
<point>60,-4000</point>
<point>100,0</point>
</reference>
</volumes>
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<ProductStrategies>
<!-- "hidden strategies" like TTS, enforced audible:
Shall we expose them here or keep it hard coded -->
<!-- Used to identify the volume of audio streams for enforced system sounds in certain
countries (e.g. camera in Japan)
This strategy will only have higher priority than phone if force for system is set to
enforced. -->
<ProductStrategy name="STRATEGY_PHONE">
<AttributesGroup streamType="AUDIO_STREAM_VOICE_CALL" volumeGroup="voice_call">
<Attributes> <Usage value="AUDIO_USAGE_VOICE_COMMUNICATION"/> </Attributes>
</AttributesGroup>
<AttributesGroup streamType="AUDIO_STREAM_BLUETOOTH_SCO" volumeGroup="bluetooth_sco">
<Attributes> <Usage value="AUDIO_USAGE_BLUETOOTH_SCO"/> </Attributes>
<Attributes> <Flags value="AUDIO_FLAG_SCO"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
<ProductStrategy name="STRATEGY_SONIFICATION">
<AttributesGroup streamType="AUDIO_STREAM_RING" volumeGroup="ring">
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE"/> </Attributes>
</AttributesGroup>
<AttributesGroup streamType="AUDIO_STREAM_ALARM" volumeGroup="alarm">
<Attributes> <Usage value="AUDIO_USAGE_ALARM"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
<ProductStrategy name="STRATEGY_ENFORCED_AUDIBLE">
<AttributesGroup streamType="AUDIO_STREAM_ENFORCED_AUDIBLE" volumeGroup="enforced_audible">
<Attributes> <Flags value="AUDIO_FLAG_AUDIBILITY_ENFORCED"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
<ProductStrategy name="STRATEGY_ACCESSIBILITY">
<AttributesGroup streamType="AUDIO_STREAM_ACCESSIBILITY" volumeGroup="accessibility">
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
<ProductStrategy name="STRATEGY_SONIFICATION_RESPECTFUL">
<AttributesGroup streamType="AUDIO_STREAM_NOTIFICATION" volumeGroup="notification">
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION"/> </Attributes>
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST"/> </Attributes>
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT"/> </Attributes>
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED"/> </Attributes>
<Attributes> <Usage value="AUDIO_USAGE_NOTIFICATION_EVENT"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
<ProductStrategy name="STRATEGY_MEDIA">
<AttributesGroup streamType="AUDIO_STREAM_ASSISTANT" volumeGroup="assistant">
<Attributes>
<ContentType value="AUDIO_CONTENT_TYPE_SPEECH"/>
<Usage value="AUDIO_USAGE_ASSISTANT"/>
</Attributes>
</AttributesGroup>
<AttributesGroup streamType="AUDIO_STREAM_MUSIC" volumeGroup="music">
<Attributes> <Usage value="AUDIO_USAGE_MEDIA"/> </Attributes>
<Attributes> <Usage value="AUDIO_USAGE_GAME"/> </Attributes>
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANT"/> </Attributes>
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/> </Attributes>
<Attributes></Attributes>
</AttributesGroup>
<AttributesGroup streamType="AUDIO_STREAM_SYSTEM" volumeGroup="system">
<Attributes> <Usage value="AUDIO_USAGE_ASSISTANCE_SONIFICATION"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
<ProductStrategy name="STRATEGY_DTMF">
<AttributesGroup streamType="AUDIO_STREAM_DTMF" volumeGroup="dtmf">
<Attributes> <Usage value="AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
<!-- Used to identify the volume of audio streams exclusively transmitted through the speaker
(TTS) of the device -->
<ProductStrategy name="STRATEGY_TRANSMITTED_THROUGH_SPEAKER">
<AttributesGroup streamType="AUDIO_STREAM_TTS" volumeGroup="tts">
<Attributes> <Flags value="AUDIO_FLAG_BEACON"/> </Attributes>
</AttributesGroup>
</ProductStrategy>
</ProductStrategies>
@@ -0,0 +1,463 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Volume section defines a volume curve for a given use case and device category.
It contains a list of points of this curve expressing the attenuation in Millibels for a given
volume index from 0 to 100.
<volume deviceCategory=””>
<point>0,-9600</point>
<point>100,0</point>
</volume>
-->
<volumeGroups>
<volumeGroup>
<name>voice_call</name>
<indexMin>1</indexMin>
<indexMax>5</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-3300</point>
<point>10,-3000</point>
<point>18,-2700</point>
<point>27,-2400</point>
<point>36,-2100</point>
<point>45,-1800</point>
<point>54,-1500</point>
<point>63,-1200</point>
<point>72,-900</point>
<point>81,-600</point>
<point>90,-300</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-3500</point>
<point>10,-3000</point>
<point>18,-2500</point>
<point>27,-2000</point>
<point>36,-1700</point>
<point>45,-1400</point>
<point>54,-1100</point>
<point>63,-800</point>
<point>72,-600</point>
<point>81,-400</point>
<point>90,-200</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
</volumeGroup>
<volumeGroup>
<name>system</name>
<indexMin>0</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP_CE">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID">
<point>1,-3000</point>
<point>33,-2000</point>
<point>66,-1000</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET_CE">
<point>1,-7200</point>
<point>33,-4900</point>
<point>73,-2300</point>
<point>100,-900</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB_CE">
<point>1,-7200</point>
<point>33,-4900</point>
<point>73,-2300</point>
<point>100,-900</point>
</volume>
</volumeGroup>
<volumeGroup>
<name>ring</name>
<indexMin>0</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>music</name>
<indexMin>0</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-6220</point>
<point>13,-5400</point>
<point>20,-4900</point>
<point>27,-4330</point>
<point>33,-3900</point>
<point>40,-3500</point>
<point>47,-3050</point>
<point>53,-2700</point>
<point>60,-2280</point>
<point>66,-1900</point>
<point>73,-1550</point>
<point>80,-1200</point>
<point>87,-800</point>
<point>93,-500</point>
<point>100,-150</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB">
<point>1,-6500</point>
<point>13,-5500</point>
<point>20,-4800</point>
<point>27,-4300</point>
<point>33,-3800</point>
<point>40,-3400</point>
<point>47,-3000</point>
<point>53,-2600</point>
<point>60,-2200</point>
<point>66,-1800</point>
<point>73,-1400</point>
<point>80,-1050</point>
<point>87,-700</point>
<point>93,-350</point>
<point>100,-50</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
<point>1,-4900</point>
<point>13,-4000</point>
<point>20,-3500</point>
<point>27,-3100</point>
<point>33,-2700</point>
<point>40,-2300</point>
<point>47,-2000</point>
<point>53,-1700</point>
<point>60,-1400</point>
<point>66,-1100</point>
<point>73,-850</point>
<point>80,-600</point>
<point>87,-400</point>
<point>93,-200</point>
<point>100,-50</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP_CE">
<point>1,-5050</point>
<point>13,-4550</point>
<point>20,-4150</point>
<point>27,-3750</point>
<point>33,-3450</point>
<point>40,-3050</point>
<point>47,-2800</point>
<point>53,-2450</point>
<point>60,-2250</point>
<point>66,-1950</point>
<point>73,-1450</point>
<point>80,-1200</point>
<point>87,-950</point>
<point>93,-750</point>
<point>100,-400</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP_SPATIALIZER_CE">
<point>1,-5000</point>
<point>33,-3500</point>
<point>73,-2300</point>
<point>100,-990</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-75800</point>
<point>1,-7317</point>
<point>2,-6450</point>
<point>7,-5730</point>
<point>13,-5097</point>
<point>20,-4366</point>
<point>27,-3918</point>
<point>33,-3270</point>
<point>40,-2976</point>
<point>47,-2725</point>
<point>53,-2579</point>
<point>60,-2329</point>
<point>66,-2192</point>
<point>73,-1994</point>
<point>80,-1800</point>
<point>87,-1660</point>
<point>93,-1440</point>
<point>100,-1200</point>
<point>109,-960</point>
<point>116,-850</point>
<point>122,-640</point>
<point>130,-500</point>
<point>137,-350</point>
<point>143,-200</point>
<point>150,-30</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB_CE">
<point>1,-6550</point>
<point>33,-4010</point>
<point>73,-1450</point>
<point>100,-440</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB_SPATIALIZER_CE">
<point>1,-6450</point>
<point>33,-3910</point>
<point>73,-2300</point>
<point>100,-1010</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET_CE">
<point>1,-6660</point>
<point>33,-3460</point>
<point>66,-2020</point>
<point>100,-530</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET_SPATIALIZER_CE">
<point>1,-6600</point>
<point>33,-3600</point>
<point>73,-2500</point>
<point>100,-1250</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>assistant</name>
<indexMin>0</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>alarm</name>
<indexMin>1</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>notification</name>
<indexMin>0</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>bluetooth_sco</name>
<indexMin>1</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-420</point>
<point>33,-280</point>
<point>66,-140</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB">
<point>0,-420</point>
<point>33,-280</point>
<point>66,-140</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
<point>0,-420</point>
<point>33,-280</point>
<point>66,-140</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID">
<point>0,-420</point>
<point>33,-280</point>
<point>66,-140</point>
<point>100,0</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>enforced_audible</name>
<indexMin>0</indexMin>
<indexMax>7</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>dtmf</name>
<indexMin>0</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_USB">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_A2DP">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>tts</name>
<indexMin>0</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="SILENT_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="SILENT_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="SILENT_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="FULL_SCALE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="SILENT_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="SILENT_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="SILENT_VOLUME_CURVE"/>
</volumeGroup>
<volumeGroup>
<name>accessibility</name>
<indexMin>1</indexMin>
<indexMax>15</indexMax>
<volume deviceCategory="DEVICE_CATEGORY_HEADSET" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_USB" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_A2DP" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_SPEAKER" ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EARPIECE" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_EXT_MEDIA" ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
<volume deviceCategory="DEVICE_CATEGORY_HEARING_AID" ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
</volumeGroup>
</volumeGroups>
+79
View File
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<config>
<group_device name="TDM-LPAIF_VA-RX-PRIMARY" rate="96000" ch="3" bits="32" slot_mask="7"/>
<device name="TDM-LPAIF_VA-RX-PRIMARY-VIRT-0" rate="96000" ch="2" bits="32" />
<device name="CODEC_DMA-LPAIF_WSA-RX-0" rate="48000" ch="1" bits="16" />
<device name="CODEC_DMA-LPAIF_WSA-RX-1" rate="48000" ch="1" bits="16" />
<device name="CODEC_DMA-LPAIF_RXTX-RX-0" rate="48000" ch="2" bits="16" />
<device name="TDM-LPAIF_AXI-RX-PRIMARY" rate="48000" ch="2" bits="16" />
<device name="SLIM-DEV1-RX-0" rate="48000" ch="2" bits="16" />
<device name="CODEC_DMA-LPAIF_RXTX-RX-1" rate="48000" ch="1" bits="16" />
<device name="DISPLAY_PORT-RX" rate="48000" ch="2" bits="16" />
<device name="USB_AUDIO-RX" rate="48000" ch="2" bits="16" />
<device name="CODEC_DMA-LPAIF_RXTX-TX-3" rate="48000" ch="1" bits="16" />
<device name="CODEC_DMA-LPAIF_RXTX-TX-4" rate="96000" ch="1" bits="16" />
<device name="CODEC_DMA-LPAIF_VA-TX-0" rate="48000" ch="1" bits="16" />
<device name="CODEC_DMA-LPAIF_VA-TX-1" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_AXI-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="SLIM-DEV1-TX-0" rate="48000" ch="1" bits="16" />
<device name="USB_AUDIO-TX" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_AUD-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_AUD-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF-RX-TERTIARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF-TX-TERTIARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_RXTX-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_RXTX-RX-0" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_RXTX-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_VA-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_VA-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_WSA-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="MI2S-LPAIF_WSA-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF-RX-SECONDARY" rate="48000" ch="2" bits="24" />
<device name="TDM-LPAIF-TX-SECONDARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF_AUD-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF_AUD-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF-RX-TERTIARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF-TX-TERTIARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF_RXTX-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF_RXTX-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF_VA-RX-PRIMARY" rate="96000" ch="2" bits="32" />
<device name="TDM-LPAIF_VA-TX-PRIMARY" rate="96000" ch="2" bits="32" />
<device name="TDM-LPAIF_WSA-RX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF_WSA-TX-PRIMARY" rate="48000" ch="1" bits="16" />
<device name="TDM-LPAIF_AXI-TX-PRIMARY" rate="48000" ch="2" bits="16" />
<device name="AUXPCM-LPAIF_AXI-TX-PRIMARY" rate="48000" ch="2" bits="16" />
<device name="MI2S-LPAIF_AXI-RX-PRIMARY" rate="48000" ch="2" bits="16" />
<device name="AUXPCM-LPAIF_AXI-RX-PRIMARY" rate="48000" ch="2" bits="16" />
<device name="CODEC_DMA-LPAIF_RXTX-RX-6" rate="48000" ch="1" bits="16" />
</config>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,74 @@
[COMMON]
EVStep=6
FireWorks_input_Num=6
BaseMode_recommend_lowest_EV=-5
BaseMode_max_lowest_EV=-7.5
FaceRatio=0.002
[Wide]
CameraMode=20541
;#wide SN luxIndex >= 440, SN_lux_1_0EV_Number = 6
SN_lux_1=440
SN_lux_1_0EV_Number=6
;#wide SN 1 =< luxIndex < 440, SN_lux_2_0EV_Number = 6
SN_lux_2=1
SN_lux_2_0EV_Number=6
;#wide SE luxIndex >= 440, SNSE_lux_1_0EV_Number = 4
SNSE_lux_1=440
SNSE_lux_1_0EV_Number=4
;#wide SE 1 =< luxIndex < 440, SNSE_lux_2_0EV_Number = 4
SNSE_lux_2=1
SNSE_lux_2_0EV_Number=4
;#Wide SE Bokeh luxIndex >= 440, SNSE_lux_1_0EV_Number = 4
SE_Bokeh_lux_1=440
SE_Bokeh_lux_1_0EV_Number=4
SE_Bokeh_lux_2=1
SE_Bokeh_lux_2_0EV_Number=4
[UltraWide]
CameraMode=20542
;#UltraWide SN luxIndex >= 460, SN_lux_1_0EV_Number = 12
SN_lux_1=460
SN_lux_1_0EV_Number=12
;#UltraWide SN 1 =< luxIndex < 460, SN_lux_2_0EV_Number = 8
SN_lux_2=1
SN_lux_2_0EV_Number=8
;#UltraWide SE luxIndex >= 460, SNSE_lux_1_0EV_Number = 10
SNSE_lux_1=460
SNSE_lux_1_0EV_Number=10
;#UltraWide SE 1 =< luxIndex < 460, SNSE_lux_2_0EV_Number = 6
SNSE_lux_2=1
SNSE_lux_2_0EV_Number=6
;#UW SE Bokeh luxIndex >= 460, SNSE_lux_1_0EV_Number = 8
SE_Bokeh_lux_1=460
SE_Bokeh_lux_1_0EV_Number=4
SE_Bokeh_lux_2=1
SE_Bokeh_lux_2_0EV_Number=4
BaseMode_EVOffSet_LuxIndex=400
[Front_W]
CameraMode=20544
;#Front_W SN luxIndex >= 440, SN_lux_1_0EV_Number = 6
SN_lux_1=440
SN_lux_1_0EV_Number=6
;#Front_W SN 1 =< luxIndex < 440, SN_lux_2_0EV_Number = 6
SN_lux_2=1
SN_lux_2_0EV_Number=6
;#Front_W SE luxIndex >= 440, SNSE_lux_1_0EV_Number = 6
SNSE_lux_1=440
SNSE_lux_1_0EV_Number=6
;#Front_W SE 1 =< luxIndex < 440, SNSE_lux_2_0EV_Number = 6
SNSE_lux_2=1
SNSE_lux_2_0EV_Number=6
SE_Bokeh_lux_1=300
SE_Bokeh_lux_1_0EV_Number=6
SE_Bokeh_lux_2=0
SE_Bokeh_lux_2_0EV_Number=6
@@ -0,0 +1,143 @@
[COMMON]
EVStep=6
FireWorks_input_Num=4
BaseMode_recommend_lowest_EV=-5
BaseMode_max_lowest_EV=-6
FaceRatio=0.01
[Wide]
;#luxIndex more than(>=) 300, SN_lux_1_0EV_Number = 6
CameraMode=5985
SN_lux_1=300
SN_lux_1_0EV_Number=4
SN_lux_2=200
SN_lux_2_0EV_Number=4
SN_lux_3=100
SN_lux_3_0EV_Number=4
ZSL_SN_0EV_Number=5
SNSE_lux_1=300
SNSE_lux_1_0EV_Number=4
SNSE_lux_2=200
SNSE_lux_2_0EV_Number=4
SNSE_lux_3=100
SNSE_lux_3_0EV_Number=4
ZSL_SNSE_0EV_Number=5
SE_Bokeh_lux_1=300
SE_Bokeh_lux_1_0EV_Number=4
SE_Bokeh_lux_2=200
SE_Bokeh_lux_2_0EV_Number=4
SE_Bokeh_lux_3=100
SE_Bokeh_lux_3_0EV_Number=4
ZSL_SE_Bokeh_0EV_Number=5
FireWork_LuxIndex=400
FireWork_EV = -1
[UltraWide]
CameraMode=5986
SN_lux_1=300
SN_lux_1_0EV_Number=4
SN_lux_2=200
SN_lux_2_0EV_Number=4
SN_lux_3=0
SN_lux_3_0EV_Number=4
ZSL_SN_0EV_Number=5
SNSE_lux_1=300
SNSE_lux_1_0EV_Number=4
SNSE_lux_2=200
SNSE_lux_2_0EV_Number=4
SNSE_lux_3=0
SNSE_lux_3_0EV_Number=4
ZSL_SNSE_0EV_Number=5
SE_Bokeh_lux_1=300
SE_Bokeh_lux_1_0EV_Number=4
SE_Bokeh_lux_2=200
SE_Bokeh_lux_2_0EV_Number=4
SE_Bokeh_lux_3=0
SE_Bokeh_lux_3_0EV_Number=4
ZSL_SE_Bokeh_0EV_Number=5
BaseMode_EVOffSet_LuxIndex=1000
FireWork_LuxIndex=400
FireWork_EV = -1
[Tele]
CameraMode=5987
SN_lux_1=300
SN_lux_1_0EV_Number=4
SN_lux_2=200
SN_lux_2_0EV_Number=4
SN_lux_3=50
SN_lux_3_0EV_Number=4
ZSL_SN_0EV_Number=5
SNSE_lux_1=300
SNSE_lux_1_0EV_Number=4
SNSE_lux_2=200
SNSE_lux_2_0EV_Number=4
SNSE_lux_3=50
SNSE_lux_3_0EV_Number=4
ZSL_SNSE_0EV_Number=5
SE_Bokeh_lux_1=300
SE_Bokeh_lux_1_0EV_Number=4
SE_Bokeh_lux_2=200
SE_Bokeh_lux_2_0EV_Number=4
SE_Bokeh_lux_3=50
SE_Bokeh_lux_3_0EV_Number=4
ZSL_SE_Bokeh_0EV_Number=5
FireWork_LuxIndex=400
FireWork_EV = -1
[Front]
;#luxIndex more than(>=) 300, SN_lux_1_0EV_Number = 6
CameraMode=5988
SN_lux_1=300
SN_lux_1_0EV_Number=4
SN_lux_2=200
SN_lux_2_0EV_Number=4
SN_lux_3=100
SN_lux_3_0EV_Number=4
ZSL_SN_0EV_Number=5
SNSE_lux_1=300
SNSE_lux_1_0EV_Number=4
SNSE_lux_2=200
SNSE_lux_2_0EV_Number=4
SNSE_lux_3=100
SNSE_lux_3_0EV_Number=4
ZSL_SNSE_0EV_Number=5
SE_Bokeh_lux_1=300
SE_Bokeh_lux_1_0EV_Number=4
SE_Bokeh_lux_2=200
SE_Bokeh_lux_2_0EV_Number=4
SE_Bokeh_lux_3=100
SE_Bokeh_lux_3_0EV_Number=4
ZSL_SE_Bokeh_0EV_Number=5
FireWork_LuxIndex=400
FireWork_EV = -1
@@ -0,0 +1,296 @@
{
"IdMap":{
"01":"skinSmooth",
"02":"whiten",
"03":"stereoPerception",
"04":"eyeBrowDye",
"05":"slimFace",
"06":"headNarrow",
"07":"hairPuffy",
"08":"enlargeEye",
"09":"nose",
"10":"noseTip",
"11":"temple",
"12":"cheekBone",
"13":"jaw",
"14":"chin",
"15":"lips",
"16":"hairline",
"17":"",
"18":"",
"19":"",
"20":""
},
"FrontCapture": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontPortrait":{
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontRecordVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontAIWatermark": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 20
}
]
},
"FrontSuperNight": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontShortVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 20
}
]
},
"FrontVlog": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearCapture": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearPortrait": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 40
}
]
},
"RearRecordVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearShortVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearAIWatermark": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
}
}
@@ -0,0 +1,296 @@
{
"IdMap":{
"01":"skinSmooth",
"02":"whiten",
"03":"stereoPerception",
"04":"eyeBrowDye",
"05":"slimFace",
"06":"headNarrow",
"07":"hairPuffy",
"08":"enlargeEye",
"09":"nose",
"10":"noseTip",
"11":"temple",
"12":"cheekBone",
"13":"jaw",
"14":"chin",
"15":"lips",
"16":"hairline",
"17":"",
"18":"",
"19":"",
"20":""
},
"FrontCapture": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontPortrait":{
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontRecordVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontAIWatermark": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 20
}
]
},
"FrontSuperNight": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 20
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontShortVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 20
}
]
},
"FrontVlog": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearCapture": {
"BeautyMode": 2,
"Options": [
{
"Id": 02,
"Val": 0
}
]
},
"RearPortrait": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 40
}
]
},
"RearRecordVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearShortVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearAIWatermark": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
}
}
@@ -0,0 +1,572 @@
{
"Map":{
"01":"skinSmooth",
"02":"whiten",
"03":"stereoPerception",
"04":"eyeBrowDye",
"05":"slimFace",
"06":"headNarrow",
"07":"hairPuffy",
"08":"enlargeEye",
"09":"nose",
"10":"noseTip",
"11":"temple",
"12":"cheekBone",
"13":"jaw",
"14":"chin",
"15":"lips",
"16":"hairline",
"17":"",
"18":"",
"19":"",
"20":""
},
"INRegion": {
"FrontCapture": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontPortrait":{
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontRecordVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontAIWatermark": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 40
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontSuperNight": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontShortVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontVlog": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearCapture": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearPortrait": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 20
}
]
},
"RearRecordVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearShortVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearAIWatermark": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
}
},
"GLRegion": {
"FrontCapture": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontPortrait":{
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontRecordVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontAIWatermark": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 05,
"Val": 0
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontSuperNight": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontShortVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontVlog": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearCapture": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearPortrait": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearRecordVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearShortVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearAIWatermark": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
}
}
}
@@ -0,0 +1,572 @@
{
"Map":{
"01":"skinSmooth",
"02":"whiten",
"03":"stereoPerception",
"04":"eyeBrowDye",
"05":"slimFace",
"06":"headNarrow",
"07":"hairPuffy",
"08":"enlargeEye",
"09":"nose",
"10":"noseTip",
"11":"temple",
"12":"cheekBone",
"13":"jaw",
"14":"chin",
"15":"lips",
"16":"hairline",
"17":"",
"18":"",
"19":"",
"20":""
},
"INRegion": {
"FrontCapture": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontPortrait":{
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontRecordVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontAIWatermark": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 40
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontSuperNight": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 30
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontShortVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 30
},
{
"Id": 05,
"Val": 30
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontVlog": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearCapture": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearPortrait": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 20
}
]
},
"RearRecordVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearShortVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearAIWatermark": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
}
},
"GLRegion": {
"FrontCapture": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontPortrait":{
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontRecordVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontAIWatermark": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 05,
"Val": 0
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontSuperNight": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 20
},
{
"Id": 02,
"Val": 0
},
{
"Id": 03,
"Val": 0
},
{
"Id": 04,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 06,
"Val": 0
},
{
"Id": 08,
"Val": 0
},
{
"Id": 09,
"Val": 0
},
{
"Id": 14,
"Val": 0
},
{
"Id": 15,
"Val": 0
},
{
"Id": 16,
"Val": 0
}
]
},
"FrontShortVideo": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
},
{
"Id": 05,
"Val": 0
},
{
"Id": 08,
"Val": 0
}
]
},
"FrontVlog": {
"BeautyMode": 1,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearCapture": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearPortrait": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearRecordVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearShortVideo": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
},
"RearAIWatermark": {
"BeautyMode": 2,
"Options": [
{
"Id": 01,
"Val": 0
}
]
}
}
}
Binary file not shown.
@@ -0,0 +1,33 @@
{
"configs": [
{
"name": "videocall_list",
"config": [
"defalut"
]
},
{
"name": "highresolutionblob_list",
"config": [
"com.tencent.ttpic.module.camera.CameraActivity",
"com.linecorp.b612.android.activity.ActivityCamera",
"com.wudaokou.hippo.media.camera.CameraActivity",
"com.lemon.faceu.business.mainpage.MainActivity",
"com.mt.mtxx.camera.view.CameraActivity",
"com.light.beauty.publisher.PublisherActivity",
"com.taobao.taopai.business.record.fragment.SocialRecordVideoActivity_Module_FullScreen",
"com.alipay.mobile.beehive.capture.activity.CaptureActivity",
"com.taobao.android.litecreator.modules.record.LCRecordActivity",
"com.jd.lib.unification.video.recorder.VideoRecorderActivity",
"com.baidu.homework.common.camera.NewCameraManyQuestionsActivity",
"com.jd.lib.scan.lib.zxing.client.android.CaptureActivity",
"com.whatsapp.camera.CameraActivity",
"com.instagram.mainactivity.MainActivity",
"com.snap.mushroom.MainActivity",
"com.meitu.myxj.selfie.merge.activity.SelfieCameraActivity",
"com.instagram.modal.TransparentModalActivity",
"org.telegram.ui.LaunchActivity"
]
}
]
}
@@ -0,0 +1,296 @@
# xiaomi peridot setting file
multiCameraLogicalXMLFile=peridot.xml
enableGPURotation=TRUE
enableTxtLogging=0
offlineLogNumber=20
offlineLoggerEnableBackupLog=FALSE
logInfoMask=0
logVerboseMask=0
logConfigMask=0
logWarningMask=0
logDumpMask=0
logCoreCfgMask=0
logRequestMapping=0
CamxLogCoreCfg=0
chiLogInfoMask=0
chiLogWarningMask=0
chiLogCoreCfgMask=0
chiLogConfigMask=0
chiLogDumpMask=0
chiLogVerboseMask=0
chiLogDebugMask=0
chiLogTraceMask=0
raiserecoverysigabrt=FALSE
SDK_LOG_LEVEL=4
#systrace
traceGroupsEnable=0
enableAsciiLogging=0
#Health Monitor
enableHealthMonitor=FALSE
#InSensorZoom
enableInSensorZoom=TRUE
ISZThresholdInterval=1:300:340|0:0:0
#SAT
isPhyicalMultiCameraSupported=TRUE
multiCameraEnable=TRUE
enableMFLOEMCustomization=TRUE
enablePostZoomFOV=1
maxDigitalZoom=20.0
minDigitalZoomVideo=1.0
maxDigitalZoomVideo=15.0
# 720P@30 0x01 1080P@30 0x02 1080P@60 0x04 4K@30 0x08 4K@24 0x80
videoSATSupportedRange=0x8B
#MPMSizeDiffAllowedToGroup
MPMSizeDiffAllowedToGroupOverride=2000000
#SAT zoom animation params
isSwitchAnimationSupported=TRUE
satZoomButton=1:2:3.2:5:10:20|1:2:3.2:5:10:15
satZoomTime=800|600
# Super Night
#https://xiaomi.f.mioffice.cn/sheets/shtk4rNloLn27Kka49Pv4kfbadu?sheet=XTc0vN
MIVISuperNightSupportMask=0x3C1F0737
#wide:251 uw:290 tele: 285
SupernightSEManualEVMask=0x0300FBF1
#SupernightManualEVMask=0x0300FBF1
#SupernightSEManualEVMaskForTele=0x03011DF1
#SupernightManualEVMaskForTele=0x03011DF1
SupernightSEManualEVMaskForUW=0x030122F1
#SupernightManualEVMaskForUW=0x030122F1
UIRelatedMetas=xiaomi.supernight.checker|xiaomi.ai.misd.NonSemanticScene|xiaomi.ai.asd.asdExifInfo
enableSuperLowNightPreAEC=0x1
EnableLowFpsForSATnNight=TRUE
#videonight,720 = 5, 1080 = 6, 4K = 8, 8K = 3001
VideoNightConfigurations=6@24|8@24
EnableVideoNightAlgoOutputSize = TRUE
VideoNightAlgoOutputWidth =4096
VideoNightAlgoOutputHeight =2304
VideoNightSupportCMS=FALSE
#override Flash Current
overrideFlashTorchCurrent=80
overrideFlashVideoLightCurrent=80
overrideFlashSnapshotLightCurrent=300
overrideFlashPreviewLightCurrent=80
overrideTorchScanCurrent=80
FlashTorchCurrentSwitch=TRUE
FlashTorchTemperatureLevels=1@40|2@60
#Bokeh
bokehRoleMaskSupported=0x1
bokehPreviewSize=1280x960|1280x720|1600x720
bokehEnableReduceAuxInputSize=0
bokehPreviewInputBufferAlignment=128
bokehPreviewOutputBufferAlignment=128
bokehDualAlgoPreviewDelay=1
bokehEnableNodePublishStreamCrop=0
isMDbokehsupported=3
isBokehMfnrSupported=1
bokehSlaveMfnrEnable=0
bokehZoomRatioMap=1.0|2.58|2.16|3.89|1.51|3.24
enableRleaseCameraM2M=1
bokehFallbackLuxThresholdVibrant=450:400|470:420|450:400
bokehFallbackLuxThresholdAuthentic=450:400|470:420|450:400
bokehRemosaicLuxThresholdVibrant=270:300|270:300|270:300
bokehRemosaicLuxThresholdAuthentic=270:300|270:300|270:300
isFrontBokehHDRsupported=1
bokehHdrType=3
bokehRawHdrNZSLAdrcLuxThreshold=380
bokehMdEvList=0
enableCameraCoreDumpBinary=FALSE
enableCameraCoreDumpText=FALSE
numConsecutiveRecovery=10
#disable singnal35
enableSignal35Tombstone=FALSE
# Quickview
enableCHIPartialData=1
quickviewsupport=TRUE
quickviewmask=0x2F07
enableMallopt=1
# portrait repair
#Bit[0] - UI SAT support default not support
#Bit[1] - algo SAT support default on
#Bit[2] - UI Bokeh support default not support
#Bit[3] - algo Bokeh support default on
#Bit[4] - UI SuperNight support default not support
#Bit[5] - algo SuperNight support default on
#Bit[31]- distinguish front and rear, default not
#distinguish front and rear: Bit[27-16] front, Bit[11-0] rear
isPortraitRepairSupportMask=0x80260022
isLargeRamPortraitRepairSupportMask=0x802e0022
#PDAF config
pdafHWEnable=TRUE
disablePDAF=FALSE
disableFocusIndication=TRUE
#parklens
xiaomiAFParklensAsync=TRUE
#disableOIS=TRUE
# enable ois gyro switch under differnt gyro type
#enableOisGyroSwitch=TRUE
#enable EEPROM CheckSum
enableStrictChecksum=TRUE
enableEEPROMGolden=FALSE
enableEEPROMBackup=TRUE
enableHwBinary=TRUE
#VSR
enableVSR=0x2
overrideEnableVSR=TRUE
#HLG:100 HDR10:010 HDR10+:001 HLG|HDR10:110 HLG|HDR10+:101
VideoHdrAvailableConfigurations=001:1080P@30|001:4K@24|001:4K@30
isVideoHdrSupported=FALSE
# Video EIS
iseispreviewSupported=TRUE
is1080p60fpseisSupported=FALSE
# Res1@FPS1|Res2@FPS2 ...,5--720P,6--1080P,8--4K,3001--8K
vsquality=5@30|6@30|6@60|8@30|8@60|3001@24
isFrontVHdrSupported=TRUE
EISv2DisableAccel=1
EISv3DisableAccel=1
EISv2DisableOIS=0
EISv3DisableOIS=0
# PreviewZoom EIS
isPreviewZoomEISSupported=1
isZoomEISPipSupported=1
enableDMEbasedMCTF=1
enableFDFullStreamDimension=FALSE
# For 3rdEISV2
is3rdEISV2Enabled=TRUE
#which Camera Supported SlowMotion
#Bit[0] - Wide
#Bit[1] - Front
#Bit[2] - Ultra wide
#Bit[3] - Tele 3x
#Bit[4] - Tele 5x
whichCamSupportedSlowMotion=0x1
#Video skinbeautifier/Bokeh/Filter
isVideoBeautifierSupported=TRUE
isVideoBeautyEISSupported=TRUE
isVideoBeautyScreenshotSupported=TRUE
#isVideoBokehSupported=TRUE
#isFrontVideoBokehSupported=TRUE
isVideoFilterSupported=TRUE
superVideoFilterVersion=1
#VideoBokeh Support Caps
#VideoBokehConfigurations=1@5@30|1@6@30|2@5@30|2@6@30|3@5@30|3@6@30|4@5@30|4@6@30
# TS skinbeautifier
isBeautyVersion=71
enableEGLCache=TRUE
isBeautyOptionConfigSupported=1
isBeautyRemoveNevusSupported=0
isBeautyMakeupGenderSupported=1
# beautyalgo manufactor: 0:arcsoft;1:truesight;2:other
isBeautyManufactorAlgo=1
# enablemimovie
isVideoMimovieSupported=TRUE
#Enable Touch to Track feature
XiaomiTrackAFSupportedMask=1
#Use the new coordinate system
XiaomiTrackAFUseNewCoordinate=TRUE
#Res1@FPS1|Res2@FPS2 ...,5--720P,6--1080P,8--4K
XiaomiVideoTrackAFQuality=5@30|6@30|8@30
# dynamic vc
enableDynamicModeSwitchVCUpdate=FALSE
# disable DRV
enableDRV=FALSE
#af caliberation
afCalibOverwriteRoleIdList=0
# enable preload lib
enableFilesPreloadAndPin=TRUE
#AIIE
AIEnhancementVersion=2
# Dynamic Fps Support
is30fpsDynamicSupported=TRUE
is60fpsDynamicSupported=TRUE
dynamicFpsSupported=0@30|1@30|2@30|0@60|1@60
#ZoomRatio to Start SR
enableZoomRatioToStartSr=true
zoomRatioToStartSr_Ultra=0.0
zoomRatioToStartSr_Wide=1.4
zoomRatioToStartSr_Tele=0.0
zoomRatioToStartSr_Tele4x=0.0
#enable low battery reduces frame rate
#only Video 60-->30
enableBatteryStrategy=TRUE
#enable3rdAppPowerSave
enable3rdAppPowerSave=TRUE
#Dual Camera SW Sync
multiCameraSWFrameSyncInterval=5
multiCameraHWSyncMask=0
multiCameraFPSMatchMask=0x1
multiCameraFrameSyncMask=0x1
multiCameraExposureTimeMatch=TRUE
#multiCameraDetectFrameSync=TRUE
#Enable earlyPCR
numPCRsBeforeStreamOn=1
# buffer Prealloc
extraBufferAlloc=8
#early init wide module
isEarlysettingsEnable=TRUE
#isActuatorEarlyInitEnable=TRUE
#isOisEarlyInitEnable=TRUE
ISZSupportedCase=0xF
#Quick Preview Control
QuickPreviewMask=0x4
# For CTS Reprocess Size
minReprocessInputWidth=0x1FFF
minReprocessInputHeight=0x1FFF
# AEC Sync Ratio
AESyncRatiosVersion1=2300@1.21216,1.21216|4100@1.21889,1.21889|5000@1.22042,1.22042|6500@1.20317,1.20317
#Optimize sensor probe
sensorModuleNumber=3
EnableSensorProbeOptimization=TRUE
SensorModuleRetryTimes=3
#quickcamera
QuickCameraSupported=TRUE
#disable ncs sensor
enableBackLux=FALSE
enableBackCCT=FALSE
LoadTuningDataManagerAsync=TRUE
#ois async init
enableOISOptimization=TRUE
enableInternalKMDRecovery=TRUE
crcErrorDivisor=100
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,410 @@
{
"/": "Version",
"StructVersion": {
"Version": 20240408
},
"/": "Global parameters",
"StructGlobal": {
"StructDspGpu": {
"paramGatherDspSwitch": 1
}
},
"/": "BokehEffect parameters",
"StructMT": {
"InResizeMT": 1,
"ScatYuvMT": 0,
"UvbluMT": 0,
"PosProcYMT": 1
},
"StructDownSamp": {
"DowSampRat": 2,
"DowSampMeth": 1
},
"StructDownSampHot": {
"DowSampRat": 2,
"DowSampMeth": 1
},
"StructTimeControl": {
"paramSwitch": 1,
"overtimeThres": 4000
},
"StructPre": {
"StructPrePorcDepth": {
"StructPrePorcDepthNorm": {
"paramSwitch": 1,
"paramSize": 3,
"paramSharpenDepthSwitch": 0,
"paramSharpenDepthPSize": 5,
"paramSharpenDepthMFSize": 3,
"paramSwitchAA": 0,
"paramSwitchAAG": 1,
"paramSwitchAAGw": 3,
"paramSwitchAAGs": 1
},
"StructPrePorcDepthNight": {
"paramSwitch": 0,
"paramSize": 3,
"paramSharpenDepthSwitch": 1,
"paramSharpenDepthPSize": 5,
"paramSharpenDepthMFSize": 3,
"paramSwitchAA": 0,
"paramSwitchAAG": 1,
"paramSwitchAAGw": 3,
"paramSwitchAAGs": 1
},
"StructPreProcDepthNN": {
"paramSwitch": 0,
"paramSize": 3,
"paramSharpenDepthSwitch": 1,
"paramSharpenDepthPSize": 5,
"paramSharpenDepthMFSize": 3,
"paramSwitchAA": 0,
"paramSwitchAAG": 1,
"paramSwitchAAGw": 3,
"paramSwitchAAGs": 1
}
},
"StructDof": {
"StructDofNorm": {
"maxAbnorRat": 0.01,
"minAbnorRat": 0.01,
"backDist_1x": 13,
"backDist_1_4x": 13,
"backDist_2x": 12,
"backDist_3x": 10,
"foreDist_1x": 18,
"foreDist_1_4x": 15,
"foreDist_2x": 13,
"foreDist_3x": 10,
"backDistBias_1x": 0,
"backDistBias_1_4x": 0,
"backDistBias_2x": 0,
"backDistBias_3x": 0
},
"StructDofNight": {
"backDistRat_1x": 1.2,
"foreDistRat_1x": 0.25,
"backDistRat_1_4x": 1.2,
"foreDistRat_1_4x": 0.25,
"backDistRat_2x": 0.25,
"foreDistRat_2x": 0.15,
"backDistRat_3x": 0.25,
"foreDistRat_3x": 0.15,
"backDistBias_1x": 0,
"backDistBias_1_4x": 0,
"backDistBias_2x": 0,
"backDistBias_3x": 0
}
},
"StructDofRefine": {
"paramSwitch": 1,
"structAlpha": {
"paramSwitch": 1,
"paramBlurRadius": 5,
"paramBlurRadius_night": 7
},
"structEdge": {
"paramth1": 10,
"paramth2": 210,
"paramL1": 0.1
},
"structPortraitMask": {
"paramSwitch": 1,
"paramRadius": 1.2,
"paramDistTh1": 130,
"paramDistTh2": 170
},
"structWeight": {
"paramSwitch": 0,
"paramSwitch_night": 0
}
},
"StructRadius": {
"StructRadiusNorm": {
"backLeve_1x": 0.30,
"foreLeve_1x": 0.06,
"apeRat_1x": 1.4,
"backGam_1x": 1.0,
"foreGam_1x": 1.0,
"back_apS_1x": 1.5,
"fore_apS_1x": 1.5,
"a_slope_1x": 0.001,
"b_inter_1x": 1.1,
"apeGam1_1x": 1.0,
"apeGam2_1x": 1.0,
"backLeve_1_4x": 1.0,
"foreLeve_1_4x": 0.06,
"apeRat_1_4x": 1.4,
"backGam_1_4x": 1.0,
"foreGam_1_4x": 1.0,
"back_apS_1_4x": 1.5,
"fore_apS_1_4x": 1.5,
"a_slope_1_4x": 0.001,
"b_inter_1_4x": 1.1,
"apeGam1_1_4x": 1.0,
"apeGam2_1_4x": 1.0,
"backLeve_2x": 1.50,
"foreLeve_2x": 0.20,
"apeRat_2x": 1.4,
"backGam_2x": 1.0,
"foreGam_2x": 1.5,
"back_apS_2x": 1.5,
"fore_apS_2x": 1.5,
"a_slope_2x": 0.0,
"b_inter_2x": 1.0,
"apeGam1_2x": 1.0,
"apeGam2_2x": 1.0,
"backLeve_3x": 1.40,
"foreLeve_3x": 0.20,
"apeRat_3x": 1.4,
"backGam_3x": 1.0,
"foreGam_3x": 1.0,
"back_apS_3x": 1.5,
"fore_apS_3x": 1.5,
"a_slope_3x": 0.0,
"b_inter_3x": 1.0,
"apeGam1_3x": 1.0,
"apeGam2_3x": 1.0
},
"StructRadiusNight": {
"out_door_th1": 150,
"out_door_th2": 200,
"max_blur_dist_ratio": 3.0,
"backLeve_1x": 0.12,
"foreLeve_1x": 0.03,
"apeRat_1x": 1.8,
"backGam_1x": 0.7,
"foreGam_1x": 1.0,
"back_apS_1x": 1.5,
"fore_apS_1x": 1.5,
"a_slope_1x": 1.0,
"b_inter_1x": 0.0,
"apeGam1_1x": 1.0,
"apeGam2_1x": 1.0,
"backLeve_1_4x": 0.10,
"foreLeve_1_4x": 0.03,
"apeRat_1_4x": 1.8,
"backGam_1_4x": 0.7,
"foreGam_1_4x": 1.0,
"back_apS_1_4x": 1.5,
"fore_apS_1_4x": 1.5,
"a_slope_1_4x": 1.0,
"b_inter_1_4x": 0.0,
"apeGam1_1_4x": 1.0,
"apeGam2_1_4x": 1.0,
"backLeve_2x": 0.24,
"foreLeve_2x": 0.1,
"apeRat_2x": 1.8,
"backGam_2x": 0.6,
"foreGam_2x": 1.0,
"back_apS_2x": 1.5,
"fore_apS_2x": 1.5,
"a_slope_2x": 1.0,
"b_inter_2x": 0.0,
"apeGam1_2x": 1.0,
"apeGam2_2x": 0.9,
"backLeve_3x": 0.24,
"foreLeve_3x": 0.1,
"apeRat_3x": 1.8,
"backGam_3x": 0.6,
"foreGam_3x": 1.0,
"back_apS_3x": 1.5,
"fore_apS_3x": 1.5,
"a_slope_3x": 1.0,
"b_inter_3x": 0.0,
"apeGam1_3x": 1.0,
"apeGam2_3x": 0.9
}
},
"StructForeBlur": {
"paramSwitch": 1
},
"StructSpot": {
"paramSwitch": 1,
"paramTSSpotSwitch": 0,
"paramWeakSpotSwitch": 1,
"paramColorEnhanceSwitch": 1,
"paramSaturatedRatio": 3.0,
"paramBilinearSpotSwitch": 1,
"paramDxFlg": 1,
"paramIsoThre": 400,
"StructSoft": {
"paramMinBrig": 220,
"paramEnhanRat": 15,
"paramMinBrig_night": 240,
"paramEnhanRat_night": 30,
"paramClipHigh": 0
},
"StructHard": {
"paramMinBrig": 190,
"paramEnhanRat": 20,
"paramClipHigh": 0,
"paramMaxContAre": 1200,
"paramMinContAre": 0,
"paramMaxAix": 60,
"paramMinAix": 0,
"paramMinGradAvge": -1,
"paramMaxGRadCv": -1,
"paramMaxEccen": -1,
"paramMamElliErr": -1,
"paramMinFillRat": -1,
"paramMaxAmbiVal": -1,
"paramMinBrig_night": 220,
"paramEnhanRat_night": 30,
"paramMaxContAre_night": 800,
"paramMinContAre_night": 0,
"paramMaxAix_night": 40,
"paramMinAix_night": 0
},
"StructWeakSpot": {
"paramLowThresRat": 0.95,
"paramHighThresRat": 0.98,
"paramLowThresRat_hdr": 0.95,
"paramHighThresRat_hdr": 0.98,
"paramLowThresRat_night": 0.7,
"paramHighThresRat_night": 0.9,
"paramEnhanGam": 1.5,
"paramEnhanRat": 10.0,
"paramEnhanRat_hdr": 12.0,
"paramEnhanRat_night": 15.0
},
"StructTSSpot": {
"paramThresRat1": 0.01,
"paramThresRat1_hdr": 0.12,
"paramThresRat1_night": 0.6,
"paramThresRat1_night_ev_1": 0.3,
"paramLowThresRat2": 0.4,
"paramHighThresRat2": 0.7,
"paramLowThresRat2_hdr": 0.9,
"paramHighThresRat2_hdr": 0.98,
"paramLowThresRat2_night": 0.9,
"paramHighThresRat2_night": 0.98,
"paramLowThresRat2_night_ev_1": 0.9,
"paramHighThresRat2_night_ev_1": 0.98,
"paramColorThres_normal": 0.85,
"paramColorThres_hdr_night": 0.9,
"paramEnhanGam1": 0.8,
"paramEnhanGam1_hdr": 0.8,
"paramEnhanGam1_night": 2.0,
"paramEnhanGam1_night_ev_1": 1.5,
"paramEnhanGam2": 0.8,
"paramEnhanGam2_hdr": 3.0,
"paramEnhanGam2_night": 3.0,
"paramEnhanGam2_night_ev_1": 3.0,
"paramEnhanGam3": 0.8,
"paramEnhanRat1": 10.0,
"paramEnhanRat1_hdr": 20.0,
"paramEnhanRat1_night": 10.0,
"paramEnhanRat1_night_ev_1": 20.0,
"paramEnhanRat2": 30.0,
"paramEnhanRat2_hdr": 150.0,
"paramEnhanRat2_night": 150.0,
"paramEnhanRat2_night_ev_1": 200.0
}
},
"StructWeakFreq": {
"paramSwitch": 0,
"paramRadius": 3,
"paramSwitch_night": 0,
"paramRadius_night": 3
}
},
"StructProc": {
"StructGather": {
"paramSwitch": 0,
"paramRadiusScalar": 1,
"paramSwitch_night": 0,
"paramRadiusScalar_night": 1
},
"StructScatter": {
"paramSwitch": 1,
"paramSwitch_night": 1,
"paramIsTransGauss": 0,
"paramIsRaidusWeight": 1,
"paramCaptureScatterWay": 0,
"paramAlbumPScatterWay": 1
},
"StructUv": {
"paramSwitch": 1,
"paramBlurRatio": 1,
"paramBlurWay": 0,
"paramSwitch_night": 1,
"paramBlurRatio_night": 1,
"paramBlurWay_night": 0
}
},
"StructPos": {
"StructHeadMat": {
"paramSwitch": 1,
"paramJudgeWidth": 7,
"paramBinarTh_1x": 70,
"paramRadTh_1x": 5,
"paramRadBack_1x": 25,
"paramsRatioTh_1x": 0.965,
"paramsRatioTh_night_1x": 0.93,
"paramsETranNum_1x": 20,
"paramsErrorCounts_1x": 10,
"paramBinarTh_3x": 70,
"paramRadTh_3x": 6,
"paramRadBack_3x": 25,
"paramsRatioTh_3x": 0.965,
"paramsRatioTh_night_3x": 0.93,
"paramsETranNum_3x": 40,
"paramsErrorCounts_3x": 10
},
"paramSwitchYUVAA": 1,
"StructFusnAlpha": {
"paramSwitch": 1,
"paramLowTh": 0.2,
"paramHighTh": 0.6,
"paramLowTh_night": 0.3,
"paramHighTh_night": 0.7,
"paramTranRaidusRatio_1x": 5.0,
"paramTranRaidusRatio_1_4x": 5.0,
"paramTranRaidusRatio_2x": 5.0,
"paramTranRaidusRatio_3x": 5.0,
"paramFarRatioRad1": 1.0,
"paramCloRatioRad1": 1.0,
"paramSwitch_night": 1,
"paramTranRaidusRatio_night_1x": 5.0,
"paramTranRaidusRatio_night_1_4x": 5.0,
"paramTranRaidusRatio_night_2x": 5.0,
"paramTranRaidusRatio_night_3x": 5.0,
"paramFixDofDepthEdgeFusionAlpha": 0,
"paramSize": 5,
"postErodeNormw": 1,
"postErodeAIw": 3,
"postErodeNNw": 3,
"paramNormSwitchAA": 0,
"paramNormParamAAG": 1,
"paramNormParamAAGw": 3,
"paramNormParamAAGs": 2.0,
"paramAISwitchAA": 1,
"paramAIParamAAG": 1,
"paramAIParamAAGw": 3,
"paramAIParamAAGs": 2.0,
"paramNNSwitchAA": 1,
"paramNNParamAAG": 1,
"paramNNParamAAGw": 3,
"paramNNParamAAGs": 2.0
}
},
"StructNoise": {
"paramSwitch": 2,
"structMethod1": {
"paramThre": 6,
"paramPortion": 7
},
"structMethod2": {
"paramDaySigma": 3.5,
"paramDayBlurWidth": 3,
"paramDayBlurSigma": 1.2,
"paramNightSigma": 4.5,
"paramNightBlurWidth": 3,
"paramNightBlurSigma": 1.2,
"paramFusionAlphaSwitch": 1,
"paramHLThresh1Factor": -4.0,
"paramHLThresh2Factor": 1.0
}
}
}
@@ -0,0 +1,465 @@
{
"/": "Depth parameters",
"StructB": {
"Struct_NORMAL": {
"paramS1": 4,
"paramS2": 4,
"paramS3": 2,
"paramM-1": 9,
"StructRear": {
"paramC": -10,
"paramD": 64
},
"StructFront": {
"paramC": -45,
"paramD": 64
},
"StructBM": {
"paramA": 31,
"paramB": 31,
"paramG": 0,
"paramT": 500,
"paramM-2": 20,
"paramSR": 0
},
"StructSGBM": {
"paramSC": 1,
"paramCM": 1,
"paramH": 200,
"paramI": 16,
"paramU": 30,
"paramJ": 17,
"paramP1": 7,
"paramP2": 32,
"paramSP": 1
}
},
"Struct_HOT": {
"paramS1": 4,
"paramS2": 4,
"paramS3": 2,
"paramM-1": 9,
"StructRear": {
"paramC": -10,
"paramD": 64
},
"StructFront": {
"paramC": -45,
"paramD": 64
},
"StructBM": {
"paramA": 31,
"paramB": 31,
"paramG": 0,
"paramT": 500,
"paramM-2": 20,
"paramSR": 0
},
"StructSGBM": {
"paramSC": 1,
"paramCM": 1,
"paramH": 200,
"paramI": 16,
"paramU": 30,
"paramJ": 17,
"paramP1": 7,
"paramP2": 32,
"paramSP": 0
}
}
},
"StructDS": {
"paramB1": 0,
"paramB2": 0,
"paramBS": 8,
"paramS": 1,
"paramRR": 30,
"paramXV": 220,
"paramNV": 140,
"paramXV2": 225,
"paramNV2": 80
},
"StructEDGERef": {
"SWITCH": 0,
"SW_TRI": 0,
"SW_MPO": 0,
"B_W": 15,
"S_W": 32,
"M_H": 210,
"M_L": 10,
"R_RF": 1.0,
"Ang_Val": 0,
"To_Up": 0,
"To_Down": 1,
"To_Left": 1,
"To_Right": 0,
"Bg_DiSize": 7,
"Bg_DiCnt": 5,
"Bg_ErSize": 0,
"Bg_ErCnt": 0,
"Tri_ER": 6,
"Tri_DR": 6,
"St_Pix": 1.0
},
"StructI": {
"paramB": 1,
"paramU": 1,
"paramSD": 0,
"paramI": 0,
"paramW": 7,
"paramS": 5,
"paramGT": 0,
"paramT": 200,
"paramBF": 0,
"paramWR": 0.19,
"paramAR": 0.05
},
"StructHairRef": {
"paramTag": 2,
"paramGradThres": 220,
"paramDiffThres": 5
},
"StructF": {
"paramLF": 1,
"paramO": 1,
"paramSC": 2,
"paramLFS": 9,
"paramLFU": 10,
"paramGF": 0,
"paramD": 0,
"paramU": 180,
"paramV1": 105,
"paramV2": 125,
"paramRM": 1,
"paramFR": 0.25
},
"StructP": {
"paramL0": 0,
"paramL1": 1,
"paramL2": 1,
"paramI": 2
},
"StructW": {
"paramB": 0,
"paramI": 1,
"paramS": 2.0,
"paramL": 100
},
"StructC": {
"Struct_NORMAL": {
"paramT": 0,
"paramD": 5,
"paramS": 5,
"paramL0": 4,
"paramL1": 4,
"paramL2": 4,
"paramL3": 0,
"paramL4": 0,
"paramL": 48.0,
"paramVN": 30000,
"paramCONF": 1,
"paramGN": 1,
"paramMN": 0,
"paramSWD": 0,
"paramCCM": 1,
"paramFRC": 1.0,
"paramTolerr": 0.001,
"paramIterMax": 150,
"paramIterCheck": 10,
"paramMskErodeNum": 0
},
"Struct_HOT": {
"paramT": 0,
"paramD": 5,
"paramS": 5,
"paramL0": 4,
"paramL1": 4,
"paramL2": 4,
"paramL3": 0,
"paramL4": 0,
"paramL": 48.0,
"paramVN": 15000,
"paramCONF": 1,
"paramGN": 1,
"paramMN": 0,
"paramSWD": 0,
"paramCCM": 1,
"paramFRC": 1.0,
"paramTolerr": 0.001,
"paramIterMax": 150,
"paramIterCheck": 10,
"paramMskErodeNum": 0
}
},
"StructBlurDisp": {
"paramSwitch": 0,
"paramThresDensity": 0.5,
"paramThresVar": 10
},
"StructPostProSwitch": {
"paramNonEdge": 1,
"paramDTF": 1,
"paramSDR": 1,
"paramSDRT": 0.03
},
"StructTimeControl": {
"paramOvertimeThres": 4000
},
"//": "Calib parameters",
"StructM_WU": {
"param_InitMode": 1,
"param_AFnum": 1,
"param_PreProcessDark": 1,
"param_Tx": -26.4,
"param_Ty": 0,
"param_BSwap": 1,
"param_algType3_RKr": 1,
"param_UndisSelect": 2,
"param_BinHasDistable": 0,
"StructD_MAIN_30": {
"param_MAINDIS0": 0,
"param_MAINDIS1": 0.25,
"param_MAINDIS2": 0.75,
"param_MAINDIS3": 1.18,
"param_MAINDIS4": 1.43,
"param_MAINDIS5": 1.59,
"param_MAINDIS6": 1.63,
"param_MAINDIS7": 1.50,
"param_MAINDIS8": 1.38,
"param_MAINDIS9": 1.25,
"param_MAINDIS10": 1.12
},
"StructD_MAIN_31": {
"param_MAINDIS0": 0,
"param_MAINDIS1": 0.13,
"param_MAINDIS2": 0.45,
"param_MAINDIS3": 0.81,
"param_MAINDIS4": 1.06,
"param_MAINDIS5": 1.22,
"param_MAINDIS6": 1.33,
"param_MAINDIS7": 1.27,
"param_MAINDIS8": 1.25,
"param_MAINDIS9": 1.21,
"param_MAINDIS10": 1.04
},
"StructD_SUB_68": {
"param_SUBDIS0": 0,
"param_SUBDIS1": -0.01,
"param_SUBDIS2": -0.21,
"param_SUBDIS3": -0.66,
"param_SUBDIS4": -1.20,
"param_SUBDIS5": -1.57,
"param_SUBDIS6": -1.73,
"param_SUBDIS7": -2.03,
"param_SUBDIS8": -3.76,
"param_SUBDIS9": -8.93,
"param_SUBDIS10": -19.50
},
"StructD_SUB_9B": {
"param_SUBDIS0": 0,
"param_SUBDIS1": -0.00,
"param_SUBDIS2": -0.07,
"param_SUBDIS3": -0.03,
"param_SUBDIS4": -0.16,
"param_SUBDIS5": -0.43,
"param_SUBDIS6": -0.57,
"param_SUBDIS7": -1.04,
"param_SUBDIS8": -3.14,
"param_SUBDIS9": -8.45,
"param_SUBDIS10": -17.89
}
},
"StructM_WT": {
"param_InitMode": 1,
"param_AFnum": 1,
"param_PreProcessDark": 1,
"param_Tx": 0,
"param_Ty": 22.75,
"param_BSwap": 1,
"param_algType3_RKr": 1,
"param_UndisSelect": 2,
"param_BinHasDistable": 0,
"param_MAINDIS0": 0,
"param_MAINDIS1": 0,
"param_MAINDIS2": 0,
"param_MAINDIS3": 0.05,
"param_MAINDIS4": 0.16,
"param_MAINDIS5": 0.26,
"param_MAINDIS6": 0.30,
"param_MAINDIS7": 0.31,
"param_MAINDIS8": 0.32,
"param_MAINDIS9": 0.29,
"param_MAINDIS10": 0.16,
"param_SUBDIS0": 0,
"param_SUBDIS1": 0.34,
"param_SUBDIS2": 0.94,
"param_SUBDIS3": 1.52,
"param_SUBDIS4": 1.72,
"param_SUBDIS5": 1.84,
"param_SUBDIS6": 2.00,
"param_SUBDIS7": 2.03,
"param_SUBDIS8": 2.01,
"param_SUBDIS9": 2.01,
"param_SUBDIS10": 1.71
},
"StructPublic": {
"param_ProjectNum": "N16T",
"param_bVerbose": 0,
"param_LM_BD": 10,
"param_LM_SD": 3.0,
"param_LM_SJ": 6.0,
"param_LM_MI": 50,
"param_LM_DT": 1e-8,
"param_LM_DE": 1e-10,
"param_LM_BE": 1e-8,
"param_LM_CE": 1e-5
},
"StructPublic_SmallFOV": {
"param_Q_Type": 3,
"param_Q_FeatureNum": 400,
"param_Q_RansacThd": 4.0,
"param_Q_AlphaX": 0.15,
"param_Q_DispRankRatio": 0.07,
"param_Q_DsFactor": 1,
"param_Q_WinSize": 21,
"param_Q_MaxLevel": 4,
"param_Q_QualityLevel": 0.005,
"param_P_Type": 3,
"param_P_FeatureNum": 200,
"param_P_RansacThd": 4.0,
"param_P_AlphaX": 0.15,
"param_P_DispRankRatio": 0.07,
"param_P_DsFactor": 1,
"param_P_WinSize": 21,
"param_P_MaxLevel": 4,
"param_P_QualityLevel": 0.005
},
"StructPublic_LargeFOV": {
"param_Q_Type": 3,
"param_Q_FeatureNum": 400,
"param_Q_RansacThd": 3.7,
"param_Q_AlphaX": 0.2,
"param_Q_DispRankRatio": 0.03,
"param_Q_DsFactor": 2,
"param_Q_WinSize": 21,
"param_Q_MaxLevel": 4,
"param_Q_QualityLevel": 0.005,
"param_P_Type": 3,
"param_P_FeatureNum": 250,
"param_P_RansacThd": 3.7,
"param_P_AlphaX": 0.2,
"param_P_DispRankRatio": 0.03,
"param_P_DsFactor": 2,
"param_P_WinSize": 21,
"param_P_MaxLevel": 4,
"param_P_QualityLevel": 0.005
},
"StructIMG_1x_WU_Bin_Bin": {
"param_F_proc": 1.75,
"param_Z_fix": 1000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 4096,
"param_m_4_3h": 3072,
"param_s_4_3w": 2688,
"param_s_4_3h": 2016,
"param_m_16_9w": 4096,
"param_m_16_9h": 2304,
"param_s_16_9w": 2688,
"param_s_16_9h": 1512,
"param_m_allw": 4096,
"param_m_allh": 1844,
"param_s_allw": 2688,
"param_s_allh": 1212
},
"StructIMG_1_4x_WU_Bin_Bin": {
"param_F_proc": 1.50,
"param_Z_fix": 1000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 2708,
"param_m_4_3h": 2032,
"param_s_4_3w": 2240,
"param_s_4_3h": 1680,
"param_m_16_9w": 2708,
"param_m_16_9h": 1524,
"param_s_16_9w": 2240,
"param_s_16_9h": 1260,
"param_m_allw": 2708,
"param_m_allh": 1220,
"param_s_allw": 2240,
"param_s_allh": 1008
},
"StructIMG_2x_WU_Re_Bin": {
"param_F_proc": 1.52,
"param_Z_fix": 2000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 3792,
"param_m_4_3h": 2844,
"param_s_4_3w": 1600,
"param_s_4_3h": 1200,
"param_m_16_9w": 3792,
"param_m_16_9h": 2136,
"param_s_16_9w": 1600,
"param_s_16_9h": 900,
"param_m_allw": 3792,
"param_m_allh": 1708,
"param_s_allw": 1600,
"param_s_allh": 720
},
"StructIMG_2x_WU_Bin_Bin": {
"param_F_proc": 1.52,
"param_Z_fix": 2000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 1896,
"param_m_4_3h": 1422,
"param_s_4_3w": 1600,
"param_s_4_3h": 1200,
"param_m_16_9w": 1896,
"param_m_16_9h": 1068,
"param_s_16_9w": 1600,
"param_s_16_9h": 900,
"param_m_allw": 1896,
"param_m_allh": 856,
"param_s_allw": 1600,
"param_s_allh": 720
},
"StructIMG_3x_WT_Bin_Bin": {
"param_F_proc": 1.29,
"param_Z_fix": 3000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 3072,
"param_m_4_3h": 4096,
"param_s_4_3w": 1380,
"param_s_4_3h": 1840,
"param_m_16_9w": 2304,
"param_m_16_9h": 4096,
"param_s_16_9w": 1036,
"param_s_16_9h": 1840,
"param_m_allw": 1844,
"param_m_allh": 4096,
"param_s_allw": 828,
"param_s_allh": 1840
},
"StructIMG_3x_WU_Bin_Bin": {
"param_F_proc": 1.25,
"param_Z_fix": 3000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 1296,
"param_m_4_3h": 972,
"param_s_4_3w": 960,
"param_s_4_3h": 720,
"param_m_16_9w": 1296,
"param_m_16_9h": 732,
"param_s_16_9w": 960,
"param_s_16_9h": 540,
"param_m_allw": 1296,
"param_m_allh": 584,
"param_s_allw": 960,
"param_s_allh": 432
}
}
@@ -0,0 +1,377 @@
{
"/": "Depth parameters",
"StructB": {
"Struct_NORMAL": {
"paramS1": 4,
"paramS2": 4,
"paramS3": 2,
"paramM-1": 9,
"StructRear": {
"paramC": -10,
"paramD": 64
},
"StructFront": {
"paramC": -45,
"paramD": 64
},
"StructBM": {
"paramA": 31,
"paramB": 31,
"paramG": 0,
"paramT": 500,
"paramM-2": 20,
"paramSR": 0
},
"StructSGBM": {
"paramSC": 1,
"paramCM": 1,
"paramH": 200,
"paramI": 16,
"paramU": 30,
"paramJ": 17,
"paramP1": 8,
"paramP2": 32,
"paramSP": 1
}
},
"Struct_HOT": {
"paramS1": 4,
"paramS2": 4,
"paramS3": 2,
"paramM-1": 9,
"StructRear": {
"paramC": -10,
"paramD": 64
},
"StructFront": {
"paramC": -45,
"paramD": 64
},
"StructBM": {
"paramA": 31,
"paramB": 31,
"paramG": 0,
"paramT": 500,
"paramM-2": 20,
"paramSR": 0
},
"StructSGBM": {
"paramSC": 1,
"paramCM": 1,
"paramH": 200,
"paramI": 16,
"paramU": 30,
"paramJ": 17,
"paramP1": 8,
"paramP2": 32,
"paramSP": 0
}
}
},
"StructDS": {
"paramB1": 0,
"paramB2": 0,
"paramBS": 8,
"paramS": 1,
"paramRR": 30,
"paramXV": 220,
"paramNV": 140,
"paramXV2": 225,
"paramNV2": 80
},
"StructEDGERef": {
"SWITCH": 0,
"SW_TRI": 0,
"SW_MPO": 0,
"B_W": 15,
"S_W": 32,
"M_H": 210,
"M_L": 10,
"R_RF": 1.0,
"Ang_Val": 0,
"To_Up": 0,
"To_Down": 1,
"To_Left": 1,
"To_Right": 0,
"Bg_DiSize": 7,
"Bg_DiCnt": 5,
"Bg_ErSize": 0,
"Bg_ErCnt": 0,
"Tri_ER": 6,
"Tri_DR": 6,
"St_Pix": 1.0
},
"StructI": {
"paramB": 1,
"paramU": 1,
"paramSD": 0,
"paramI": 0,
"paramW": 7,
"paramS": 5,
"paramGT": 0,
"paramT": 200,
"paramBF": 0,
"paramWR": 0.19,
"paramAR": 0.05
},
"StructHairRef": {
"paramTag": 2,
"paramGradThres": 220,
"paramDiffThres": 5
},
"StructF": {
"paramLF": 1,
"paramO": 1,
"paramSC": 2,
"paramLFS": 9,
"paramLFU": 10,
"paramGF": 0,
"paramD": 0,
"paramU": 180,
"paramV1": 105,
"paramV2": 125,
"paramRM": 1,
"paramFR": 0.25
},
"StructP": {
"paramL0": 0,
"paramL1": 1,
"paramL2": 1,
"paramI": 2
},
"StructW": {
"paramB": 0,
"paramI": 1,
"paramS": 2.0,
"paramL": 100
},
"StructC": {
"Struct_NORMAL": {
"paramT": 0,
"paramD": 5,
"paramS": 5,
"paramL0": 4,
"paramL1": 4,
"paramL2": 4,
"paramL3": 0,
"paramL4": 0,
"paramL": 48.0,
"paramVN": 30000,
"paramCONF": 1,
"paramGN": 1,
"paramMN": 0,
"paramSWD": 0,
"paramCCM": 1,
"paramFRC": 1.0,
"paramTolerr": 0.001,
"paramIterMax": 150,
"paramIterCheck": 10,
"paramMskErodeNum": 0
},
"Struct_HOT": {
"paramT": 0,
"paramD": 5,
"paramS": 6,
"paramL0": 5,
"paramL1": 4,
"paramL2": 5,
"paramL3": 0,
"paramL4": 0,
"paramL": 48.0,
"paramVN": 15000,
"paramCONF": 1,
"paramGN": 1,
"paramMN": 0,
"paramSWD": 0,
"paramCCM": 1,
"paramFRC": 1.0,
"paramTolerr": 0.001,
"paramIterMax": 150,
"paramIterCheck": 10,
"paramMskErodeNum": 0
}
},
"StructBlurDisp": {
"paramSwitch": 0,
"paramThresDensity": 0.5,
"paramThresVar": 10
},
"StructPostProSwitch": {
"paramNonEdge": 1,
"paramDTF": 1,
"paramSDR": 1,
"paramSDRT": 0.03
},
"StructTimeControl": {
"paramOvertimeThres": 4000
},
"//": "Calib parameters",
"StructM_WU": {
"param_InitMode": 1,
"param_AFnum": 1,
"param_PreProcessDark": 1,
"param_Tx": 0,
"param_Ty": -13.646,
"param_BSwap": 1,
"param_algType3_RKr": 1,
"param_UndisSelect": 2,
"param_BinHasDistable": 1,
"param_MAINDIS0": 0,
"param_MAINDIS1": 0.33,
"param_MAINDIS2": 0.90,
"param_MAINDIS3": 1.42,
"param_MAINDIS4": 1.53,
"param_MAINDIS5": 1.54,
"param_MAINDIS6": 1.63,
"param_MAINDIS7": 1.59,
"param_MAINDIS8": 1.52,
"param_MAINDIS9": 1.46,
"param_MAINDIS10": 1.15,
"param_SUBDIS0": 0,
"param_SUBDIS1": -0.03,
"param_SUBDIS2": -0.26,
"param_SUBDIS3": -0.27,
"param_SUBDIS4": -0.26,
"param_SUBDIS5": -0.27,
"param_SUBDIS6": -0.37,
"param_SUBDIS7": -0.38,
"param_SUBDIS8": -0.47,
"param_SUBDIS9": -0.77,
"param_SUBDIS10": -1.23
},
"StructM_WT": {
"param_InitMode": 1,
"param_AFnum": 1,
"param_PreProcessDark": 1,
"param_Tx": -14.695,
"param_Ty": 0,
"param_BSwap": 1,
"param_algType3_RKr": 1,
"param_UndisSelect": 2,
"param_BinHasDistable": 1,
"param_MAINDIS0": 0,
"param_MAINDIS1": 0,
"param_MAINDIS2": 0,
"param_MAINDIS3": 0.05,
"param_MAINDIS4": 0.16,
"param_MAINDIS5": 0.26,
"param_MAINDIS6": 0.30,
"param_MAINDIS7": 0.31,
"param_MAINDIS8": 0.32,
"param_MAINDIS9": 0.29,
"param_MAINDIS10": 0.16,
"param_SUBDIS0": 0,
"param_SUBDIS1": 0.34,
"param_SUBDIS2": 0.94,
"param_SUBDIS3": 1.52,
"param_SUBDIS4": 1.72,
"param_SUBDIS5": 1.84,
"param_SUBDIS6": 2.00,
"param_SUBDIS7": 2.03,
"param_SUBDIS8": 2.01,
"param_SUBDIS9": 2.01,
"param_SUBDIS10": 1.71
},
"StructPublic": {
"param_ProjectNum": "N9",
"param_bVerbose": 0,
"param_LM_BD": 10,
"param_LM_SD": 3.0,
"param_LM_SJ": 6.0,
"param_LM_MI": 50,
"param_LM_DT": 1e-8,
"param_LM_DE": 1e-10,
"param_LM_BE": 1e-8,
"param_LM_CE": 1e-5
},
"StructPublic_SmallFOV": {
"param_Q_Type": 3,
"param_Q_FeatureNum": 400,
"param_Q_RansacThd": 2.0,
"param_Q_AlphaX": 0.1,
"param_Q_DispRankRatio": 0.07,
"param_Q_DsFactor": 1,
"param_Q_WinSize": 21,
"param_Q_MaxLevel": 4,
"param_Q_QualityLevel": 0.005,
"param_P_Type": 3,
"param_P_FeatureNum": 200,
"param_P_RansacThd": 2.0,
"param_P_AlphaX": 0.1,
"param_P_DispRankRatio": 0.07,
"param_P_DsFactor": 1,
"param_P_WinSize": 21,
"param_P_MaxLevel": 4,
"param_P_QualityLevel": 0.005
},
"StructPublic_LargeFOV": {
"param_Q_Type": 3,
"param_Q_FeatureNum": 400,
"param_Q_RansacThd": 2.0,
"param_Q_AlphaX": 0.2,
"param_Q_DispRankRatio": 0.02,
"param_Q_DsFactor": 2,
"param_Q_WinSize": 21,
"param_Q_MaxLevel": 4,
"param_Q_QualityLevel": 0.005,
"param_P_Type": 3,
"param_P_FeatureNum": 200,
"param_P_RansacThd": 2.0,
"param_P_AlphaX": 0.2,
"param_P_DispRankRatio": 0.02,
"param_P_DsFactor": 2,
"param_P_WinSize": 21,
"param_P_MaxLevel": 4,
"param_P_QualityLevel": 0.005
},
"StructIMG_1_4x_WU_Bin_Bin": {
"param_F_proc": 1.35,
"param_Z_fix": 1000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 2152,
"param_m_4_3h": 2868,
"param_s_4_3w": 1680,
"param_s_4_3h": 2240
},
"StructIMG_2x_WT_Bin_Bin": {
"param_F_proc": 1.45,
"param_Z_fix": 2000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 4080,
"param_m_4_3h": 3060,
"param_s_4_3w": 3200,
"param_s_4_3h": 2400
},
"StructIMG_2x_WU_Bin_Bin": {
"param_F_proc": 1.30,
"param_Z_fix": 2000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 1602,
"param_m_4_3h": 2136,
"param_s_4_3w": 1200,
"param_s_4_3h": 1600
},
"StructIMG_3_75x_WT_Bin_Bin": {
"param_F_proc": 1.40,
"param_Z_fix": 3000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 2132,
"param_m_4_3h": 1600,
"param_s_4_3w": 1600,
"param_s_4_3h": 1200
},
"StructIMG_3_75x_WU_Bin_Bin": {
"param_F_proc": 1.50,
"param_Z_fix": 3000,
"param_M_Nc": 1,
"param_S_Nc": 1,
"param_m_4_3w": 838,
"param_m_4_3h": 1116,
"param_s_4_3w": 720,
"param_s_4_3h": 960
}
}
@@ -0,0 +1,59 @@
{
"//": "Global parameters",
"StructGlobal": {
"StructMask": {
"paramSwitch": 2,
"paramaiMaskDownSample": 4,
"parammImaskW": 960,
"parammImaskH": 720,
"paramDetModel": "human_detect",
"paramSegModel": "portrait_blur"
},
"StructAiDepth": {
"paramSwitch": 1,
"paramDepthW": 1024
},
"StructDenseNN": {
"paramSwitch": 1,
"paramDeploySwitchA": 0,
"paramDeploySwitchB": 1,
"paramDeploySwitchC": 1,
"paramDeploySwitchD": 1,
"paramSpDispScale": 4.0,
"StructModel1": {
"paramVer": "6.22",
"paramDepthW": 1024,
"paramDepthH": 768,
"paramDepthQSL": 0.000072317373,
"paramDepthQOL": -29158.0,
"paramDepthQSS": 0.000601360516,
"paramDepthQOS": -3581.0,
"paramDepthQSD": 0.000943084189,
"paramDepthQOD": -8067.0
},
"StructModel2": {
"paramVer": "8.14",
"paramDepthW": 512,
"paramDepthH": 512,
"paramDepthQSL": 0.000072317373,
"paramDepthQOL": -29158.0,
"paramDepthQSS": 0.000799827103,
"paramDepthQOS": -3428.0,
"paramDepthQSM": 0.000015169498,
"paramDepthQOM": 0.0,
"paramDepthQSD": 0.001107566874,
"paramDepthQOD": -5324.0
}
},
"StructMultiThread": {
"paramMaskThreadSwitch": 1,
"paramBgFilterSwitch": 0,
"paramAiDepthThreadSwitch": 1
},
"StructDspGpu": {
"paramBmDspSwitch": 1,
"paramMatteGpuSwitch": 1
},
"paramIsTrustAfCode": 1
}
}
File diff suppressed because it is too large Load Diff
Binary file not shown.
@@ -0,0 +1,32 @@
#if there is any change, please modify the commiter and modification time when submitting
commiter: 'shanwenjun'
timestamp: '2022112216634'
product_name: "M1"
platform: 'qcom'
trigger_param:
rear:
trigger_method: 24 # 5 bit, 0b___ h->l: dead-dark over-exp hdrbhist-svm real-drc preview-yuv
normal:
HDR-AUTO: # [uw, wide, 2x, tele]
overexp_start_bin: [254, 254, 254, 254]
overexp_ratio: [0.01, 0.01, 0.01, 0.01]
dd_bin: [10, 10, 10, 10]
dd_ratio: [0.05, 0.05, 0.05, 0.05]
HDR-ON: # just for india version
overexp_start_bin: [254, 254, 254, 254]
overexp_ratio: [0.01, 0.01, 0.01, 0.01]
dd_bin: [10, 10, 10, 10]
dd_ratio: [0.05, 0.05, 0.05, 0.05]
front:
trigger_method: 24 # 5 bit, 0b___ h->l: dead-dark over-exp hdrbhist-svm real-drc preview-yuv
HDR-AUTO:
overexp_ratio: 0.01
overexp_start_bin: 254
dd_bin: 10
dd_ratio: 0.05
HDR-ON: # just for india version
overexp_ratio: 0.01
overexp_start_bin: 254
dd_bin: 10
dd_ratio: 0.05
@@ -0,0 +1,291 @@
#if there is any change, please modify the commiter and modification time when submitting
commiter: 'zhangqingjie1'
timestamp: '202309071030'
product_name: "N3"
platform: 'qcom'
trigger_param:
enable: 0
rear:
trigger_method: 24 # four bit, 0b___ h->l: over-exp hdrbhist-svm real-drc preview-yuv
normal:
HDR-AUTO: # [uw, wide, 2x, tele]
real_drc_gain: [3.5, 6.0, 3.5, 3.5]
real_drc_gain_with_face: [2.75, 4.0, 2.75, 2.75]
luxindex: [360, 325, 360, 360]
threshold: [0.73, 0.73, 0.73, 0.73]
overexp_start_bin: [254, 254, 254, 254]
overexp_ratio: [0.01, 0.01, 0.01, 0.01]
dd_bin: [10, 10, 10, 10]
dd_ratio: [0.05, 0.05, 0.05, 0.05]
HDR-ON: # just for india version
real_drc_gain: [3.5, 6.0, 3.5, 3.5]
real_drc_gain_with_face: [2.75, 4.0, 2.75, 2.75]
luxindex: [360, 325, 360, 360]
threshold: [0.5, 0.5, 0.5, 0.5]
overexp_start_bin: [254, 254, 254, 254]
overexp_ratio: [0.01, 0.01, 0.01, 0.01]
dd_bin: [10, 10, 10, 10]
dd_ratio: [0.05, 0.05, 0.05, 0.05]
lowlight:
detect: 24 # 5 bit, 0b____, hist-darkratio, luxindex, exp time, sensitivity, ae luma
disable_sr: true
enable_auto: [1, 1, 1, 1]
enable_on: [1, 1, 1, 1]
exp_time: [30, 30, 30, 30]
luxindex: [325, 325, 325, 325]
threshold: [0.6, 0.6, 0.6, 0.6]
luma_1: [10.1, 10.1, 10.1, 10.1]
luma_2: [12.1, 12.1, 12.1, 12.1]
luma_3: [15.1, 15.1, 15.1, 15.1]
expo_1: [30, 30, 30, 30]
expo_2: [50, 50, 50, 50]
expo_3: [60, 60, 60, 60]
sensitivity: [1000, 1000, 1000, 1000]
dark_luxindex: [250, 250, 250, 250]
dark_luxindex_madrid: [260, 260, 260, 260]
preview_dark_ratio: [0.3, 0.45, 0.2, 0.2]
preview_middle_ratio: [0.425, 0.3, 0.5, 0.5]
dark_luxindex1: [280, 285, 280, 280]
preview_dark_ratio1: [0.2, 0.2, 0.2, 0.2]
preview_middle_ratio1: [0.55, 0.55, 0.55, 0.55]
preview_dark_bin: [50, 50, 50, 50]
preview_middle_bin0: [80, 80, 80, 80]
preview_middle_bin1: [200, 200, 200, 200]
scene_det_luxindex: [250, 250, 250, 250]
detect_with_model:
enable: [1, 1, 1, 1]
freelux: [355, 385, 385, 385]
prio0:
luxindex: [325, 325, 325, 325]
model_logic: [0, 0, 0, 0]
dark_bin: [50, 50, 50, 50]
mid_bin0: [80, 80, 80, 80]
mid_bin1: [200, 200, 200, 200]
dark_ratio: [0.2, 0.25, 0.2, 0.2]
mid_ratio: [0.5, 0.55, 0.5, 0.5]
prio1:
luxindex: [270, 280, 265, 265]
model_logic: [0, 0, 0, 0]
dark_bin: [50, 50, 50, 50]
mid_bin0: [80, 80, 80, 80]
mid_bin1: [200, 200, 200, 200]
dark_ratio: [0.4, 0.45, 0.4, 0.4]
mid_ratio: [0.4, 0.35, 0.4, 0.4]
prio2:
luxindex: [240, 255, 240, 240]
model_logic: [0, 0, 0, 0]
dark_bin: [50, 50, 50, 50]
mid_bin0: [80, 80, 80, 80]
mid_bin1: [200, 200, 200, 200]
dark_ratio: [0.5, 0.525, 0.5, 0.5]
mid_ratio: [0.25, 0.275, 0.25, 0.25]
prio3:
luxindex: [200, 200, 200, 200]
model_logic: [0, 0, 0, 0]
dark_bin: [35, 35, 35, 35]
mid_bin0: [60, 60, 60, 60]
mid_bin1: [150, 150, 150, 150]
dark_ratio: [0.65, 0.7, 0.65, 0.65]
mid_ratio: [0.1, 0.1, 0.1, 0.1]
detect_with_model_face:
enable: [1, 1, 1, 1]
freelux: [355, 385, 385, 385]
prio0:
luxindex: [325, 325, 325, 325]
model_logic: [0, 0, 0, 0]
dark_bin: [50, 50, 50, 50]
mid_bin0: [80, 80, 80, 80]
mid_bin1: [200, 200, 200, 200]
dark_ratio: [0.2, 0.25, 0.2, 0.2]
mid_ratio: [0.5, 0.55, 0.5, 0.5]
prio1:
luxindex: [285, 285, 285, 285]
model_logic: [0, 0, 0, 0]
dark_bin: [50, 50, 50, 50]
mid_bin0: [80, 80, 80, 80]
mid_bin1: [200, 200, 200, 200]
dark_ratio: [0.5, 0.45, 0.4, 0.4]
mid_ratio: [0.3, 0.35, 0.4, 0.4]
prio2:
luxindex: [255, 255, 255, 255]
model_logic: [0, 0, 0, 0]
dark_bin: [50, 50, 50, 50]
mid_bin0: [80, 80, 80, 80]
mid_bin1: [200, 200, 200, 200]
dark_ratio: [0.5, 0.525, 0.5, 0.5]
mid_ratio: [0.25, 0.275, 0.25, 0.25]
prio3:
luxindex: [200, 200, 200, 200]
model_logic: [0, 0, 0, 0]
dark_bin: [35, 35, 35, 35]
mid_bin0: [60, 60, 60, 60]
mid_bin1: [150, 150, 150, 150]
dark_ratio: [0.65, 0.7, 0.65, 0.65]
mid_ratio: [0.1, 0.1, 0.1, 0.1]
bokeh:
enable: 0
real_drc_gain: 5.5
luxindex: 325
hdsr:
enable: 1
zoom_max: 20.0
zoom_min: 1.0
face_restriction: 0
sr_ev0_num: 8
ev_short: -9
preview_overexp: 1
preview_overexp_th: 0.010
flash:
enable: 0
front:
trigger_method: 24 # four bit, 0b___ h->l: over-exp hdrbhist-svm real-drc preview-yuv
HDR-AUTO:
real_drc_gain: 6.0
luxindex: 360
threshold: 0.665
overexp_ratio: 0.01
overexp_start_bin: 250
dd_bin: 10
dd_ratio: 0.05
enable_lowlight: 1
HDR-ON: # just for india version
real_drc_gain: 6.0
luxindex: 360
threshold: 0.73
overexp_ratio: 0.01
overexp_start_bin: 250
dd_bin: 10
dd_ratio: 0.05
enable_lowlight: 1
ev_setting:
rear:
ev_method: 1 # 0 fixed, 1 dynamic
ev_formula: [5, 5, 5, 5]
ev_positive: [7, 7, 5, 5]
ev_pos_dark:
val: [10, 10, 10, 10]
lux: [185, 185, 185, 185]
dd_ratio: [0.45, 0.45, 0.45, 0.45]
ev_4_frame: [0, 0, 0, 0] # support 4 frame pipeline?
switch_ev_seq: [1, 1, 1, 1] # dynamic switch ev sequence
switch_ev_cond: [-18, -18, -18, -18] # dynamic switch ev sequence
ev_need_short_lux: [0, 0, 0, 0]
ev_need_short_lux_madrid: [230, 230, 230, 230]
black_bin: [45, 45, 45, 45]
black_ratio: [0.045, 0.045, 0.045, 0.045]
ev_normal: [9, 0, -24]
ev_lowlight: [-30, 0, -12]
ev_lowlight_bright: [-30, 0, -12]
ev_lowlight_bright_enable: [1, 1, 1, 1]
ev_lowlight_bright_realdrc: [6.0, 8.0, 8.0, 8.0]
ev_bokeh: [0, -24]
ev_flash: [-24, -12, 0]
ev_order: [[1, 2, 0, 3], [1, 2, 0, 3], [1, 2, 0, 3], [1, 2, 0, 3]]
ev_limit: [[-12, -30], [-12, -30], [-12, -30], [-12, -30]]
ev_attenuation: [-24, -24, -24, -24]
attenuation_lux: [250, 250, 250, 250]
attenuation_real_drc: [3.75, 4.0, 4.0, 4.0]
attenuation_adrc: [2.75, 3.0, 3.0, 3.0]
revise: [1, 1, 1, 1] # [uw, wide, 2x, tele]
revise_interval: [[-18, -24, -30], [-18, -24, -30], [-18, -24, -30], [-18, -24, -30]]
ev_adj: [1, 1, 1, 1] # [uw, wide, 2x, tele] just for MTK
delta_ev: [0, 0, 0, 0] # just for mtk
delta_ev_method: [1, 0, 0, 0] # 0 use arcsoft method | 1 new method
lce_gain_max_ratio: [0, 1, 1, 1] # notice:lce_gain_max_ratio+lce_gain_middle_ratio=1
lce_gain_middle_ratio: [1, 0, 0, 0]
delta_normal: 0
delta_lowlight: 0
delta_bokeh: 0
new_dynamic_ev_params:
ev_limit:
gear1: #-42
ev_limit_val: [-42, -42, -42, -42]
face: [1, 1, 1, 1]
real_adrc_gain: [7.0, 7.5, 7.5, 7.5]
adrc_gain: [0, 0, 0, 0]
adrc_gain_diff: [3.5, 4.0, 4.0, 4.0]
luxindex: [300, 250, 250, 250]
noise:
enable: [1, 0, 0, 0]
face_needs: [1, 0, 0, 0]
short_min: [-12, -12, -12, -12]
vs_min: [-36, -36, -36, -36]
enable: [1, 1, 1, 1]
max_adrc_gain: [6, 6, 6, 6]
ev_limit: [-42, -42, -42, -42]
ev_comp_coef: [-9, -6, -6, -6]
min_exposure: [83126, 52598, 72900, 72900]
adrc_diff_comp:
luxindex: [335, 335, 1000, 1000]
adrc_diff_th: [0.95, 0.95, 1.0, 1.0]
adrc_diff_addi: [1.5, 1.5, 1.5, 1.5]
in_out_door:
luxindex: [210, 200, 200, 200]
shutter: [10, 10, 10, 10]
luma: [125, 135, 125, 125]
outdoor:
overexp: [0.015, 0.015, 0.015, 0.015]
ev_limit: [-48, -48, -48, -48]
blue_light:
mid_luma_bin0: [80, 80, 80, 80]
mid_luma_bin1: [210, 210, 210, 210]
mid_global_avg_diff0: [10, 10, 10, 10]
mid_global_avg_diff1: [40, 40, 40, 40]
luma_0: [80, 87.5, 80, 80]
luma_1: [120, 120, 120, 120]
luxindex0: [200, 200, 200, 200]
luxindex1: [260, 250, 250, 250]
shutter: [9.9, 9.9, 9.9, 9.9]
ev_limit: [-30, -24, -24, -24]
sun:
luxindex: [105, 105, 50, 50]
overexp: [0.02, 0.02, 0.02, 0.02]
bokeh_lux: [0, 0, 0, 0]
sun_compensation: [-6, 0, -6, -6]
bokeh:
inhibitory: [6, 6, 6, 6]
clamp: [-30, -30, -30, -30]
front:
ev_method: 0 # 0 fixed, 1 dynamic
ev_formula: 0
ev_positive: 9
ev_limit: [-9, -30]
ev_front: [0, -18, -36]
ev_front_lt: [0, -18, -36]
ev_front_ll: [0, -18, -36]
light_lux: 325
ev_order: [0, 1, 2, 3]
uiev_inflection_overexp: 0.4
uiev_pos_extreme_overexp: 0.80
delta_ev: 0
options:
support_hdsr: 0
support_flash: 0
support_bokeh: 0
support_ui_ae: 1
support_ui_ae_zoom: [0.999, 1.001]
support_zsl: 0
break_frame: 0
enable_adrc_ev0: 0
exp_time_unit: 1000000
choose_model_rear: 1 # 0~3
choose_model_front: 0 # 0~3
state_luxindex: 15
state_hist_corr: 0.9
state_hdrbhist_diff: 0.2
judge_ae_active: 1
judge_ae_converge: 0
judge_ae_luxindex: 5
judge_ae_frame: 5
skip_ae_lock: 1
skip_locked_frames: -1
reorder_ev: 1
preview_limit_ev: false
hist_stats_step: 4
face_det_break_frames: 3
determine_zsl: 2
test_idx: 4
stagger:
cameraid: 10
uiae: 0
+137
View File
@@ -0,0 +1,137 @@
{
"HOOK_GROUP": [
{
"group_id" : 1,
"group_name": "NCSSensorProbe",
"case" : [1]
},
{
"group_id" : 2,
"group_name": "ProbeEEPROM",
"case" : [2]
},
{
"group_id" : 3,
"group_name": "NCSProviderPostData",
"case" : [3]
},
{
"group_id" : 4,
"group_name": "ReadEEPROMDevice",
"case" : [4]
},
{
"group_id" : 5,
"group_name": "ActuatorI2C",
"case" : [5]
},
{
"group_id" : 6,
"group_name" : "EEPROMI2C",
"case" : [6]
},
{
"group_id" : 7,
"group_name" : "CheckForRecovery",
"case" : [7]
}
],
"HOOK_CASE" : [
{
"case_id" : 1,
"case_name" : "NCSSensorProbe",
"hook_function" : ["NCSSensorProbeHook"]
},
{
"case_id" : 2,
"case_name" : "ProbeEEPROM",
"hook_function" : ["ProbeEEPROMHook"]
},
{
"case_id" : 3,
"case_name" : "NCSProviderPostData",
"hook_function" : ["NCSProviderPostDataHook"]
},
{
"case_id" : 4,
"case_name" : "ReadEEPROMDevice",
"hook_function" : ["ReadEEPROMDeviceHook"]
},
{
"case_id" : 5,
"case_name" : "ActuatorI2C",
"hook_function" : ["ActuatorDataHook"]
},
{
"case_id" : 6,
"case_name" : "EEPROMI2C",
"hook_function" : ["CreateI2CInfoCmdHook"]
},
{
"case_id" : 7,
"case_name" : "CheckForRecovery",
"hook_function" : ["CheckForRecoveryHook"]
}
],
"HOOK_FUNCTION":
[
{
"hook_name": "NCSSensorProbeHook",
"source_lib_name": "/vendor/lib64/hw/camera.qcom.so",
"target_lib_name": "/vendor/lib64/com.xiaomi.chi.hook.so",
"source_function_address": "_ZN4CamX11NCSIntfQSEE11ProbeSensorENS_13NCSSensorTypeE",
"target_function_address": "_Z18NCSSensorProbeHookPvi",
"hook_type": 2
},
{
"hook_name": "ProbeEEPROMHook",
"source_lib_name": "/vendor/lib64/hw/camera.qcom.so",
"target_lib_name": "/vendor/lib64/com.xiaomi.camx.hook.so",
"source_function_address": "_ZN4CamX21ImageSensorModuleData11ProbeEEPROMEPNS_12HwSensorInfoEPKNS_16HwDeviceTypeInfoE",
"target_function_address": "_ZN4CamX15ProbeEEPROMHookEPvPNS_12HwSensorInfoEPKNS_16HwDeviceTypeInfoE",
"hook_type": 2
},
{
"hook_name": "NCSProviderPostDataHook",
"source_lib_name": "/vendor/lib64/hw/camera.qcom.so",
"target_lib_name": "/vendor/lib64/com.xiaomi.camx.hook.so",
"source_function_address": "_ZN4CamX11NCSProvider8PostDataEPNS_13NCSBufferInfoEPPh",
"target_function_address": "_ZN4CamX23NCSProviderPostDataHookEPvPNS_13NCSBufferInfoEPPh",
"hook_type": 1
},
{
"hook_name" : "ReadEEPROMDeviceHook",
"source_lib_name": "/vendor/lib64/hw/camera.qcom.so",
"target_lib_name": "/vendor/lib64/com.xiaomi.camx.hook.so",
"source_function_address" : "_ZN4CamX10EEPROMData16ReadEEPROMDeviceEv",
"target_function_address" : "_ZN4CamX20ReadEEPROMDeviceHookEPv",
"hook_type": 2
},
{
"hook_name" : "ActuatorDataHook",
"source_lib_name": "/vendor/lib64/hw/camera.qcom.so",
"target_lib_name": "/vendor/lib64/com.xiaomi.camx.hook.so",
"source_function_address" : "_ZN4CamX12ActuatorData16CreateI2CInfoCmdEP16CSLSensorI2CInfo",
"target_function_address" : "_ZN4CamX16ActuatorDataHookEPvP16CSLSensorI2CInfo",
"hook_type": 1
},
{
"hook_name" : "CreateI2CInfoCmdHook",
"source_lib_name": "/vendor/lib64/hw/camera.qcom.so",
"target_lib_name": "/vendor/lib64/com.xiaomi.camx.hook.so",
"source_function_address" : "_ZN4CamX10EEPROMData16CreateI2CInfoCmdEP16CSLSensorI2CInfot",
"target_function_address" : "_ZN4CamX20CreateI2CInfoCmdHookEPvP16CSLSensorI2CInfot",
"hook_type": 2
},
{
"hook_name" : "CheckForRecoveryHook",
"source_lib_name": "/vendor/lib64/hw/com.qti.chi.override.so",
"target_lib_name": "/vendor/lib64/com.xiaomi.chi.hook.so",
"source_function_address" : "_ZN15Feature2Wrapper16CheckForRecoveryEj",
"target_function_address" : "_Z20CheckForRecoveryHookPvj",
"hook_type": 1
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
{
"miasd_config_version": "1",
"SNSCNonZSL2_lux": {
"0": "2",
"360": "6"
}
}
@@ -0,0 +1,935 @@
{
"project_overlap_config_fn": "proj_overlap_config.json",
"device_ex_info_fn": "device_ex_info.json",
"CAMX__SENSOR_IMAGE_SIZES": [
{
"width" : 8192,
"height" : 6144,
"note" : ""
},
{
"width" : 8160,
"height" : 6144,
"note" : ""
},
{
"width" : 6528,
"height" : 4896,
"note" : ""
},
{
"width" : 4096,
"height" : 3072,
"note" : "4:3 Wide"
},
{
"width" : 4080,
"height" : 3072,
"note" : "TELE2x & Ultra active size for factory"
},
{
"width" : 4096,
"height" : 2304,
"note" : "16:9 Wide"
},
{
"width" : 3264,
"height" : 2448,
"note" : "4:3 Front OV32C"
},
{
"width" : 4000,
"height" : 3000,
"note" : "4:3 Ultra OV13B"
},
{
"width" : 3648,
"height" : 2736,
"note" : "4:3 TELE2x"
}
],
"CAMX__STANDARD_IMAGE_SIZES": [
{
"width" : 3072,
"height" : 3072,
"note" : "1:1 Wide & Front & TELE2x & Ultra"
},
{
"width" : 4096,
"height" : 2160,
"note" : "DC4K Video"
},
{
"width" : 4096,
"height" : 1844,
"note" : "full screen 20:9 wide"
},
{
"width" : 4080,
"height" : 3060,
"note" : "2x Bokeh 4:3 Strict 4:3 size"
},
{
"width" : 4080,
"height" : 2296,
"note" : "16:9 ultra Tele2x"
},
{
"width" : 4080,
"height" : 1836,
"note" : "16:9 ultra Tele2x"
},
{
"width" : 3840,
"height" : 2160,
"note" : "4k video"
},
{
"width" : 2880,
"height" : 2160,
"note" : "4k 4:3"
},
{
"width" : 2448,
"height" : 2448,
"note" : "1:1 Front"
},
{
"width" : 3200,
"height" : 1800,
"note" : "16:9 Front"
},
{
"width" : 3200,
"height" : 1440,
"note" : "2k 20:9"
},
{
"width" : 2560,
"height" : 1440,
"note" : "QHD"
},
{
"width" : 1920,
"height" : 1440,
"note" : "4:3 preview"
},
{
"width" : 2400,
"height" : 1080,
"note" : ""
},
{
"width" : 1920,
"height" : 1080,
"note" : "16:9 preview"
},
{
"width" : 1600,
"height" : 1200,
"note" : "UXGA"
},
{
"width" : 1440,
"height" : 1080,
"note" : "Wide HD"
},
{
"width" : 1280,
"height" : 960,
"note" : "SXGA"
},
{
"width" : 1600,
"height" : 720,
"note" : "720p 20:9"
},
{
"width" : 1280,
"height" : 720,
"note" : "720p"
},
{
"width" : 960,
"height" : 720,
"note" : "720p 4:3"
},
{
"width" : 800,
"height" : 600,
"note" : "SVGA"
},
{
"width" : 720,
"height" : 480,
"note" : "480p"
},
{
"width" : 640,
"height" : 480,
"note" : "VGA"
},
{
"width" : 352,
"height" : 288,
"note" : "VGA"
},
{
"width" : 320,
"height" : 240,
"note" : "QVGA"
},
{
"width" : 176,
"height" : 144,
"note" : "QCIF"
}
],
"CAMX__XIAOMI_CUSTOM_SUPPORTED_IMAGE_SIZES": [
{
"width" : 8160,
"height" : 6144,
"note" : "SWRemosaic 4:3 ultra Tele2x"
},
{
"width" : 4096,
"height" : 1844,
"note" : "full screen 20:9 wide"
},
{
"width" : 4080,
"height" : 3060,
"note" : "2x Bokeh 4:3 Strict 4:3 size"
},
{
"width" : 4080,
"height" : 2296,
"note" : "16:9 ultra Tele2x"
},
{
"width" : 4080,
"height" : 1836,
"note" : "full screen 20:9 ultra Tele2x"
},
{
"width" : 4064,
"height" : 3048,
"note" : "4:3 TELE2x & Ultra"
},
{
"width" : 4000,
"height" : 3000,
"note" : ""
},
{
"width" : 4000,
"height" : 1800,
"note" : "full screen 20:9 wide ultra Tele2x"
},
{
"width" : 3200,
"height" : 1440,
"note" : "full screen 20:9 Front"
},
{
"width" : 3968,
"height" : 2232,
"note" : "binning 16:9 ultra Tele2x"
},
{
"width" : 3040,
"height" : 2280,
"note" : "1x Bokeh 4:3 ultra cropsize"
},
{
"width" : 3040,
"height" : 1712,
"note" : "1x Bokeh 16:9"
},
{
"width" : 3040,
"height" : 1368,
"note" : "1x Bokeh fullsize"
},
{
"width" : 2592,
"height" : 1944,
"note" : "2x Bokeh 4:3 wide cropszie"
},
{
"width" : 2592,
"height" : 1460,
"note" : "2x Bokeh 16:9 cropszie"
},
{
"width" : 2592,
"height" : 1168,
"note" : "2x Bokeh fullsize cropszie"
},
{
"width" : 1080,
"height" : 1080,
"note" : "1:1 preview"
},
{
"width" : 680,
"height" : 306,
"note" : "full screen map size"
},
{
"width" : 544,
"height" : 306,
"note" : "16:9 screen map size"
},
{
"width" : 408,
"height" : 306,
"note" : "4:3 screen map size"
},
{
"width" : 306,
"height" : 306,
"note" : "1:1 screen map size"
}
],
"CAMX__XIAOMI_REAR_QCFA_IMAGE_SIZES": [
{
"width" : 8192,
"height" : 6144,
"note" : "IMX800 HWRemosaic 4:3 Wide"
},
{
"width" : 8160,
"height" : 6144,
"note" : "IMX800 HWRemosaic 4:3 Wide"
},
{
"width" : 8192,
"height" : 4608,
"note" : "IMX800 HWRemosaic 16:9 Wide"
},
{
"width" : 7680,
"height" : 4320,
"note" : "8k UHD"
},
{
"width" : 6144,
"height" : 8192,
"note" : "IMX800 HWRemosaic 4:3 Wide heif"
},
{
"width" : 6144,
"height" : 8160,
"note" : "IMX800 HWRemosaic 4:3 Wide heif"
},
{
"width" : 3072,
"height" : 4096,
"note" : "4:3 Wide heif"
},
{
"width" : 3072,
"height" : 4080,
"note" : "TELE2x active size for factory heif"
},
{
"width" : 2304,
"height" : 4096,
"note" : "16:9 Wide heif"
},
{
"width" : 2296,
"height" : 4080,
"note" : "16:9 ultra Tele2x heif"
},
{
"width" : 1844,
"height" : 4096,
"note" : "full screen 20:9 wide heif"
},
{
"width" : 1836,
"height" : 4080,
"note" : "full screen 20:9 ultra Tele2x heif"
}
],
"CAMX__XIAOMI_FRONT_QCFA_IMAGE_SIZES": [
{
"width" : 6528,
"height" : 4896,
"note" : "OV32C SWRemosaic 4:3 Front"
},
{
"width" : 6528,
"height" : 3672,
"note" : "OV32C SWRemosaic 16:9 Front"
},
{
"width" : 4896,
"height" : 4896,
"note" : "OV32C SWRemosaic 1:1 Front"
},
{
"width" : 6400,
"height" : 2880,
"note" : "OV32C SWRemosaic 20:9 Front"
},
{
"width" : 4896,
"height" : 6528,
"note" : "OV32C SWRemosaic 4:3 Front heif"
},
{
"width" : 3672,
"height" : 6528,
"note" : "OV32C SWRemosaic 16:9 Front heif"
},
{
"width" : 2880,
"height" : 6400,
"note" : "OV32C SWRemosaic 20:9 Front heif"
}
],
"CAMX__XIAOMI_REAR_QCFA_LIMIT_IMAGE_SIZES": [
{
"width" : 7680,
"height" : 4320,
"note" : "8k UHD"
}
],
"CAMX__XIAOMI_FRONT_QCFA_LIMIT_IMAGE_SIZES": [
{
"width" : 6528,
"height" : 4896,
"note" : "OV32C SWRemosaic 4:3 Front"
},
{
"width" : 6528,
"height" : 3672,
"note" : "OV32C SWRemosaic 16:9 Front"
},
{
"width" : 6400,
"height" : 2880,
"note" : "OV32C SWRemosaic 20:9 Front"
}
],
"CAMX__XIAOMI_SUPER_RESOLUTION_IMAGE_SIZES": [
{
"width" : 8192,
"height" : 6144,
"note" : "IMX707 HWRemosaic 4:3 Wide"
},
{
"width" : 8160,
"height" : 6144,
"note" : "IMX707 HWRemosaic 4:3 Wide"
},
{
"width" : 1440,
"height" : 1080,
"note" : "4:3 Preview"
}
],
"CAMX__XIAOMI_RAW_IMAGE_SIZES": [
{
"width" : 4096,
"height" : 3072,
"note" : "wide"
},
{
"width" : 4080,
"height" : 3072,
"note" : "ultra & tele2x"
}
],
"CAMX__XIAOMI_CUSTOM_SUPPORTED_THUMBNAIL_SIZES": [
{
"width" : 0,
"height" : 0,
"note" : ""
},
{
"width" : 200,
"height" : 90,
"note" : ""
},
{
"width" : 234,
"height" : 108,
"note" : ""
},
{
"width" : 240,
"height" : 240,
"note" : ""
},
{
"width" : 256,
"height" : 144,
"note" : ""
},
{
"width" : 320,
"height" : 240,
"note" : ""
}
],
"CAMX__XIAOMI_REAR_HDR_BINNING_IMAGE_SIZES": [
{
"width" : 0,
"height" : 0,
"note" : "placeholder,invalid size"
}
],
"CAMX__XIAOMI_VIDEO_SIZE_CUSTOM_SIZES": [
{
"width" : 7680,
"height" : 4320,
"maxFPS" : 30,
"isSensorOutput" : 1,
"note" : "8K, maxFps 30, not sensorOutput"
},
{
"width" : 3840,
"height" : 2160,
"maxFPS" : 24,
"isSensorOutput" : 0,
"note" : "4K, maxFps 24, not sensorOutput"
}
],
"CAMX__APC_SCENE_ARRAY": [
{
"Scene" : "ManualScene",
"Priority" : 300
},
{
"Scene" : "LockScene",
"Priority" : 200
},
{
"Scene" : "LuxLimitScene",
"Priority" : 100
},
{
"Scene" : "MultiFaceScene",
"Priority" : 30
},
{
"Scene" : "NearPlaneScene",
"Priority" : 20
},
{
"Scene" : "ISZScene",
"Priority" : 150
},
{
"Scene" : "DefaultScene",
"Priority" : 1
},
{
"Scene" : "DebugScene",
"Priority" : 400
},
{
"Scene" : "HighLightScene",
"Priority" : 10
}
],
"CAMX__APC_LuxLimit_DetectPara": {
"scene": "LuxLimitScene",
"DarkSceneLux": 280,
"LuxLmtIn50M": 120,
"FnInLowLight": 1.42,
"ExitInterValEntry": 10,
"TriggerStaCnt": 5
},
"CAMX__APC_HighLight_DetectPara": {
"scene": "HighLightScene",
"HighLightLmt": 120,
"HighLightExitVal": 140,
"FnInHighLight": 2.0
},
"CAMX__APC_MultiFace_DetectPara": {
"scene": "MultiFaceScene",
"FaceCntMinLmt": 2,
"FaceCntMaxLmt": 5,
"FdFaceRoiRoll": 0,
"FdFaceRoiPose": 45,
"FdFaceRoiPitch": 45,
"FdFaceRoiWidth": 130,
"FdFaceRoiHight": 130,
"FdMaxFaceRoiWidth": 150,
"FdMaxFaceRoiHight": 150,
"StableGyroLimitX": 0.04,
"StableGyroLimitY": 0.04,
"StableGyroLimitZ": 0.1,
"MultiFaceTriggerStableCnt": 5,
"MultiFaceUnTriggerStableCnt": 150,
"FaceDistance": 300,
"SmallFn": 4.0,
"LargeFn": 2.8
},
"CAMX__APC_NearPlane_DetectPara": {
"scene": "NearPlaneScene",
"StableGyroLimitx": 0.04,
"StableGyroLimitY": 0.04,
"StableGyroLimitZ": 0.1,
"NearPlaneTriggerStableCnt": 5,
"NearPlaneUnTriggerStableCnt": 30,
"FocusDistCMLmt": 200,
"ModeDocLuxLmt": 0,
"TriggerDistance": 50,
"TofDisConfidence": 0,
"TriggerFn": 2.8
},
"CHI__BOKEH_APERTURE_ABILITY": [
{
"mode" : -1,
"numBokehAperture" : 0,
"defaultBokehAperture" : 0,
"availableBokehAperture" : [],
"note" : "just set invalid default valus here. Please see shennong proj_overlap_config.json"
}
],
"CHI__CUSTOMIZABLE_APK":[
{
"ApkFunctionType":"None",
"Mode": 0,
"ApkTable" : [""]
},
{
"ApkFunctionType":"ScanWhitelist",
"Mode": 1,
"ApkTable" : ["org.qiyi.pluginlibrary.component.InstrActivityProxy1",
"com.qingqikeji.blackhorse.BlackHorseActivity",
"com.didi.sdk.app.MainActivity",
"com.bitauto.carmodel.view.activity.IdentifyCarActivity"]
},
{
"ApkFunctionType":"ScanBlacklist",
"Mode": 0,
"ApkTable" : [ "com.tencent.zebra",
"com.p1.mobile.putong",
"com.kwai.m2u",
"com.smile.gifmaker",
"com.achievo.vipshop",
"com.baidu.tieba"]
},
{
"ApkFunctionType":"MiuiCamera",
"Mode": 0,
"ApkTable" :["com.android.camera"]
},
{
"ApkFunctionType":"isVolteVideo",
"Mode": 0,
"ApkTable" :[ "org.codeaurora.ims"]
},
{
"ApkFunctionType":"forceFDEnabled",
"Mode": 0,
"ApkTable" :[ "com.tencent.mm",
"com.tencent.mobileqq"]
},
{
"ApkFunctionType":"VideoOptimization",
"Mode": 0,
"ApkTable" :[ "com.tencent.mm",
"com.tencent.mobileqq",
"org.codeaurora.ims"]
},
{
"ApkFunctionType":"AutoTrigger",
"Mode": 0,
"ApkTable" :["com.shizhuang.duapp",
"com.huodao.hdphone",
"com.jf.lkrj",
"com.baidu.haokan",
"com.ximalaya.ting.android",
"com.ss.android.lark",
"com.ss.android.lark.kami",
"com.baidu.tieba",
"com.mg.ec",
"jp.naver.line.android",
"com.tencent.wework",
"com.happyteam.dubbingshow",
"com.mi.health"]
},
{
"ApkFunctionType":"FixReconfigFlash",
"Mode": 0,
"ApkTable" :[ "com.qingqikeji.blackhorse.passenger"]
},
{
"ApkFunctionType":"ForVideoCallReduceFPS",
"Mode": 0,
"ApkTable" :["com.tencent.mm",
"com.tencent.mobileqq"]
},
{
"ApkFunctionType":"EnableVideoOut",
"Mode": 0,
"ApkTable" :["com.smile.gifmaker",
"com.kwai.m2u",
"jp.naver.line.android"]
},
{
"ApkFunctionType":"FactoryRunin",
"Mode": 0,
"ApkTable" :["com.xiaomi.runin"]
},
{
"ApkFunctionType":"ReconfigCaptureScene",
"Mode": 0,
"ApkTable" :["com.tencent.wework",
"com.youdao.translator"]
},
{
"ApkFunctionType":"SkipUselessFeature",
"Mode": 0,
"ApkTable" :[""]
},
{
"ApkFunctionType":"Whitelist",
"Mode": 0,
"ApkTable" :["com.zhihu.android"]
},
{
"ApkFunctionType":"DisableScanZoomControl",
"Mode": 0,
"ApkTable" :["com.xiaomi.scanner"]
},
{
"ApkFunctionType":"ForLiveReduceFrame",
"Mode": 1,
"ApkTable" :[""]
},
{
"ApkFunctionType":"ThirdBT709Enable",
"Mode": 1,
"ApkTable" :["com.tencent.mm.plugin.recordvideo.activity.MMRecordUI"]
},
{
"ApkFunctionType":"ThirdDXGEnable",
"Mode": 0,
"ApkTable" :["com.xingin.xhs",
"com.tencent.mm",
"com.ss.android.ugc.aweme"]
},
{
"ApkFunctionType":"MinishEV",
"Mode": 0,
"ApkTable" :["com.sankuai.meituan"]
},
{
"ApkFunctionType":"FactoryTest",
"Mode": 0,
"ApkTable" :[""]
},
{
"ApkFunctionType":"ThirdDXGDisable",
"Mode": 1,
"ApkTable" :["com.ss.android.ugc.aweme.live.LiveBroadcastActivity",
"com.xingin.alpha.emcee.AlphaEmceeActivity"]
},
{
"ApkFunctionType":"GLVideoOptimization",
"Mode": 0,
"ApkTable" :["com.whatsapp"]
},
{
"ApkFunctionType":"FaceUnlock",
"Mode": 0,
"ApkTable" :["com.miui.face"]
},
{
"ApkFunctionType":"EnableVideocallBeauty",
"Mode": 0,
"ApkTable" :["com.tencent.mm"]
}
],
"CAMX__MAX_SR_SCALING": 2.0,
"CAMX__FRONT_MAX_SR_SCALING": 2.0,
"CAMX__TELE_MAX_SR_SCALING": 2.0,
"CHI__FEATURES_SYNC_CREATE_LIST": [
"RealTimeMCX",
"MultiCameraReprocessRealtime",
"FeatureMux",
"AnchorSync",
"Bayer2Yuv",
"JPEG",
"SWRemosaic"
],
"CHI__BOKEH_DESIRED_CROP_SETTING": [
{
"modeInBokehTab": "Full or Bust or 35mm or 50mm or 75mm or 90mm",
"sensorCombination": "T-W or W-UW",
"masterSensorCapHint": "BIN or HWR",
"slaveSensorCapHint": "BIN or HWR",
"masterSensorOut": [4080, 3072],
"masterDesiredCrop": [4080, 3060],
"slaveSensorOut": [4096, 3072],
"slaveDesiredCrop": [2240, 1680],
"note" : "just set a example default valus here. Please see shennong proj_overlap_config.json"
}
],
"CHI__NEED_SKIP_USELESS_FEATURE": 0,
"CHI__BOKEH_LEGACY_SNAPSHOT_STREAMS_SETTING": [
{
"bokehRole": 61,
"masterCamIndex": 1,
"slaveCamIndex": 0,
"masterYuvSize": [4096, 3072, 4096, 2304, 4096, 1844],
"slaveYuvSize": [4080, 3060, 4080, 2296, 4080, 1836],
"masterRawSize": [4096, 3072, 4096, 3072, 4096, 3072],
"slaveRawSize": [4080, 3072, 4080, 3072, 4080, 3072],
"masterRemosaicYuvSize": [4096, 3072, 4096, 2304, 4096, 1844],
"slaveRemosaicYuvSize": [4080, 3060, 4080, 2296, 4080, 1836],
"masterRemosaicRawSize": [4096, 3072, 4096, 3072, 4096, 3072],
"slaveRemosaicRawSize": [4080, 3072, 4080, 3072, 4080, 3072],
"pictureSize": [4096, 3072, 4096, 2304, 4096, 1844],
"note" : "default for bust base, you must set this for your project. see see shennong proj_overlap_config.json"
},
{
"bokehRole": 63,
"masterCamIndex": 1,
"slaveCamIndex": 0,
"masterYuvSize": [4096, 3072, 4096, 2304, 4096, 1844],
"slaveYuvSize": [4080, 3060, 4080, 2296, 4080, 1836],
"masterRawSize": [4096, 3072, 4096, 3072, 4096, 3072],
"slaveRawSize": [4080, 3072, 4080, 3072, 4080, 3072],
"masterRemosaicYuvSize": [4096, 3072, 4096, 2304, 4096, 1844],
"slaveRemosaicYuvSize": [4080, 3060, 4080, 2296, 4080, 1836],
"masterRemosaicRawSize": [4096, 3072, 4096, 3072, 4096, 3072],
"slaveRemosaicRawSize": [4080, 3072, 4080, 3072, 4080, 3072],
"pictureSize": [4096, 3072, 4096, 2304, 4096, 1844],
"note" : "default for bust base, you must set this for your project. see see shennong proj_overlap_config.json"
}
],
"CHI__FEATURE_IN_OPMODE": [],
"CAMX__ENABLE_MEMCHECK": 1,
"CHI__THIRDPARTY_FEATURE_BY_ACTIVITY": [
{
"activity_value": "",
"Feature_List": []
}
],
"CAMX__ENABLE_HW_LDC": 0,
"CAMX__SENSOR_SECONDARY_SUPPLIER": {
"roleId": 0,
"vendorId": 0,
"reserved": ""
},
"CHI__ELL_FULL_FOCUS_SECTION_ENABLE": 0,
"CHI__SN_ALGO_SUPPORT_EV": {
"evNum": 0,
"evList": []
},
"CAMX__APC_LockScene_DetectPara": {
"scene": "LockScene",
"zoomOutLmt": 2.0,
"zoomUpLmt": 1.0,
"zoomDownLmt": 2.9,
"adrcgainLmt": 6.0
},
"CAMX__APC_DefaultScene_DetectPara": {
"scene": "DefaultScene",
"defaultFn": 1.42,
"defaultFnIn50M": 2.0
},
"CAMX__TELE_50MUPSCALE": 0,
"CAMX__IOPREFETCH_EXT_MULTI_VALUES": [
{
"scene": "",
"file_list": []
}
],
"CAMX__IOPREFETCH_THRESHOLD": 0,
"CHI__BOKEH_ZOOM_ROLE_MAP": [
{
"modeInBokeh": 0,
"bokehZoomRatioVaule": 1.0,
"bokehRole": 63,
"note" : "Full Portrait bokeh"
},
{
"modeInBokeh": 1,
"bokehZoomRatioVaule": 2.83,
"bokehRole": 61,
"note" : "Bust Portrait bokeh"
}
],
"CHI__FRONT_BOKEH_ZOOM_ROLE_MAP": [
{
"modeInBokeh": 6,
"bokehZoomRatioVaule": 1.0,
"bokehRole": 1,
"note" : "Portrait 1x"
}
],
"CAMX__APC_ManualScene_DetectPara": {
"scene": "Manualscene",
"defaultFnInFixMode": 0
},
"CAMX__RUNIN_ACTUATOR_PARAM": {
"positionBiasLimit": 80,
"waitingTimeMs": 50,
"intervalTimeMs": 50,
"singlePointMaxRetryCnt": 5,
"oneLoopMaxRetryCnt": 15,
"totalMaxRetryCnt": 60,
"failRetryCnt": 0
},
"CAMX__RUNIN_OIS_PARAM": {
"positionBiasLimit": 80,
"waitingTimeMs": 50,
"intervalTimeMs": 50,
"singlePointMaxRetryCnt": 5,
"oneLoopMaxRetryCnt": 30,
"totalMaxRetryCnt": 150,
"failRetryCnt": 0
},
"CAMX__RUNIN_APERTURE_PARAM": {
"positionBiasLimit": 120,
"waitingTimeMs": 100,
"intervalTimeMs": 150,
"singlePointMaxRetryCnt": 5,
"oneLoopMaxRetryCnt": 10,
"totalMaxRetryCnt": 100,
"failRetryCnt": 0
},
"CAMX__APC_ShortDisDarkScene_DetectPara": {
"scene": "ShortDisDarkScene",
"LuxLimit": 260,
"DisLimit": 30,
"TriggerStabCnt": 30,
"UnTriggerStaCnt": 130,
"FnInShrotDisDark": 2.0
},
"CAMX__APC_MinExpHDRScene_DetectPara": {
"scene": "MinExpHDRScene",
"zoomratio": 1.4,
"TriggerStabCnt": 30,
"UnTriggerStaCnt": 90,
"FnMinExpHDR": 2.8
},
"CHI__BOKEH_SQUARE_SIZE_SUPPORT": [
{
"bokehRole" : 1,
"supportSquareSize" : 0
},
{
"bokehRole" : 61,
"supportSquareSize" : 0
},
{
"bokehRole" : 63,
"supportSquareSize" : 0
}
],
"__OVERLAP_NEW_CONFIG_INSERT_POINT__":0
}

Some files were not shown because too many files have changed in this diff Show More