Home
last modified time | relevance | path

Searched refs:tmp16no2 (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core_c.c35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
101 tmp16no2 = kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb()
104 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb()
106 tmpIndFX = 8192 - tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
108 tmpIndFX = 8192 + tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
133 tmp16no2 = kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb()
136 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb()
138 tmpIndFX = 8192 + tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
140 tmpIndFX = 8192 - tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
180 tmp16no2 = kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb()
[all …]
Dnsx_core_mips.c34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac; in WebRtcNsx_SpeechNoiseProb() local
136 tmp16no2 = kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb()
139 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb()
141 tmpIndFX = 8192 - tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
143 tmpIndFX = 8192 + tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
168 tmp16no2 = kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb()
171 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb()
173 tmpIndFX = 8192 + tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
175 tmpIndFX = 8192 - tmp16no2; // Q14 in WebRtcNsx_SpeechNoiseProb()
215 tmp16no2 = kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb()
[all …]
Dnsx_core_neon.c140 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; in WebRtcNsx_NoiseEstimationNeon() local
312 tmp16no2 = (int16_t)((tmp16 / 2) * 3 / 2); in WebRtcNsx_NoiseEstimationNeon()
313 inst->noiseEstLogQuantile[offset + i] -= tmp16no2; in WebRtcNsx_NoiseEstimationNeon()
327 tmp16no2 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( in WebRtcNsx_NoiseEstimationNeon()
329 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2; in WebRtcNsx_NoiseEstimationNeon()
Dnsx_core.c340 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; in NoiseEstimationC() local
414 tmp16no2 = (int16_t)((tmp16 / 2) * 3 / 2); in NoiseEstimationC()
415 inst->noiseEstLogQuantile[offset + i] -= tmp16no2; in NoiseEstimationC()
428 tmp16no2 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( in NoiseEstimationC()
430 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2; in NoiseEstimationC()
1430 int16_t tmp16no1, tmp16no2; in WebRtcNsx_DataSynthesis() local
1492 tmp16no2 = (int16_t)((inst->priorNonSpeechProb * gainFactor2) >> 14); in WebRtcNsx_DataSynthesis()
1493 gainFactor = tmp16no1 + tmp16no2; // Q13 in WebRtcNsx_DataSynthesis()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core_c.c177 int16_t tmp16no2; in TimeToFrequencyDomain() local
223 tmp16no2 = WEBRTC_SPL_ABS_W16(freq_signal[i].imag); in TimeToFrequencyDomain()
225 if(tmp16no1 > tmp16no2) in TimeToFrequencyDomain()
228 min_value = tmp16no2; in TimeToFrequencyDomain()
231 max_value = tmp16no2; in TimeToFrequencyDomain()
250 tmp16no2 = (int16_t)((min_value * beta) >> 15); in TimeToFrequencyDomain()
251 freq_signal_abs[i] = (uint16_t)tmp16no1 + (uint16_t)tmp16no2; in TimeToFrequencyDomain()
264 tmp16no2 = WEBRTC_SPL_ABS_W16(freq_signal[i].imag); in TimeToFrequencyDomain()
266 tmp32no2 = tmp16no2 * tmp16no2; in TimeToFrequencyDomain()
318 int16_t tmp16no2; in WebRtcAecm_ProcessBlock() local
[all …]
Daecm_core_mips.c642 int16_t tmp16no2; in TimeToFrequencyDomain() local
690 tmp16no2 = WEBRTC_SPL_ABS_W16(freq_signal[i].imag); in TimeToFrequencyDomain()
692 tmp32no2 = tmp16no2 * tmp16no2; in TimeToFrequencyDomain()
830 int16_t tmp16no2; in WebRtcAecm_ProcessBlock() local
1003 tmp16no2 = ptrDfaClean[i] >> -qDomainDiff; in WebRtcAecm_ProcessBlock()
1009 tmp16no2 = ptrDfaClean[i]; in WebRtcAecm_ProcessBlock()
1012 tmp32no1 = (int32_t)(tmp16no2 - tmp16no1); in WebRtcAecm_ProcessBlock()
1013 tmp16no2 = (int16_t)(tmp32no1 >> 4); in WebRtcAecm_ProcessBlock()
1014 tmp16no2 += tmp16no1; in WebRtcAecm_ProcessBlock()
1015 zeros16 = WebRtcSpl_NormW16(tmp16no2); in WebRtcAecm_ProcessBlock()
[all …]