sanders: update configs from NPS26.116-26
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
global_config {
|
||||
name Potter
|
||||
sonification_pad 19
|
||||
name Sanders
|
||||
sonification_pad 20
|
||||
sonification_prox_timeout_sec 5
|
||||
}
|
||||
|
||||
@@ -8,22 +8,19 @@ ring {
|
||||
#dB to attenuate playback to meet safety level at each volume step
|
||||
#16 steps total, 15...0. In case of truncated list, last attenuation
|
||||
#given will be applied to all lower volume steps
|
||||
attenuation 38,38,35,35,32,32,29,29,26,26,24,24,22,22,20,20
|
||||
knee_step 16
|
||||
#attenuation 28,28,25,25,22,22,20,20,20,20,20,20,20,20,20,20
|
||||
}
|
||||
|
||||
voice {
|
||||
#dB to attenuate playback to meet safety level at each volume step
|
||||
#16 steps total, 15...0. In case of truncated list, last attenuation
|
||||
#given will be applied to all lower volume steps
|
||||
attenuation 35,35,32,32,29,29,26,26,23,23,20,20,17,17,14,14
|
||||
knee_step 16
|
||||
#attenuation 35,35,32,32,29,29,26,26,23,23,20,20,17,17,14,14
|
||||
}
|
||||
|
||||
media {
|
||||
#dB to attenuate playback to meet safety level at each volume step
|
||||
#16 steps total, 15...0. In case of truncated list, last attenuation
|
||||
#given will be applied to all lower volume steps
|
||||
attenuation 38,36,34,32,30,28,26,24,22,20,18,16,14,12,10,8
|
||||
knee_step 16
|
||||
#attenuation 38,36,34,32,30,28,26,24,22,20,18,16,14,12,10,8
|
||||
}
|
||||
|
||||
@@ -5,18 +5,25 @@
|
||||
<acdb_ids>
|
||||
<!-- Output devices -->
|
||||
<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="7"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" acdb_id="7"/>
|
||||
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="9"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" acdb_id="9"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" acdb_id="9"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" acdb_id="15"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_LINE" acdb_id="78"/>
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_ANC_HANDSET" acdb_id="200"/>
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_HANDSET_TMUS" acdb_id="200"/>
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_TX" acdb_id="245" />
|
||||
|
||||
<!-- Input devices -->
|
||||
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" acdb_id="0"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC" acdb_id="4"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" acdb_id="4"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_MIC_NS" acdb_id="4"/>
|
||||
@@ -25,13 +32,29 @@
|
||||
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" acdb_id="114" />
|
||||
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS" acdb_id="114" />
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" acdb_id="35"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_DMIC_TMUS" acdb_id="89"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" acdb_id="42" />
|
||||
<device name="SND_DEVICE_IN_HEADSET_MIC_AEC" acdb_id="47"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" acdb_id="62"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" acdb_id="111"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_DMIC_NS" acdb_id="111"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_HEADSET_MIC" acdb_id="131"/>
|
||||
<device name="SND_DEVICE_IN_CAMCORDER_BF" acdb_id="34"/>
|
||||
<device name="SND_DEVICE_IN_CAPTURE_FM" acdb_id="90"/>
|
||||
</acdb_ids>
|
||||
|
||||
<backend_names>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_SPEAKER" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" backend="speaker-and-headphones" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE" backend="speaker-and-headphones" />
|
||||
</backend_names>
|
||||
|
||||
<pcm_ids>
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="12"/>
|
||||
<usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="12"/>
|
||||
@@ -43,6 +66,11 @@
|
||||
<usecase name="USECASE_VOLTE_CALL" type="out" id="15"/>
|
||||
<usecase name="USECASE_VOWLAN_CALL" type="in" id="16"/>
|
||||
<usecase name="USECASE_VOWLAN_CALL" type="out" id="16"/>
|
||||
<usecase name="USECASE_AUDIO_DSM_FEEDBACK" type="in" id="55" />
|
||||
</pcm_ids>
|
||||
|
||||
<config_params>
|
||||
<param key="input_mic_max_count" value="2" />
|
||||
</config_params>
|
||||
|
||||
</audio_platform_info>
|
||||
|
||||
@@ -55,7 +55,8 @@
|
||||
<ctl name="LINE_OUT" value="ZERO" />
|
||||
<ctl name="EAR PA Gain" value="POS_6_DB" />
|
||||
<ctl name="EAR PA Gain" value="POS_1P5_DB" />
|
||||
<ctl name="EAR PA Boost" value="ENABLE" />
|
||||
<ctl name="EAR PA Boost" value="DISABLE" />
|
||||
<ctl name="Speaker Boost" value="DISABLE" />
|
||||
<ctl name="MI2S_RX Channels" value="One" />
|
||||
<ctl name="MI2S_TX Channels" value="One" />
|
||||
<ctl name="PRI_MI2S_RX_DL_HL Switch" value="0" />
|
||||
@@ -86,6 +87,15 @@
|
||||
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_BT_SCO_TX" value="0" />
|
||||
<ctl name="HFP_INT_UL_HL Switch" value="0" />
|
||||
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia1" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia4" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia5" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX Port Mixer TERT_MI2S_TX" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer CSVoice" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode1" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode2" value="0" />
|
||||
|
||||
<!-- Voice BTSCO -->
|
||||
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="0" />
|
||||
@@ -94,6 +104,7 @@
|
||||
|
||||
<!-- Voice2 -->
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer Voice2" value="0" />
|
||||
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="0" />
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="0" />
|
||||
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="0" />
|
||||
@@ -103,6 +114,7 @@
|
||||
|
||||
<!-- VoLTE -->
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoLTE" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoLTE" value="0" />
|
||||
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="0" />
|
||||
<ctl name="HDMI_RX_Voice Mixer VoLTE" value="0" />
|
||||
<ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="0" />
|
||||
@@ -114,6 +126,7 @@
|
||||
|
||||
<!-- VoWLAN -->
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoWLAN" value="0" />
|
||||
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="0" />
|
||||
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="0" />
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="0" />
|
||||
@@ -124,6 +137,7 @@
|
||||
|
||||
<!-- Multimode Voice1 -->
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode1" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode1" value="0" />
|
||||
<ctl name="VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1" value="0" />
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode1" value="0" />
|
||||
<ctl name="VoiceMMode1_Tx Mixer INT_BT_SCO_TX_MMode1" value="0" />
|
||||
@@ -133,6 +147,7 @@
|
||||
|
||||
<!-- Multimode Voice2 -->
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode2" value="0" />
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode2" value="0" />
|
||||
<ctl name="VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2" value="0" />
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode2" value="0" />
|
||||
<ctl name="VoiceMMode2_Tx Mixer INT_BT_SCO_TX_MMode2" value="0" />
|
||||
@@ -140,16 +155,6 @@
|
||||
<ctl name="VoiceMMode2_Tx Mixer AFE_PCM_TX_MMode2" value="0" />
|
||||
<!-- Multimode Voice2 end -->
|
||||
|
||||
<!-- Voip -->
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" />
|
||||
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="0" />
|
||||
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="0" />
|
||||
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
|
||||
<ctl name="AFE_PCM_RX_Voice Mixer Voip" value="0" />
|
||||
<ctl name="Voip_Tx Mixer AFE_PCM_TX_Voip" value="0" />
|
||||
<!-- Voip end -->
|
||||
|
||||
<!-- fm -->
|
||||
<ctl name="Internal FM RX Volume" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="0" />
|
||||
@@ -220,6 +225,14 @@
|
||||
<ctl name="IIR1 Enable Band5" value="0" />
|
||||
<!-- IIR -->
|
||||
|
||||
<ctl name="AMP Audio Gain" value="4" />
|
||||
<ctl name="OSPL Ext RxConfig" value="NONE" />
|
||||
<ctl name="OSPL Ext TxConfig" value="NONE" />
|
||||
<ctl name="OSPL Int RxConfig" value="NONE" />
|
||||
<ctl name="OSPL Int TxConfig" value="NONE" />
|
||||
<ctl name="OSPL Rx" value="Enable" />
|
||||
<ctl name="OSPL Tx" value="Enable" />
|
||||
|
||||
<!-- ADSP testfwk -->
|
||||
<!-- ADSP testfwk end-->
|
||||
|
||||
@@ -232,6 +245,15 @@
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback speaker">
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback speaker-and-headphones">
|
||||
<path name="deep-buffer-playback" />
|
||||
<path name="deep-buffer-playback speaker" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
|
||||
</path>
|
||||
@@ -249,6 +271,15 @@
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playback speaker">
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia5" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playback speaker-and-headphones">
|
||||
<path name="low-latency-playback" />
|
||||
<path name="low-latency-playback speaker" />
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playback bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
|
||||
</path>
|
||||
@@ -266,6 +297,15 @@
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-ull-playback speaker">
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia3" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-ull-playback speaker-and-headphones">
|
||||
<path name="audio-ull-playback" />
|
||||
<path name="audio-ull-playback speaker" />
|
||||
</path>
|
||||
|
||||
<path name="audio-ull-playback headphones">
|
||||
<path name="audio-ull-playback" />
|
||||
</path>
|
||||
@@ -283,10 +323,24 @@
|
||||
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-tts-playback speaker">
|
||||
<!-- audio-tts-playback usecase is only valid on speaker backend -->
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia2" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback">
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback speaker">
|
||||
<ctl name="QUIN_MI2S_RX Audio Mixer MultiMedia4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback speaker-and-headphones">
|
||||
<path name="compress-offload-playback" />
|
||||
<path name="compress-offload-playback speaker" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="1" />
|
||||
</path>
|
||||
@@ -356,6 +410,11 @@
|
||||
<ctl name="VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voice-call speaker">
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode1" value="1" />
|
||||
<ctl name="VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voice-call bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode1" value="1" />
|
||||
<ctl name="VoiceMMode1_Tx Mixer INT_BT_SCO_TX_MMode1" value="1" />
|
||||
@@ -380,6 +439,11 @@
|
||||
<ctl name="VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voice2-call speaker">
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode2" value="1" />
|
||||
<ctl name="VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voice2-call bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode2" value="1" />
|
||||
<ctl name="VoiceMMode2_Tx Mixer INT_BT_SCO_TX_MMode2" value="1" />
|
||||
@@ -409,6 +473,11 @@
|
||||
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="vowlan-call speaker">
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoWLAN" value="1" />
|
||||
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="vowlan-call hdmi">
|
||||
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="1" />
|
||||
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
|
||||
@@ -434,6 +503,15 @@
|
||||
<ctl name="VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voicemmode1-call speaker">
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode1" value="1" />
|
||||
<ctl name="VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voicemmode1-call speaker-and-headphones">
|
||||
<path name="voicemmode1-call" />
|
||||
</path>
|
||||
|
||||
<path name="voicemmode1-call bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode1" value="1" />
|
||||
<ctl name="VoiceMMode1_Tx Mixer INT_BT_SCO_TX_MMode1" value="1" />
|
||||
@@ -458,6 +536,15 @@
|
||||
<ctl name="VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voicemmode2-call speaker">
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoiceMMode2" value="1" />
|
||||
<ctl name="VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voicemmode2-call speaker-and-headphones">
|
||||
<path name="voicemmode2-call" />
|
||||
</path>
|
||||
|
||||
<path name="voicemmode2-call bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode2" value="1" />
|
||||
<ctl name="VoiceMMode2_Tx Mixer INT_BT_SCO_TX_MMode2" value="1" />
|
||||
@@ -612,6 +699,11 @@
|
||||
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="volte-call speaker">
|
||||
<ctl name="QUIN_MI2S_RX_Voice Mixer VoLTE" value="1" />
|
||||
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="volte-call hdmi">
|
||||
<ctl name="HDMI_RX_Voice Mixer VoLTE" value="1" />
|
||||
<ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
|
||||
@@ -636,21 +728,6 @@
|
||||
<path name="volte-call usb-headphones" />
|
||||
</path>
|
||||
|
||||
<path name="compress-voip-call">
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" />
|
||||
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-voip-call bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="1" />
|
||||
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-voip-call bt-sco-wb">
|
||||
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
|
||||
<path name="compress-voip-call bt-sco" />
|
||||
</path>
|
||||
|
||||
<path name="afe-proxy-playback afe-proxy">
|
||||
</path>
|
||||
|
||||
@@ -695,8 +772,7 @@
|
||||
</path>
|
||||
|
||||
<path name="speaker">
|
||||
<ctl name="RX3 MIX1 INP1" value="RX1" />
|
||||
<ctl name="SPK" value="Switch" />
|
||||
<ctl name="AMP Audio Gain" value="17" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-mic">
|
||||
@@ -710,6 +786,7 @@
|
||||
<ctl name="RX1 Digital Volume" value="84" />
|
||||
<ctl name="EAR PA Gain" value="POS_6_DB" />
|
||||
<ctl name="EAR_S" value="Switch" />
|
||||
<ctl name="OSPL Rx" value="Disable" />
|
||||
</path>
|
||||
|
||||
<path name="handset-mic">
|
||||
@@ -727,6 +804,7 @@
|
||||
<ctl name="RDAC2 MUX" value="RX2" />
|
||||
<ctl name="HPHL" value="Switch" />
|
||||
<ctl name="HPHR" value="Switch" />
|
||||
<ctl name="OSPL Rx" value="Disable" />
|
||||
</path>
|
||||
|
||||
<path name="headset-mic">
|
||||
@@ -788,7 +866,8 @@
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-mic">
|
||||
<path name="speaker-mic" />
|
||||
<path name="adc3" />
|
||||
<ctl name="IIR1 INP1 MUX" value="DEC1" />
|
||||
</path>
|
||||
|
||||
<path name="voice-headphones">
|
||||
@@ -796,6 +875,7 @@
|
||||
<ctl name="RDAC2 MUX" value="RX1" />
|
||||
<ctl name="HPHL" value="Switch" />
|
||||
<ctl name="HPHR" value="Switch" />
|
||||
<ctl name="OSPL Rx" value="Disable" />
|
||||
</path>
|
||||
|
||||
<path name="voice-headset-mic">
|
||||
@@ -887,6 +967,10 @@
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" />
|
||||
</path>
|
||||
|
||||
<path name="echo-reference speaker">
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="QUIN_MI2S_RX" />
|
||||
</path>
|
||||
|
||||
<!-- TTY devices -->
|
||||
|
||||
<path name="tty-headphones">
|
||||
@@ -939,6 +1023,7 @@
|
||||
<ctl name="RDAC2 MUX" value="RX2" />
|
||||
<ctl name="HPHL" value="Switch" />
|
||||
<ctl name="HPHR" value="Switch" />
|
||||
<ctl name="OSPL Rx" value="Disable" />
|
||||
</path>
|
||||
|
||||
<path name="voice-line">
|
||||
|
||||
@@ -100,26 +100,26 @@
|
||||
<Limit name="measured-frame-rate-1920x1080" range="50-50" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
|
||||
<Limit name="measured-frame-rate-320x240" range="270-275" />
|
||||
<Limit name="measured-frame-rate-720x480" range="230-233" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="133-134" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="53-53" />
|
||||
<Limit name="measured-frame-rate-320x240" range="439-444" />
|
||||
<Limit name="measured-frame-rate-720x480" range="223-224" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="283-284" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="153-153" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="422-429" />
|
||||
<Limit name="measured-frame-rate-352x288" range="427-431" />
|
||||
<Limit name="measured-frame-rate-176x144" range="584-600" />
|
||||
<Limit name="measured-frame-rate-352x288" range="563-575" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
|
||||
<Limit name="measured-frame-rate-352x288" range="341-345" />
|
||||
<Limit name="measured-frame-rate-640x360" range="266-269" />
|
||||
<Limit name="measured-frame-rate-720x480" range="250-252" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="120-121" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="56-56" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="13-13" />
|
||||
<Limit name="measured-frame-rate-352x288" range="460-467" />
|
||||
<Limit name="measured-frame-rate-640x360" range="339-340" />
|
||||
<Limit name="measured-frame-rate-720x480" range="258-259" />
|
||||
<Limit name="measured-frame-rate-1280x720" range="346-347" />
|
||||
<Limit name="measured-frame-rate-1920x1080" range="179-179" />
|
||||
<Limit name="measured-frame-rate-3840x2160" range="44-44" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" update="true">
|
||||
<Limit name="measured-frame-rate-176x144" range="428-433" />
|
||||
<Limit name="measured-frame-rate-480x360" range="409-412" />
|
||||
<Limit name="measured-frame-rate-176x144" range="576-590" />
|
||||
<Limit name="measured-frame-rate-480x360" range="512-520" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
|
||||
<Limit name="measured-frame-rate-320x180" range="434-436" />
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
|
||||
<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
|
||||
<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
|
||||
<!ATTLIST EncoderProfile cameraId (0|1) #REQUIRED>
|
||||
<!ATTLIST EncoderProfile cameraId (0|1|2) #REQUIRED>
|
||||
<!ELEMENT Video EMPTY>
|
||||
<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
|
||||
<!ATTLIST Video bitRate CDATA #REQUIRED>
|
||||
@@ -173,6 +173,457 @@
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="highspeedlow" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="14000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="120" />
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="96000"
|
||||
sampleRate="48000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="14000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="120" />
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="96000"
|
||||
sampleRate="48000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="14000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="120" />
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="96000"
|
||||
sampleRate="48000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="512000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="51000000"
|
||||
width="3840"
|
||||
height="2160"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="512000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="6000000"
|
||||
width="640"
|
||||
height="480"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="10000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="51000000"
|
||||
width="3840"
|
||||
height="2160"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
|
||||
<ImageEncoding quality="95" />
|
||||
<ImageEncoding quality="80" />
|
||||
<ImageEncoding quality="70" />
|
||||
<ImageDecoding memCap="20000000" />
|
||||
|
||||
</CamcorderProfiles>
|
||||
<!-- Front Camera -->
|
||||
<CamcorderProfiles cameraId="1">
|
||||
|
||||
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="128000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="15" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="qvga" fileFormat="3gp" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="128000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="15" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="6000000"
|
||||
width="720"
|
||||
height="480"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="10000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="highspeedlow" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="14000000"
|
||||
width="720"
|
||||
height="480"
|
||||
frameRate="120" />
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="96000"
|
||||
sampleRate="48000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="14000000"
|
||||
width="720"
|
||||
height="480"
|
||||
frameRate="120" />
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="96000"
|
||||
sampleRate="48000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="highspeed480p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="14000000"
|
||||
width="720"
|
||||
height="480"
|
||||
frameRate="120" />
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="96000"
|
||||
sampleRate="48000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="512000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="512000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="6000000"
|
||||
width="640"
|
||||
height="480"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="10000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
|
||||
<ImageEncoding quality="95" />
|
||||
<ImageEncoding quality="80" />
|
||||
<ImageEncoding quality="70" />
|
||||
<ImageDecoding memCap="20000000" />
|
||||
|
||||
</CamcorderProfiles>
|
||||
|
||||
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
|
||||
<!-- Back_AUX Camera -->
|
||||
<CamcorderProfiles cameraId="2">
|
||||
|
||||
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="128000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="15" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="high" fileFormat="mp4" duration="10">
|
||||
<Video codec="h264"
|
||||
bitRate="51000000"
|
||||
width="3840"
|
||||
height="2160"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="qvga" fileFormat="3gp" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="128000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="15" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="6000000"
|
||||
width="720"
|
||||
height="480"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="10000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="2160p" fileFormat="mp4" duration="10">
|
||||
<Video codec="h264"
|
||||
bitRate="51000000"
|
||||
width="3840"
|
||||
height="2160"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="512000"
|
||||
@@ -272,178 +723,6 @@
|
||||
</EncoderProfile>
|
||||
|
||||
|
||||
<ImageEncoding quality="95" />
|
||||
<ImageEncoding quality="80" />
|
||||
<ImageEncoding quality="70" />
|
||||
<ImageDecoding memCap="20000000" />
|
||||
|
||||
</CamcorderProfiles>
|
||||
<!-- Front Camera -->
|
||||
<CamcorderProfiles cameraId="1">
|
||||
|
||||
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="128000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="15" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="qvga" fileFormat="3gp" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="128000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="15" />
|
||||
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="6000000"
|
||||
width="720"
|
||||
height="480"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="10000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="512000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="512000"
|
||||
width="320"
|
||||
height="240"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="amrnb"
|
||||
bitRate="12200"
|
||||
sampleRate="8000"
|
||||
channels="1" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="6000000"
|
||||
width="640"
|
||||
height="480"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="10000000"
|
||||
width="1280"
|
||||
height="720"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
|
||||
<Video codec="h264"
|
||||
bitRate="17000000"
|
||||
width="1920"
|
||||
height="1080"
|
||||
frameRate="30" />
|
||||
|
||||
<!-- audio setting is ignored -->
|
||||
<Audio codec="aac"
|
||||
bitRate="128000"
|
||||
sampleRate="48000"
|
||||
channels="2" />
|
||||
</EncoderProfile>
|
||||
|
||||
|
||||
<ImageEncoding quality="95" />
|
||||
<ImageEncoding quality="80" />
|
||||
<ImageEncoding quality="70" />
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
18:4294967295:1001:3004
|
||||
/* Allow QMID service to aquire net_raw permission */
|
||||
3:4294967295:1001:3004
|
||||
2:4294967295:1001:3004
|
||||
2:4294967295:1000:1001:3004
|
||||
42:4294967295:1001:3004
|
||||
18:4294967295:1001:3004
|
||||
9:4294967295:1001:3004
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
sensors.ssc.so
|
||||
sensors.iio.so
|
||||
sensors.rp.so
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# File: sensor_def_qcomdev.conf
|
||||
# File: sensor_def_qcomdev.conf for sanders
|
||||
#
|
||||
# Tihs file contains default sensor registry values for Qualcomm development
|
||||
# test platforms.
|
||||
@@ -893,12 +893,12 @@
|
||||
# Orientation of sensors
|
||||
# accel x/y/z
|
||||
700 -1 0x00010001 #accel-x-axis
|
||||
701 2 0x00010001 #accel-y-axis
|
||||
702 -3 0x00010001 #accel-z-axis
|
||||
701 -2 0x00010001 #accel-y-axis
|
||||
702 3 0x00010001 #accel-z-axis
|
||||
# gyro x/y/z
|
||||
800 1 0x00010001 #gyro-x-axis
|
||||
800 -1 0x00010001 #gyro-x-axis
|
||||
801 -2 0x00010001 #gyro-y-axis
|
||||
802 -3 0x00010001 #gyro-z-axis
|
||||
802 3 0x00010001 #gyro-z-axis
|
||||
# mag x/y/z
|
||||
900 1 0x00010001 #mag-x-axis
|
||||
901 -2 0x00010001 #mag-y-axis
|
||||
@@ -926,9 +926,41 @@
|
||||
4112 65536 0x00010001 # SMD
|
||||
4103 5 0x00010001 # SMD_ACC_WIN_TIME
|
||||
|
||||
# SSI SMGR Cfg 0: LSM6DS3 Accel FIFO
|
||||
1903 0x1a0bd9d5956c508e 0x00010001 #UUID
|
||||
1902 0x1246e1cb09a92baa 0x00010001 #UUID
|
||||
# Mot Chopchop config
|
||||
10000 0x38ffc7 0x10001 # max gyro rot, 57 degrees in deg, Q16
|
||||
10001 0x15dfea2 0x10001 # max chop dur, ms, Q16
|
||||
10002 0x231860 0x10001 # accel thres 1, m/s2, Q16
|
||||
10003 0xA8750 0x10001 # accel thres 2, m/s2, Q16
|
||||
10004 0x2666 0x10001 # min mag per, Q16
|
||||
10005 0x5999 0x10001 # max xy per, Q16
|
||||
|
||||
# ALS/Prox Config (AMS TMD2725-based)
|
||||
107 100 0x10001 # Prox Covered Threshold (PIHT)
|
||||
108 60 0x10001 # Prox Uncovered Threshold (PILT)
|
||||
109 16 0x10001 # Prox Pulse Count (PPULSE)
|
||||
110 1 0x10001 # Prox Pulse Length (PPULSE_LEN)
|
||||
111 102 0x10001 # Prox LED Current (PLDRIVE) - in mA
|
||||
112 4 0x10001 # Prox Gain (PGAIN) - choose from 1/2/4/8
|
||||
113 2 0x10001 # Prox Persistence (PPERS)
|
||||
114 4000 0x10001 # Prox Integration Time (PTIME) - in us
|
||||
116 5 0x10001 # ALS Threshold High - in %
|
||||
117 5 0x10001 # ALS Threshold Low - in %
|
||||
118 200000 0x10001 # ALS Integration Time (ATIME) - in us
|
||||
119 2800 0x10001 # ALS Wait Time (WTIME) - in us
|
||||
120 4 0x10001 # ALS Gain (AGAIN) - choose from 1/4/16/64
|
||||
121 1 0x10001 # ALS Persistence (APERS)
|
||||
122 9900 0x10001 # ALS Calibration Factor
|
||||
123 170 0x10001 # ALS L1 Factor
|
||||
124 1000 0x10001 # ALS L2 Factor
|
||||
125 170 0x10001 # ALS L3 Factor
|
||||
126 41 0x10001 # ALS D Factor
|
||||
# ALS/Prox Mot Custom Config
|
||||
131 0x03 0x10001 # Cal Config (Bit 0 - Prox Re-cal, Bit 1 - Prox Fast-cal)
|
||||
132 0x00 0x10001 # Log Config (Bit 0 - Raw ALS, Bit 1 - Raw Prox, Bit 2 - Verbose)
|
||||
|
||||
# SSI SMGR Cfg 0: BMI160 Accel DRI/FIFO
|
||||
1903 0x0f4d0fd654c7eab5 0x00010001 #UUID
|
||||
1902 0xd646cb83ec0cd5a5 0x00010001 #UUID
|
||||
1904 100000 0x00010001 #off_to_idle
|
||||
1905 0 0x00010001 #idle_to_ready
|
||||
1906 0x1006 0x00010001 #spi_bus
|
||||
@@ -937,18 +969,20 @@
|
||||
1909 42 0x00010001 #gpio1
|
||||
1910 0xFFFF 0x00010001 #gpio2
|
||||
1911 0 0x00010001 #sensor_id
|
||||
1912 0 0x00010001 #spi cs
|
||||
1912 0 0x00010001 #CS for SPI
|
||||
1913 1 0x00010001 #data_type1
|
||||
1914 0 0x00010001 #data_type2
|
||||
1915 -1 0x00010001 #rel_sns_idx
|
||||
1916 1 0x00010001 #sens_default
|
||||
1917 0xD0 0x00010001 #flags
|
||||
1982 0 0x00010001 #device_select
|
||||
1987 0x2 0x00010001 #vdd
|
||||
1988 0x2 0x00010001 #vddio
|
||||
|
||||
# SSI SMGR Cfg 1: LSM6DS3 GYRO DRI/FIFO
|
||||
1919 0x1a0bd9d5956c508e 0x00010001 #UUID
|
||||
1918 0x1246e1cb09a92baa 0x00010001 #UUID
|
||||
1920 100000 0x00010001 #off_to_idle
|
||||
# SSI SMGR Cfg 1 BMI160 gyro DRI/FIFO
|
||||
1919 0x0f4d0fd654c7eab5 0x00010001 #UUID
|
||||
1918 0xd646cb83ec0cd5a5 0x00010001 #UUID
|
||||
1920 150000 0x00010001 #off_to_idle
|
||||
1921 0 0x00010001 #idle_to_ready
|
||||
1922 0x1006 0x00010001 #SPI_bus
|
||||
1923 1010 0x00010001 #reg_group_id
|
||||
@@ -963,10 +997,12 @@
|
||||
1932 3 0x00010001 #sens_default
|
||||
1933 0xD0 0x00010001 #flags
|
||||
1983 0 0x00010001 #device_select
|
||||
1989 0x2 0x00010001 #vdd
|
||||
1990 0x2 0x00010001 #vddio
|
||||
|
||||
# SSI SMGR Cfg 2: AKM09915 DRI/FIFO
|
||||
1935 0x90611b98d561168f 0x00010001 #UUID
|
||||
1934 0x564d2b94fe80aef6 0x00010001 #UUID
|
||||
1935 0x0000000000000000 0x00010001 #UUID
|
||||
1934 0x0000000000000000 0x00010001 #UUID
|
||||
1936 3000 0x00010001 #off_to_idle
|
||||
1937 10000 0x00010001 #idle_to_ready
|
||||
1938 4 0x00010001 #I2c_bus
|
||||
@@ -1049,21 +1085,21 @@
|
||||
104 50 0x00010001 #far_thresh
|
||||
105 200 0x00010001 #prx_factor
|
||||
106 32 0x00010001 #als factor
|
||||
107 50 0x00010001 #ams_magic_number
|
||||
108 1 0x00010001 #ams_driver_id
|
||||
109 1 0x00010001 #calibratePhone
|
||||
110 4 0x00010001 #ams_sensor
|
||||
111 250 0x00010001 #calLuxLower
|
||||
112 350 0x00010001 #calLuxUpper
|
||||
113 24 0x00010001 #d_factor
|
||||
114 2000 0x00010001 #iCoefB
|
||||
115 600 0x00010001 #iCoefC
|
||||
116 1000 0x00010001 #iCoefD
|
||||
117 600 0x00010001 #proxDetect
|
||||
118 400 0x00010001 #proxRelease
|
||||
119 65536 0x00010001 #luxCorrection
|
||||
120 20 0x00010001 #als_thresh_high
|
||||
121 20 0x00010001 #als_thresh_low
|
||||
#107 50 0x00010001 #ams_magic_number
|
||||
#108 1 0x00010001 #ams_driver_id
|
||||
#109 1 0x00010001 #calibratePhone
|
||||
#110 4 0x00010001 #ams_sensor
|
||||
#111 250 0x00010001 #calLuxLower
|
||||
#112 350 0x00010001 #calLuxUpper
|
||||
#113 24 0x00010001 #d_factor
|
||||
#114 2000 0x00010001 #iCoefB
|
||||
#115 600 0x00010001 #iCoefC
|
||||
#116 1000 0x00010001 #iCoefD
|
||||
#117 600 0x00010001 #proxDetect
|
||||
#118 400 0x00010001 #proxRelease
|
||||
#119 65536 0x00010001 #luxCorrection
|
||||
#120 20 0x00010001 #als_thresh_high
|
||||
#121 20 0x00010001 #als_thresh_low
|
||||
|
||||
# Factory magnetometer calibration
|
||||
401 0x00000001 0x00010001 #Mag_fac_cal_bias_valid
|
||||
@@ -1079,16 +1115,23 @@
|
||||
414 0x00010144 0x00010001 #Compensation_matrix_2_2
|
||||
|
||||
:property ro.hw.revision p0
|
||||
# SSI SMGR Cfg 2: AKM09912 DRI (Non-FIFO override for p0)
|
||||
1949 0xC0 0x00010002 #flags
|
||||
# accel x/y/z
|
||||
700 -2 0x00010001 #accel-x-axis
|
||||
701 1 0x00010001 #accel-y-axis
|
||||
702 3 0x00010001 #accel-z-axis
|
||||
# gyro x/y/z
|
||||
800 -2 0x00010001 #gyro-x-axis
|
||||
801 1 0x00010001 #gyro-y-axis
|
||||
802 3 0x00010001 #gyro-z-axis
|
||||
|
||||
:property ro.hw.revision p1a
|
||||
# SSI SMGR Cfg 2: AKM09912 DRI (Non-FIFO override for p1a)
|
||||
1949 0xC0 0x00010002 #flags
|
||||
# SSI SMGR Cfg 0: LSM6DS3 Accel FIFO
|
||||
1903 0x1a0bd9d5956c508e 0x00010001 #UUID
|
||||
1902 0x1246e1cb09a92baa 0x00010001 #UUID
|
||||
|
||||
:property ro.hw.revision p1a1
|
||||
# SSI SMGR Cfg 2: AKM09912 DRI (Non-FIFO override for p1a1)
|
||||
1949 0xC0 0x00010002 #flags
|
||||
# SSI SMGR Cfg 1: LSM6DS3 GYRO DRI/FIFO
|
||||
1919 0x1a0bd9d5956c508e 0x00010001 #UUID
|
||||
1918 0x1246e1cb09a92baa 0x00010001 #UUID
|
||||
1920 100000 0x00010001 #off_to_idle
|
||||
|
||||
:platform QRD
|
||||
|
||||
@@ -1367,17 +1410,17 @@
|
||||
:soc_id
|
||||
# Orientation of sensors
|
||||
# accel x/y/z
|
||||
700 1 0x00010002 #accel-x-axis
|
||||
701 2 0x00010002 #accel-y-axis
|
||||
702 3 0x00010002 #accel-z-axis
|
||||
700 2 0x00010002 #accel-x-axis
|
||||
701 1 0x00010002 #accel-y-axis
|
||||
702 -3 0x00010002 #accel-z-axis
|
||||
# gyro x/y/z
|
||||
800 1 0x00010002 #gyro-x-axis
|
||||
801 2 0x00010002 #gyro-y-axis
|
||||
802 3 0x00010002 #gyro-z-axis
|
||||
# mag x/y/z
|
||||
900 -1 0x00010002 #mag-x-axis
|
||||
901 3 0x00010002 #mag-y-axis
|
||||
902 2 0x00010002 #mag-z-axis
|
||||
900 -2 0x00010002 #mag-x-axis
|
||||
901 1 0x00010002 #mag-y-axis
|
||||
902 3 0x00010002 #mag-z-axis
|
||||
# SSI SMGR Version
|
||||
1900 1 0x00010001 #Maj Ver
|
||||
1901 1 0x00010001 #Min Ver
|
||||
@@ -1401,12 +1444,37 @@
|
||||
4103 5 0x10001 # SMD_ACC_WIN_TIME
|
||||
|
||||
# Mot Chopchop config
|
||||
10000 0x707f8f8 0x10001 # max gyro rot, rad/s, Q16
|
||||
10001 0x15dfea2 0x10001 # max chop dur, ms, Q16
|
||||
10002 0x13ffec 0x10001 # accel thres 1, m/s2, Q16
|
||||
10003 0x5fffa 0x10001 # accel thres 2, m/s2, Q16
|
||||
10004 0x2666 0x10001 # min mag per, Q16
|
||||
10005 0x5999 0x10001 # max xy per, Q16
|
||||
10000 0x68FF97 0x10001 # max gyro rot, 105 degrees in deg, Q16
|
||||
10001 0x15DFEA2 0x10001 # max chop dur, 350 ms, Q16
|
||||
10002 0x25FFDA 0x10001 # accel thres 1, 38 m/s2, Q16
|
||||
10003 0x23FFDC 0x10001 # accel thres 2, 36 m/s2, Q16
|
||||
10004 0x4CCD 0x10001 # min mag per, 0.3, Q16
|
||||
10005 0x599A 0x10001 # max xy per, 0.35, Q16
|
||||
|
||||
# ALS/Prox Config (AMS TMD2725-based)
|
||||
107 85 0x10001 # Prox Covered Threshold (PIHT)
|
||||
108 65 0x10001 # Prox Uncovered Threshold (PILT)
|
||||
109 32 0x10001 # Prox Pulse Count (PPULSE)
|
||||
110 1 0x10001 # Prox Pulse Length (PPULSE_LEN)
|
||||
111 54 0x10001 # Prox LED Current (PLDRIVE) - in mA
|
||||
112 1 0x10001 # Prox Gain (PGAIN) - choose from 1/2/4/8
|
||||
113 1 0x10001 # Prox Persistence (PPERS)
|
||||
114 4000 0x10001 # Prox Integration Time (PTIME) - in us
|
||||
116 5 0x10001 # ALS Threshold High - in %
|
||||
117 5 0x10001 # ALS Threshold Low - in %
|
||||
118 51000 0x10001 # ALS Integration Time (ATIME) - in us
|
||||
119 40000 0x10001 # ALS Wait Time (WTIME) - in us
|
||||
120 4 0x10001 # ALS Gain (AGAIN) - choose from 1/4/16/64
|
||||
121 1 0x10001 # ALS Persistence (APERS)
|
||||
122 9900 0x10001 # ALS Calibration Factor
|
||||
123 200 0x10001 # ALS L1 Factor
|
||||
124 697 0x10001 # ALS L2 Factor
|
||||
125 85 0x10001 # ALS L3 Factor
|
||||
126 52 0x10001 # ALS D Factor
|
||||
127 2 0x10001 # Prox Binary Search Target (x = 0~7, target = 2^x - 1)
|
||||
# ALS/Prox Mot Custom Config
|
||||
131 0x07 0x10001 # Cal Config (Bit 0 - Prox Re-cal, Bit 1 - Prox Fast-cal, Bit 2 - Unlock Re-cal)
|
||||
132 0x00 0x10001 # Log Config (Bit 0 - Raw ALS, Bit 1 - Raw Prox, Bit 2 - Verbose)
|
||||
|
||||
# SSI SMGR Cfg 0: LSM6DS3 Accel DRI/FIFO
|
||||
1903 0x1a0bd9d5956c508e 0x00010001 #UUID
|
||||
@@ -1511,7 +1579,7 @@
|
||||
3604 100 0x00010001 #off_to_idle
|
||||
3605 100 0x00010001 #idle_to_ready
|
||||
3606 4 0x00010001 #i2c_bus - ignored, unused by this device
|
||||
3607 0xFFFF 0x00010001 #reg_group_id
|
||||
3607 10001 0x00010001 #reg_group_id
|
||||
3608 0xFFFF 0x00010001 #cal_grp_id
|
||||
3609 90 0x00010001 #gpio1 CC_INT
|
||||
3610 106 0x00010001 #gpio2 CC_CLR
|
||||
@@ -1522,7 +1590,7 @@
|
||||
3615 0xFF 0x00010001 #rel_sns_idx
|
||||
3616 0 0x00010001 #sens_default
|
||||
3617 0x80 0x00010001 #flags
|
||||
3682 0 0x00010001 #device_select
|
||||
3682 0x0C 0x00010001 #device_select - Third GPIO, valid in Rev 07+ HW
|
||||
|
||||
# SSI SMGR Cfg 6: Motorola DSP
|
||||
3619 0x9ccb3198c7b94c22 0x00010001 #UUID
|
||||
@@ -1582,24 +1650,7 @@
|
||||
223 0x00001657 0x00010001 #RMD INT Cfg param3
|
||||
224 0x00003333 0x00010001 #RMD INT Cfg param4
|
||||
|
||||
:property ro.hw.revision p0
|
||||
# SSI SMGR Cfg 2: AKM09912 DRI (Non-FIFO override for p0)
|
||||
1949 0xC0 0x00010002 #flags
|
||||
|
||||
:property ro.hw.revision p1a
|
||||
# SSI SMGR Cfg 2: AKM09912 DRI (Non-FIFO override for p1a)
|
||||
1949 0xC0 0x00010002 #flags
|
||||
|
||||
:property ro.hw.revision p1a1
|
||||
# SSI SMGR Cfg 2: AKM09912 DRI (Non-FIFO override for p1a1)
|
||||
1949 0xC0 0x00010002 #flags
|
||||
|
||||
:property ro.build.product sanders
|
||||
700 2 0x00010002 #accel-x-axis
|
||||
701 1 0x00010002 #accel-y-axis
|
||||
702 -3 0x00010002 #accel-z-axis
|
||||
|
||||
:platform MTP
|
||||
:platform MTP_xxx_NEVER_USE
|
||||
# TMD27723 override default parameters
|
||||
100 25 0x00010001 #visible_light_trans_ratio
|
||||
101 60 0x00010001 #ir_light_trans_ratio
|
||||
|
||||
Reference in New Issue
Block a user