Searched refs:tmp16no1 (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | aecm_core_c.c | 175 int16_t tmp16no1; in TimeToFrequencyDomain() local 187 tmp16no1 = WebRtcSpl_MaxAbsValueW16(time_signal, PART_LEN2); in TimeToFrequencyDomain() 188 time_signal_scaling = WebRtcSpl_NormW16(tmp16no1); in TimeToFrequencyDomain() 222 tmp16no1 = WEBRTC_SPL_ABS_W16(freq_signal[i].real); in TimeToFrequencyDomain() 225 if(tmp16no1 > tmp16no2) in TimeToFrequencyDomain() 227 max_value = tmp16no1; in TimeToFrequencyDomain() 232 min_value = tmp16no1; in TimeToFrequencyDomain() 249 tmp16no1 = (int16_t)((max_value * alpha) >> 15); in TimeToFrequencyDomain() 251 freq_signal_abs[i] = (uint16_t)tmp16no1 + (uint16_t)tmp16no2; in TimeToFrequencyDomain() 263 tmp16no1 = WEBRTC_SPL_ABS_W16(freq_signal[i].real); in TimeToFrequencyDomain() [all …]
|
D | aecm_core.c | 909 int16_t tmp16no1; in WebRtcAecm_UpdateChannel() local 944 tmp16no1 = zerosDfa - 2 + aecm->dfaNoisyQDomain - in WebRtcAecm_UpdateChannel() 946 if (zerosNum > tmp16no1 + 1) in WebRtcAecm_UpdateChannel() 948 xfaQ = tmp16no1; in WebRtcAecm_UpdateChannel() 1111 int16_t tmp16no1; in WebRtcAecm_CalcSuppressionGain() local 1125 tmp16no1 = (aecm->nearLogEnergy[0] - aecm->echoStoredLogEnergy[0] - ENERGY_DEV_OFFSET); in WebRtcAecm_CalcSuppressionGain() 1126 dE = WEBRTC_SPL_ABS_W16(tmp16no1); in WebRtcAecm_CalcSuppressionGain() 1136 tmp16no1 = (int16_t)WebRtcSpl_DivW32W16(tmp32no1, SUPGAIN_EPC_DT); in WebRtcAecm_CalcSuppressionGain() 1137 supGain = aecm->supGainErrParamA - tmp16no1; in WebRtcAecm_CalcSuppressionGain() 1142 tmp16no1 = (int16_t)WebRtcSpl_DivW32W16(tmp32no1, (ENERGY_DEV_TOL in WebRtcAecm_CalcSuppressionGain() [all …]
|
D | aecm_core_mips.c | 638 int16_t tmp16no1; in TimeToFrequencyDomain() local 653 tmp16no1 = WebRtcSpl_MaxAbsValueW16(time_signal, PART_LEN2); in TimeToFrequencyDomain() 654 time_signal_scaling = WebRtcSpl_NormW16(tmp16no1); in TimeToFrequencyDomain() 689 tmp16no1 = WEBRTC_SPL_ABS_W16(freq_signal[i].real); in TimeToFrequencyDomain() 691 tmp32no1 = tmp16no1 * tmp16no1; in TimeToFrequencyDomain() 829 int16_t tmp16no1; in WebRtcAecm_ProcessBlock() local 983 tmp16no1 = 17 - zeros32 - zeros16; in WebRtcAecm_ProcessBlock() 984 resolutionDiff = 14 + tmp16no1 - RESOLUTION_CHANNEL16 - in WebRtcAecm_ProcessBlock() 987 if (zeros32 > tmp16no1) { in WebRtcAecm_ProcessBlock() 990 supGain >> tmp16no1); in WebRtcAecm_ProcessBlock() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
D | nsx_core_c.c | 35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local 102 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb() 104 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 134 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb() 136 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 181 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb() 184 tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core_mips.c | 34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac; in WebRtcNsx_SpeechNoiseProb() local 137 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb() 139 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 169 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb() 171 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); in WebRtcNsx_SpeechNoiseProb() 216 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; in WebRtcNsx_SpeechNoiseProb() 219 tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core.c | 340 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; in NoiseEstimationC() local 426 tmp16no1 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( in NoiseEstimationC() 430 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2; in NoiseEstimationC() 1100 int16_t tmp16no1; in WebRtcNsx_ComputeSpectralDifference() local 1128 tmp16no1 = (int16_t)((int32_t)magnIn[i] - avgMagnFX); in WebRtcNsx_ComputeSpectralDifference() 1130 varMagnUFX += (uint32_t)(tmp16no1 * tmp16no1); // Q(2*qMagn) in WebRtcNsx_ComputeSpectralDifference() 1131 tmp32no1 = tmp32no2 * tmp16no1; // Q(prevQMagn+qMagn) in WebRtcNsx_ComputeSpectralDifference() 1430 int16_t tmp16no1, tmp16no2; in WebRtcNsx_DataSynthesis() local 1490 tmp16no1 = (int16_t)(((16384 - inst->priorNonSpeechProb) * gainFactor1) >> in WebRtcNsx_DataSynthesis() 1493 gainFactor = tmp16no1 + tmp16no2; // Q13 in WebRtcNsx_DataSynthesis()
|
D | nsx_core_neon.c | 140 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; in WebRtcNsx_NoiseEstimationNeon() local 325 tmp16no1 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( in WebRtcNsx_NoiseEstimationNeon() 329 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2; in WebRtcNsx_NoiseEstimationNeon()
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 81 int16_t i, tmp16, tmp16no1; in WebRtcAgc_CalculateGainTable() local 91 tmp16no1 = analogTarget - targetLevelDbfs; in WebRtcAgc_CalculateGainTable() 92 tmp16no1 += WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable() 93 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); in WebRtcAgc_CalculateGainTable() 121 tmp16no1 = WebRtcSpl_DivW32W16ResW16(limiterOffset + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable() 122 limiterLvl = targetLevelDbfs + tmp16no1; in WebRtcAgc_CalculateGainTable()
|