Searched refs:tmp32no1 (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/ns/ |
D | nsx_core_c.c | 31 int32_t invLrtFX, indPriorFX, tmp32, tmp32no1, tmp32no2, besselTmpFX32; in WebRtcNsx_SpeechNoiseProb() local 69 tmp32no1 = (logTmp + inst->logLrtTimeAvgW32[i]) / 2; in WebRtcNsx_SpeechNoiseProb() 70 inst->logLrtTimeAvgW32[i] += (besselTmpFX32 - tmp32no1); // Q12 in WebRtcNsx_SpeechNoiseProb() 88 tmp32no1 = logLrtTimeAvgKsumFX - inst->thresholdLogLrt; // Q12 in WebRtcNsx_SpeechNoiseProb() 91 if (tmp32no1 < 0) { in WebRtcNsx_SpeechNoiseProb() 93 tmp32no1 = -tmp32no1; in WebRtcNsx_SpeechNoiseProb() 97 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14 in WebRtcNsx_SpeechNoiseProb() 99 tableIndex = (int16_t)(tmp32no1 >> 14); in WebRtcNsx_SpeechNoiseProb() 103 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 223 tmp32no1 = (inst->logLrtTimeAvgW32[i] * 23637) >> 14; // Q12 in WebRtcNsx_SpeechNoiseProb() [all …]
|
D | nsx_core_mips.c | 31 int32_t indPriorFX, tmp32no1; in WebRtcNsx_SpeechNoiseProb() local 123 tmp32no1 = logLrtTimeAvgKsumFX - inst->thresholdLogLrt; // Q12 in WebRtcNsx_SpeechNoiseProb() 126 if (tmp32no1 < 0) { in WebRtcNsx_SpeechNoiseProb() 128 tmp32no1 = -tmp32no1; in WebRtcNsx_SpeechNoiseProb() 132 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14 in WebRtcNsx_SpeechNoiseProb() 134 tableIndex = (int16_t)(tmp32no1 >> 14); in WebRtcNsx_SpeechNoiseProb() 138 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core.c | 304 int32_t tmp32no1 = 0; in UpdateNoiseEstimate() local 320 tmp32no1 = (0x00200000 | (tmp32no2 & 0x001FFFFF)); // 2^21 + frac in UpdateNoiseEstimate() 325 tmp32no1 >>= -tmp16; in UpdateNoiseEstimate() 327 tmp32no1 <<= tmp16; in UpdateNoiseEstimate() 329 inst->noiseEstQuantile[i] = WebRtcSpl_SatW32ToW16(tmp32no1); in UpdateNoiseEstimate() 589 int32_t tmp32no1 = 0; in WebRtcNsx_CalcParametricNoiseEstimate() local 600 tmp32no1 = pink_noise_num_avg - tmp32no2; // Q11 in WebRtcNsx_CalcParametricNoiseEstimate() 604 tmp32no1 += (inst->minNorm - inst->stages) << 11; in WebRtcNsx_CalcParametricNoiseEstimate() 605 if (tmp32no1 > 0) { in WebRtcNsx_CalcParametricNoiseEstimate() 606 int_part = (int16_t)(tmp32no1 >> 11); in WebRtcNsx_CalcParametricNoiseEstimate() [all …]
|
D | nsx_core_neon.c | 120 int32_t tmp32no1 = (0x00200000 | (tmp32no2 & 0x001FFFFF)); // 2^21 + frac in UpdateNoiseEstimateNeon() local 126 tmp32no1 >>= -tmp16; in UpdateNoiseEstimateNeon() 128 tmp32no1 <<= tmp16; in UpdateNoiseEstimateNeon() 130 *ptr_noiseEstQuantile = WebRtcSpl_SatW32ToW16(tmp32no1); in UpdateNoiseEstimateNeon()
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | aecm_core_c.c | 97 int32_t tmp32no1; in InverseFFTAndWindow() local 118 tmp32no1 = WEBRTC_SPL_SHIFT_W32((int32_t)ifft_out[i], in InverseFFTAndWindow() 121 tmp32no1 + aecm->outBuf[i], in InverseFFTAndWindow() 124 tmp32no1 = (ifft_out[PART_LEN + i] * in InverseFFTAndWindow() 126 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, in InverseFFTAndWindow() 129 tmp32no1, in InverseFFTAndWindow() 168 int32_t tmp32no1 = 0; in TimeToFrequencyDomain() local 257 :[tmp32no1]"+&r"(tmp32no1), in TimeToFrequencyDomain() 265 tmp32no1 = tmp16no1 * tmp16no1; in TimeToFrequencyDomain() 267 tmp32no2 = WebRtcSpl_AddSatW32(tmp32no1, tmp32no2); in TimeToFrequencyDomain() [all …]
|
D | aecm_core.c | 901 int32_t tmp32no1, tmp32no2; in WebRtcAecm_UpdateChannel() local 959 tmp32no1 = (int32_t)tmpU32no2 - (int32_t)tmpU32no1; in WebRtcAecm_UpdateChannel() 960 zerosNum = WebRtcSpl_NormW32(tmp32no1); in WebRtcAecm_UpdateChannel() 961 if ((tmp32no1) && (far_spectrum[i] > (CHANNEL_VAD << far_q))) in WebRtcAecm_UpdateChannel() 977 if (tmp32no1 > 0) in WebRtcAecm_UpdateChannel() 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() 990 if (tmp32no1 > 0) in WebRtcAecm_UpdateChannel() 992 tmp32no2 = (tmp32no1 >> shiftNum) * far_spectrum[i]; in WebRtcAecm_UpdateChannel() 995 tmp32no2 = -((-tmp32no1 >> shiftNum) * far_spectrum[i]); in WebRtcAecm_UpdateChannel() [all …]
|
D | aecm_core_mips.c | 640 int32_t tmp32no1; in TimeToFrequencyDomain() local 691 tmp32no1 = tmp16no1 * tmp16no1; in TimeToFrequencyDomain() 693 tmp32no2 = WebRtcSpl_AddSatW32(tmp32no1, tmp32no2); in TimeToFrequencyDomain() 694 tmp32no1 = WebRtcSpl_SqrtFloor(tmp32no2); in TimeToFrequencyDomain() 696 freq_signal_abs[i] = (uint16_t)tmp32no1; in TimeToFrequencyDomain() 807 int32_t tmp32no1; in WebRtcAecm_ProcessBlock() local 969 tmp32no1 = echoEst32[i] - aecm->echoFilt[i]; in WebRtcAecm_ProcessBlock() 970 aecm->echoFilt[i] += (tmp32no1 * 50) >> 8; in WebRtcAecm_ProcessBlock() 1012 tmp32no1 = (int32_t)(tmp16no2 - tmp16no1); in WebRtcAecm_ProcessBlock() 1013 tmp16no2 = (int16_t)(tmp32no1 >> 4); in WebRtcAecm_ProcessBlock() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 70 int32_t tmp32, tmp32no1, tmp32no2, numFIX, den, y32; in WebRtcAgc_CalculateGainTable() local 90 tmp32no1 = (digCompGaindB - analogTarget) * (kCompRatio - 1); in WebRtcAgc_CalculateGainTable() 92 tmp16no1 += WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable() 94 tmp32no1 = maxGain * kCompRatio; in WebRtcAgc_CalculateGainTable() 96 zeroGainLvl -= WebRtcSpl_DivW32W16ResW16(tmp32no1 + ((kCompRatio - 1) >> 1), in WebRtcAgc_CalculateGainTable() 107 tmp32no1 = digCompGaindB * (kCompRatio - 1); in WebRtcAgc_CalculateGainTable() 108 diffGain = WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable() 204 tmp32no1 = WEBRTC_SPL_SHIFT_W32(den, zeros - 8); // Q(zeros) in WebRtcAgc_CalculateGainTable() 207 numFIX -= tmp32no1 / 2; in WebRtcAgc_CalculateGainTable() 210 numFIX += tmp32no1 / 2; in WebRtcAgc_CalculateGainTable() [all …]
|