Home
last modified time | relevance | path

Searched refs:tmpU32no1 (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
115 tmpU32no1 = WEBRTC_SPL_UMUL(inst->featureSpecFlat, 400); // Q10 in WebRtcNsx_SpeechNoiseProb()
118 tmpU32no2 = inst->thresholdSpecFlat - tmpU32no1; //Q10 in WebRtcNsx_SpeechNoiseProb()
120 if (inst->thresholdSpecFlat < tmpU32no1) { in WebRtcNsx_SpeechNoiseProb()
122 tmpU32no2 = tmpU32no1 - inst->thresholdSpecFlat; in WebRtcNsx_SpeechNoiseProb()
126 tmpU32no1 = WebRtcSpl_DivU32U16(tmpU32no2 << nShifts, 25); // Q14 in WebRtcNsx_SpeechNoiseProb()
131 tableIndex = (int16_t)(tmpU32no1 >> 14); in WebRtcNsx_SpeechNoiseProb()
135 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb()
148 tmpU32no1 = 0; in WebRtcNsx_SpeechNoiseProb()
153 tmpU32no1 = inst->featureSpecDiff << normTmp; // Q(normTmp-2*stages) in WebRtcNsx_SpeechNoiseProb()
[all …]
Dnsx_core.c1093 uint32_t tmpU32no1, tmpU32no2; in WebRtcNsx_ComputeSpectralDifference() local
1142 tmpU32no1 = (uint32_t)WEBRTC_SPL_ABS_W32(covMagnPauseFX); // Q(prevQMagn+qMagn) in WebRtcNsx_ComputeSpectralDifference()
1143 norm32 = WebRtcSpl_NormU32(tmpU32no1) - 16; in WebRtcNsx_ComputeSpectralDifference()
1145 tmpU32no1 <<= norm32; // Q(prevQMagn+qMagn+norm32) in WebRtcNsx_ComputeSpectralDifference()
1147 tmpU32no1 >>= -norm32; // Q(prevQMagn+qMagn+norm32) in WebRtcNsx_ComputeSpectralDifference()
1149 tmpU32no2 = WEBRTC_SPL_UMUL(tmpU32no1, tmpU32no1); // Q(2*(prevQMagn+qMagn-norm32)) in WebRtcNsx_ComputeSpectralDifference()
1159 tmpU32no1 = tmpU32no2 / varPauseUFX; in WebRtcNsx_ComputeSpectralDifference()
1160 tmpU32no1 >>= nShifts; in WebRtcNsx_ComputeSpectralDifference()
1163 avgDiffNormMagnUFX -= WEBRTC_SPL_MIN(avgDiffNormMagnUFX, tmpU32no1); in WebRtcNsx_ComputeSpectralDifference()
1169 tmpU32no1 = avgDiffNormMagnUFX >> (2 * inst->normData); in WebRtcNsx_ComputeSpectralDifference()
[all …]
Dnsx_core_mips.c30 uint32_t tmpU32no1, tmpU32no2, tmpU32no3; in WebRtcNsx_SpeechNoiseProb() local
150 tmpU32no1 = WEBRTC_SPL_UMUL(inst->featureSpecFlat, 400); // Q10 in WebRtcNsx_SpeechNoiseProb()
153 tmpU32no2 = inst->thresholdSpecFlat - tmpU32no1; //Q10 in WebRtcNsx_SpeechNoiseProb()
155 if (inst->thresholdSpecFlat < tmpU32no1) { in WebRtcNsx_SpeechNoiseProb()
157 tmpU32no2 = tmpU32no1 - inst->thresholdSpecFlat; in WebRtcNsx_SpeechNoiseProb()
161 tmpU32no1 = WebRtcSpl_DivU32U16(tmpU32no2 << nShifts, 25); //Q14 in WebRtcNsx_SpeechNoiseProb()
166 tableIndex = (int16_t)(tmpU32no1 >> 14); in WebRtcNsx_SpeechNoiseProb()
170 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb()
183 tmpU32no1 = 0; in WebRtcNsx_SpeechNoiseProb()
188 tmpU32no1 = inst->featureSpecDiff << normTmp; // Q(normTmp-2*stages) 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
155 tmpU32no1 = tmpU16 * fracPart; // Q22 in WebRtcAgc_CalculateGainTable()
156 tmpU32no1 += (uint32_t)kGenFuncTable[intPart] << 14; // Q22 in WebRtcAgc_CalculateGainTable()
157 logApprox = tmpU32no1 >> 8; // Q14 in WebRtcAgc_CalculateGainTable()
172 tmpU32no1 >>= zerosScale; // Q(zeros+13) 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
925 tmpU32no1 = WEBRTC_SPL_UMUL_32_16(aecm->channelAdapt32[i], in WebRtcAecm_UpdateChannel()
932 tmpU32no1 = (aecm->channelAdapt32[i] >> shiftChFar) * in WebRtcAecm_UpdateChannel()
936 zerosNum = WebRtcSpl_NormU32(tmpU32no1); in WebRtcAecm_UpdateChannel()
957 tmpU32no1 = WEBRTC_SPL_SHIFT_W32(tmpU32no1, xfaQ); in WebRtcAecm_UpdateChannel()
959 tmp32no1 = (int32_t)tmpU32no2 - (int32_t)tmpU32no1; in WebRtcAecm_UpdateChannel()