Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_RSHIFT_U32 (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/src/modules/audio_processing/ns/
Dnsx_core.c957 histIndex = WEBRTC_SPL_RSHIFT_U32(inst->featureSpecFlat * 5, 8); in WebRtcNsx_FeatureParameterExtraction()
1160 inst->featureSpecFlat -= WEBRTC_SPL_RSHIFT_U32(tmpU32, 14); // Q10 in WebRtcNsx_ComputeSpectralFlatness()
1224 avgMagnFX = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_U32(inst->sumMagn, inst->stages - 1); in WebRtcNsx_ComputeSpectralDifference()
1244 inst->curAvgMagnEnergy += WEBRTC_SPL_RSHIFT_U32(inst->magnEnergy, 2 * inst->normData in WebRtcNsx_ComputeSpectralDifference()
1254 tmpU32no1 = WEBRTC_SPL_RSHIFT_U32(tmpU32no1, -norm32); // Q(prevQMagn+qMagn+norm32) in WebRtcNsx_ComputeSpectralDifference()
1267 tmpU32no1 = WEBRTC_SPL_RSHIFT_U32(tmpU32no1, nShifts); in WebRtcNsx_ComputeSpectralDifference()
1276 tmpU32no1 = WEBRTC_SPL_RSHIFT_U32(avgDiffNormMagnUFX, 2 * inst->normData); in WebRtcNsx_ComputeSpectralDifference()
1280 inst->featureSpecDiff -= WEBRTC_SPL_RSHIFT_U32(tmpU32no2, 8); // Q(-2*stages) in WebRtcNsx_ComputeSpectralDifference()
1284 inst->featureSpecDiff += WEBRTC_SPL_RSHIFT_U32(tmpU32no2, 8); // Q(-2*stages) in WebRtcNsx_ComputeSpectralDifference()
1315 den = WEBRTC_SPL_RSHIFT_U32(priorLocSnr[i], 11 - normTmp); // Q(normTmp) in WebRtcNsx_SpeechNoiseProb()
[all …]
/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c153 intPart = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_U32(absInLevel, 14); in WebRtcAgc_CalculateGainTable()
158 logApprox = WEBRTC_SPL_RSHIFT_U32(tmpU32no1, 8); // Q14 in WebRtcAgc_CalculateGainTable()
168 tmpU32no2 = WEBRTC_SPL_RSHIFT_U32(absInLevel, 15 - zeros); // Q(zeros-1) in WebRtcAgc_CalculateGainTable()
172 tmpU32no1 = WEBRTC_SPL_RSHIFT_U32(tmpU32no1, 9 - zeros); // Q(zeros+13) in WebRtcAgc_CalculateGainTable()
176 tmpU32no2 = WEBRTC_SPL_RSHIFT_U32(tmpU32no2, zeros - 9); // Q22 in WebRtcAgc_CalculateGainTable()
181 tmpU32no2 = WEBRTC_SPL_RSHIFT_U32(tmpU32no2, 6); // Q22 in WebRtcAgc_CalculateGainTable()
186 logApprox = WEBRTC_SPL_RSHIFT_U32(tmpU32no1 - tmpU32no2, 8 - zerosScale); //Q14 in WebRtcAgc_CalculateGainTable()
Danalog_agc.c860 stt->micVol = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_U32(tmpU32, 15) + stt->minLevel; in WebRtcAgc_ProcessAnalog()
992 stt->micVol = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_U32(tmpU32, 15) + stt->minLevel; in WebRtcAgc_ProcessAnalog()
1040 stt->micVol = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_U32(tmpU32, 15) + stt->minLevel; in WebRtcAgc_ProcessAnalog()
1092 stt->micVol = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_U32(tmpU32, 14) + stt->minLevel; in WebRtcAgc_ProcessAnalog()
1152 stt->micVol = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_U32(tmpU32, 14) + stt->minLevel; in WebRtcAgc_ProcessAnalog()
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.c886 frac = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32( in WebRtcAecm_CalcEnergies()
909 frac = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32((WEBRTC_SPL_LSHIFT_U32(tmpFar, zeros) in WebRtcAecm_CalcEnergies()
922 frac = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32((WEBRTC_SPL_LSHIFT_U32(tmpAdapt, zeros) in WebRtcAecm_CalcEnergies()
935 frac = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32((WEBRTC_SPL_LSHIFT_U32(tmpStored, zeros) in WebRtcAecm_CalcEnergies()
/external/webrtc/src/common_audio/signal_processing/
Dsignal_processing_unittest.cc101 EXPECT_EQ(8191u, WEBRTC_SPL_RSHIFT_U32(a, 1)); in TEST_F()
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h155 #define WEBRTC_SPL_RSHIFT_U32(x, c) ((WebRtc_UWord32)(x) >> (c)) macro