/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/ |
H A D | nsx_core_c.c | 33 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; local 101 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; 103 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 137 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; 139 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 187 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; 190 tmp16no1, frac, 14);
|
H A D | nsx_core_mips.c | 32 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac; local 133 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; 135 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 169 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; 171 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 219 tmp16no1 = kIndicatorTable[tableIndex + 1] - kIndicatorTable[tableIndex]; 222 tmp16no1, frac, 14);
|
H A D | nsx_core_neon.c | 142 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; local 316 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 2); 317 inst->noiseEstLogQuantile[offset + i] += tmp16no1; 320 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 1); 322 tmp16no2 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, 3, 1); 335 tmp16no1 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( 339 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2;
|
H A D | nsx_core.c | 341 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; local 410 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 2); 411 inst->noiseEstLogQuantile[offset + i] += tmp16no1; 414 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 1); 416 tmp16no2 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, 3, 1); 428 tmp16no1 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( 432 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2; 1108 int16_t tmp16no1; local 1135 tmp16no1 = (int16_t)((int32_t)magnIn[i] - avgMagnFX); 1137 varMagnUFX += (uint32_t)WEBRTC_SPL_MUL_16_16(tmp16no1, tmp16no 1450 int16_t tmp16no1, tmp16no2; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/ |
H A D | aecm_core_c.c | 181 int16_t tmp16no1; local 193 tmp16no1 = WebRtcSpl_MaxAbsValueW16(time_signal, PART_LEN2); 194 time_signal_scaling = WebRtcSpl_NormW16(tmp16no1); 228 tmp16no1 = WEBRTC_SPL_ABS_W16(freq_signal[i].real); 231 if(tmp16no1 > tmp16no2) 233 max_value = tmp16no1; 238 min_value = tmp16no1; 255 tmp16no1 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(max_value, alpha, 15); 257 freq_signal_abs[i] = (uint16_t)tmp16no1 + (uint16_t)tmp16no2; 269 tmp16no1 324 int16_t tmp16no1; local [all...] |
H A D | aecm_core.c | 965 int16_t tmp16no1; local 1001 tmp16no1 = zerosDfa - 2 + aecm->dfaNoisyQDomain - 1003 if (zerosNum > tmp16no1 + 1) 1005 xfaQ = tmp16no1; 1172 int16_t tmp16no1; local 1186 tmp16no1 = (aecm->nearLogEnergy[0] - aecm->echoStoredLogEnergy[0] - ENERGY_DEV_OFFSET); 1187 dE = WEBRTC_SPL_ABS_W16(tmp16no1); 1197 tmp16no1 = (int16_t)WebRtcSpl_DivW32W16(tmp32no1, SUPGAIN_EPC_DT); 1198 supGain = aecm->supGainErrParamA - tmp16no1; 1204 tmp16no1 [all...] |
H A D | aecm_core_mips.c | 641 int16_t tmp16no1; local 656 tmp16no1 = WebRtcSpl_MaxAbsValueW16(time_signal, PART_LEN2); 657 time_signal_scaling = WebRtcSpl_NormW16(tmp16no1); 692 tmp16no1 = WEBRTC_SPL_ABS_W16(freq_signal[i].real); 694 tmp32no1 = WEBRTC_SPL_MUL_16_16(tmp16no1, tmp16no1); 832 int16_t tmp16no1; local 987 tmp16no1 = 17 - zeros32 - zeros16; 988 resolutionDiff = 14 + tmp16no1 - RESOLUTION_CHANNEL16 - 991 if (zeros32 > tmp16no1) { [all...] |
/external/webrtc/src/modules/audio_processing/ns/ |
H A D | nsx_core_neon.c | 101 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; local 274 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 2); 275 inst->noiseEstLogQuantile[offset + i] += tmp16no1; 278 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 1); 280 tmp16no2 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, 3, 1); 293 tmp16no1 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( 297 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2;
|
H A D | nsx_core.c | 477 WebRtc_Word16 log2, tabind, logval, tmp16, tmp16no1, tmp16no2; local 546 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 2); 547 inst->noiseEstLogQuantile[offset + i] += tmp16no1; 550 tmp16no1 = WEBRTC_SPL_RSHIFT_W16(tmp16, 1); 552 tmp16no2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, 3, 1); 564 tmp16no1 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( 568 inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2; 1208 WebRtc_Word16 tmp16no1; local 1235 tmp16no1 = (WebRtc_Word16)((WebRtc_Word32)magnIn[i] - avgMagnFX); 1237 varMagnUFX += (WebRtc_UWord32)WEBRTC_SPL_MUL_16_16(tmp16no1, tmp16no 1301 WebRtc_Word16 tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; local 1772 WebRtc_Word16 tmp16no1, tmp16no2; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/agc/ |
H A D | digital_agc.c | 81 int16_t i, tmp16, tmp16no1; local 91 tmp16no1 = analogTarget - targetLevelDbfs; 92 tmp16no1 += WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); 93 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); 122 tmp16no1 = WebRtcSpl_DivW32W16ResW16(limiterOffset + (kCompRatio >> 1), kCompRatio); 123 limiterLvl = targetLevelDbfs + tmp16no1;
|
/external/webrtc/src/modules/audio_processing/agc/ |
H A D | digital_agc.c | 81 WebRtc_Word16 i, tmp16, tmp16no1; local 91 tmp16no1 = analogTarget - targetLevelDbfs; 92 tmp16no1 += WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); 93 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); 122 tmp16no1 = WebRtcSpl_DivW32W16ResW16(limiterOffset + (kCompRatio >> 1), kCompRatio); 123 limiterLvl = targetLevelDbfs + tmp16no1;
|
/external/webrtc/src/modules/audio_processing/aecm/ |
H A D | aecm_core.c | 1097 WebRtc_Word16 tmp16no1; local 1133 tmp16no1 = zerosDfa - 2 + aecm->dfaNoisyQDomain - 1135 if (zerosNum > tmp16no1 + 1) 1137 xfaQ = tmp16no1; 1304 WebRtc_Word16 tmp16no1; local 1318 tmp16no1 = (aecm->nearLogEnergy[0] - aecm->echoStoredLogEnergy[0] - ENERGY_DEV_OFFSET); 1319 dE = WEBRTC_SPL_ABS_W16(tmp16no1); 1329 tmp16no1 = (WebRtc_Word16)WebRtcSpl_DivW32W16(tmp32no1, SUPGAIN_EPC_DT); 1330 supGain = aecm->supGainErrParamA - tmp16no1; 1336 tmp16no1 1396 WebRtc_Word16 tmp16no1; local 1541 WebRtc_Word16 tmp16no1; local [all...] |