Home
last modified time | relevance | path

Searched refs:tmp32no2 (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core.c901 int32_t tmp32no1, tmp32no2; in WebRtcAecm_UpdateChannel() local
979 tmp32no2 = (int32_t)WEBRTC_SPL_UMUL_32_16(tmp32no1, in WebRtcAecm_UpdateChannel()
983 tmp32no2 = -(int32_t)WEBRTC_SPL_UMUL_32_16(-tmp32no1, in WebRtcAecm_UpdateChannel()
992 tmp32no2 = (tmp32no1 >> shiftNum) * far_spectrum[i]; in WebRtcAecm_UpdateChannel()
995 tmp32no2 = -((-tmp32no1 >> shiftNum) * far_spectrum[i]); in WebRtcAecm_UpdateChannel()
999 tmp32no2 = WebRtcSpl_DivW32W16(tmp32no2, i + 1); in WebRtcAecm_UpdateChannel()
1002 if (WebRtcSpl_NormW32(tmp32no2) < shift2ResChan) in WebRtcAecm_UpdateChannel()
1004 tmp32no2 = WEBRTC_SPL_WORD32_MAX; in WebRtcAecm_UpdateChannel()
1007 tmp32no2 = WEBRTC_SPL_SHIFT_W32(tmp32no2, shift2ResChan); in WebRtcAecm_UpdateChannel()
1010 WebRtcSpl_AddSatW32(aecm->channelAdapt32[i], tmp32no2); in WebRtcAecm_UpdateChannel()
[all …]
Daecm_core_c.c169 int32_t tmp32no2 = 0; in TimeToFrequencyDomain() local
258 [tmp32no2]"=r"(tmp32no2) in TimeToFrequencyDomain()
266 tmp32no2 = tmp16no2 * tmp16no2; in TimeToFrequencyDomain()
267 tmp32no2 = WebRtcSpl_AddSatW32(tmp32no1, tmp32no2); in TimeToFrequencyDomain()
269 tmp32no1 = WebRtcSpl_SqrtFloor(tmp32no2); in TimeToFrequencyDomain()
Daecm_core_mips.c641 int32_t tmp32no2; in TimeToFrequencyDomain() local
692 tmp32no2 = tmp16no2 * tmp16no2; in TimeToFrequencyDomain()
693 tmp32no2 = WebRtcSpl_AddSatW32(tmp32no1, tmp32no2); in TimeToFrequencyDomain()
694 tmp32no1 = WebRtcSpl_SqrtFloor(tmp32no2); in TimeToFrequencyDomain()
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core.c305 int32_t tmp32no2 = 0; in UpdateNoiseEstimate() local
319 tmp32no2 = kExp2Const * inst->noiseEstLogQuantile[offset + i]; in UpdateNoiseEstimate()
320 tmp32no1 = (0x00200000 | (tmp32no2 & 0x001FFFFF)); // 2^21 + frac in UpdateNoiseEstimate()
321 tmp16 = (int16_t)(tmp32no2 >> 21); in UpdateNoiseEstimate()
590 int32_t tmp32no2 = 0; in WebRtcNsx_CalcParametricNoiseEstimate() local
599 tmp32no2 = (pink_noise_exp_avg * kLogIndex[freq_index]) >> 15; // Q11 in WebRtcNsx_CalcParametricNoiseEstimate()
600 tmp32no1 = pink_noise_num_avg - tmp32no2; // Q11 in WebRtcNsx_CalcParametricNoiseEstimate()
613 tmp32no2 = (2048 - frac_part) * 1244; // Q21 in WebRtcNsx_CalcParametricNoiseEstimate()
614 tmp32no2 = 2048 - (tmp32no2 >> 10); in WebRtcNsx_CalcParametricNoiseEstimate()
617 tmp32no2 = (frac_part * 804) >> 10; in WebRtcNsx_CalcParametricNoiseEstimate()
[all …]
Dnsx_core_c.c31 int32_t invLrtFX, indPriorFX, tmp32, tmp32no1, tmp32no2, besselTmpFX32; in WebRtcNsx_SpeechNoiseProb() local
231 tmp32no2 = (frac * frac * 44) >> 19; // Q12. in WebRtcNsx_SpeechNoiseProb()
232 tmp32no2 += (frac * 84) >> 7; // Q12 in WebRtcNsx_SpeechNoiseProb()
234 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
Dnsx_core_neon.c119 int32_t tmp32no2 = kExp2Const * *ptr_noiseEstLogQuantile; in UpdateNoiseEstimateNeon() local
120 int32_t tmp32no1 = (0x00200000 | (tmp32no2 & 0x001FFFFF)); // 2^21 + frac in UpdateNoiseEstimateNeon()
122 tmp16 = (int16_t)(tmp32no2 >> 21); in UpdateNoiseEstimateNeon()
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c70 int32_t tmp32, tmp32no1, tmp32no2, numFIX, den, y32; in WebRtcAgc_CalculateGainTable() local
238 tmp32no2 = (1 << 14) - fracPart; in WebRtcAgc_CalculateGainTable()
239 tmp32no2 *= tmp16; in WebRtcAgc_CalculateGainTable()
240 tmp32no2 >>= 13; in WebRtcAgc_CalculateGainTable()
241 tmp32no2 = (1 << 14) - tmp32no2; in WebRtcAgc_CalculateGainTable()
245 tmp32no2 = (fracPart * tmp16) >> 13; in WebRtcAgc_CalculateGainTable()
247 fracPart = (uint16_t)tmp32no2; in WebRtcAgc_CalculateGainTable()