Home
last modified time | relevance | path

Searched refs:tmpU32no2 (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core_c.c30 uint32_t zeros, num, den, tmpU32no1, tmpU32no2, tmpU32no3; in WebRtcNsx_SpeechNoiseProb() local
118 tmpU32no2 = inst->thresholdSpecFlat - tmpU32no1; //Q10 in WebRtcNsx_SpeechNoiseProb()
122 tmpU32no2 = tmpU32no1 - inst->thresholdSpecFlat; in WebRtcNsx_SpeechNoiseProb()
126 tmpU32no1 = WebRtcSpl_DivU32U16(tmpU32no2 << nShifts, 25); // Q14 in WebRtcNsx_SpeechNoiseProb()
154 tmpU32no2 = inst->timeAvgMagnEnergy >> (20 - inst->stages - normTmp); in WebRtcNsx_SpeechNoiseProb()
155 if (tmpU32no2 > 0) { in WebRtcNsx_SpeechNoiseProb()
157 tmpU32no1 /= tmpU32no2; in WebRtcNsx_SpeechNoiseProb()
163 tmpU32no2 = tmpU32no1 - tmpU32no3; in WebRtcNsx_SpeechNoiseProb()
167 if (tmpU32no2 & 0x80000000) { in WebRtcNsx_SpeechNoiseProb()
169 tmpU32no2 = tmpU32no3 - tmpU32no1; in WebRtcNsx_SpeechNoiseProb()
[all …]
Dnsx_core.c1093 uint32_t tmpU32no1, tmpU32no2; in WebRtcNsx_ComputeSpectralDifference() local
1149 tmpU32no2 = WEBRTC_SPL_UMUL(tmpU32no1, tmpU32no1); // Q(2*(prevQMagn+qMagn-norm32)) in WebRtcNsx_ComputeSpectralDifference()
1159 tmpU32no1 = tmpU32no2 / varPauseUFX; in WebRtcNsx_ComputeSpectralDifference()
1171 tmpU32no2 = WEBRTC_SPL_UMUL_32_16(inst->featureSpecDiff - tmpU32no1, in WebRtcNsx_ComputeSpectralDifference()
1173 inst->featureSpecDiff -= tmpU32no2 >> 8; // Q(-2*stages) in WebRtcNsx_ComputeSpectralDifference()
1175 tmpU32no2 = WEBRTC_SPL_UMUL_32_16(tmpU32no1 - inst->featureSpecDiff, in WebRtcNsx_ComputeSpectralDifference()
1177 inst->featureSpecDiff += tmpU32no2 >> 8; // Q(-2*stages) in WebRtcNsx_ComputeSpectralDifference()
1506 uint32_t tmpU32no1, tmpU32no2, tmpU32no3; in WebRtcNsx_ProcessCore() local
1673 tmpU32no2 = numerator / tmpU32no1; // Q14 in WebRtcNsx_ProcessCore()
1674 noiseSupFilterTmp[i] = (uint16_t)WEBRTC_SPL_SAT(16384, tmpU32no2, in WebRtcNsx_ProcessCore()
[all …]
Dnsx_core_mips.c30 uint32_t tmpU32no1, tmpU32no2, tmpU32no3; in WebRtcNsx_SpeechNoiseProb() local
153 tmpU32no2 = inst->thresholdSpecFlat - tmpU32no1; //Q10 in WebRtcNsx_SpeechNoiseProb()
157 tmpU32no2 = tmpU32no1 - inst->thresholdSpecFlat; in WebRtcNsx_SpeechNoiseProb()
161 tmpU32no1 = WebRtcSpl_DivU32U16(tmpU32no2 << nShifts, 25); //Q14 in WebRtcNsx_SpeechNoiseProb()
189 tmpU32no2 = inst->timeAvgMagnEnergy >> (20 - inst->stages - normTmp); in WebRtcNsx_SpeechNoiseProb()
190 if (tmpU32no2 > 0) { in WebRtcNsx_SpeechNoiseProb()
192 tmpU32no1 /= tmpU32no2; in WebRtcNsx_SpeechNoiseProb()
198 tmpU32no2 = tmpU32no1 - tmpU32no3; in WebRtcNsx_SpeechNoiseProb()
202 if (tmpU32no2 & 0x80000000) { in WebRtcNsx_SpeechNoiseProb()
204 tmpU32no2 = tmpU32no3 - tmpU32no1; in WebRtcNsx_SpeechNoiseProb()
[all …]
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c68 uint32_t tmpU32no1, tmpU32no2, absInLevel, logApprox; in WebRtcAgc_CalculateGainTable() local
167 tmpU32no2 = absInLevel >> (15 - zeros); // Q(zeros-1) in WebRtcAgc_CalculateGainTable()
168 tmpU32no2 = WEBRTC_SPL_UMUL_32_16(tmpU32no2, kLogE_1); // Q(zeros+13) in WebRtcAgc_CalculateGainTable()
175 tmpU32no2 >>= zeros - 9; // Q22 in WebRtcAgc_CalculateGainTable()
179 tmpU32no2 = WEBRTC_SPL_UMUL_32_16(absInLevel, kLogE_1); // Q28 in WebRtcAgc_CalculateGainTable()
180 tmpU32no2 >>= 6; // Q22 in WebRtcAgc_CalculateGainTable()
183 if (tmpU32no2 < tmpU32no1) in WebRtcAgc_CalculateGainTable()
185 logApprox = (tmpU32no1 - tmpU32no2) >> (8 - zerosScale); //Q14 in WebRtcAgc_CalculateGainTable()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core.c900 uint32_t tmpU32no1, tmpU32no2; in WebRtcAecm_UpdateChannel() local
958 tmpU32no2 = WEBRTC_SPL_SHIFT_W32((uint32_t)dfa[i], dfaQ); in WebRtcAecm_UpdateChannel()
959 tmp32no1 = (int32_t)tmpU32no2 - (int32_t)tmpU32no1; in WebRtcAecm_UpdateChannel()