Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_RSHIFT_U32 (Results 1 – 11 of 11) 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_coding/codecs/isac/fix/source/
Dbandwidth_estimator.c288 reductionFactor = WEBRTC_SPL_RSHIFT_U32(0x01000000 | (exponent & 0x00FFFFFF), in WebRtcIsacfix_UpdateUplinkBwImpl()
289 WEBRTC_SPL_RSHIFT_U32(exponent, 24)); in WebRtcIsacfix_UpdateUplinkBwImpl()
292 reductionFactor = WEBRTC_SPL_RSHIFT_U32(reductionFactor, 11); in WebRtcIsacfix_UpdateUplinkBwImpl()
384 tempUpper = WEBRTC_SPL_RSHIFT_U32(byteSecondsPerBit, 15); in WebRtcIsacfix_UpdateUplinkBwImpl()
391 tempLower = WEBRTC_SPL_RSHIFT_U32(tempLower, 15); in WebRtcIsacfix_UpdateUplinkBwImpl()
394 currBwInv = WEBRTC_SPL_RSHIFT_U32(currBwInv, 4); in WebRtcIsacfix_UpdateUplinkBwImpl()
409 bweStr->recBwInv = WEBRTC_SPL_RSHIFT_U32(bweStr->recBwInv, 13); in WebRtcIsacfix_UpdateUplinkBwImpl()
420 …recBwAvgInv = WEBRTC_SPL_UDIV((WebRtc_UWord32)(0x80000000 + WEBRTC_SPL_RSHIFT_U32(bweStr->recBwAvg… in WebRtcIsacfix_UpdateUplinkBwImpl()
429 arrTimeProj = WEBRTC_SPL_RSHIFT_U32(arrTimeProj, 4); in WebRtcIsacfix_UpdateUplinkBwImpl()
433 arrTimeProj = WEBRTC_SPL_RSHIFT_U32(arrTimeProj, 12); in WebRtcIsacfix_UpdateUplinkBwImpl()
[all …]
Darith_routines_logist.c79 qtmp2 = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_U32( in WebRtcIsacfix_Piecewise()
152 W_upper_MSB = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_U32(W_upper, 16); in WebRtcIsacfix_EncLogisticMulti2()
190 *streamPtr++ += (WebRtc_UWord16) WEBRTC_SPL_RSHIFT_U32( in WebRtcIsacfix_EncLogisticMulti2()
195 WEBRTC_SPL_RSHIFT_U32(streamData->streamval, 24), 8); in WebRtcIsacfix_EncLogisticMulti2()
299 W_upper_MSB = (WebRtc_UWord16) WEBRTC_SPL_RSHIFT_U32(W_upper, 16); in WebRtcIsacfix_DecLogisticMulti2()
Dentropy_coding.c83 frac=(WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32(WEBRTC_SPL_LSHIFT_W32(arg, zeros)&0x7FFFFFFF, 23); in CalcLogN()
376 shft = (WebRtc_Word16)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 15); in GenerateDitherQ7()
411 shft = (WebRtc_Word16)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 1); /* either 0 or 1 */ in GenerateDitherQ7()
469 … (WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32(invARSpec2_Q16[k>>2] + (WebRtc_UWord32)2195456, 16)); in WebRtcIsacfix_DecodeSpec()
481 … (WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32(invARSpec2_Q16[k>>2] + (WebRtc_UWord32)2654208, 16)); in WebRtcIsacfix_DecodeSpec()
537 PSpec[k>>2] = WEBRTC_SPL_RSHIFT_U32(sum, 2); in WebRtcIsacfix_EncodeSpec()
Darith_routines_hist.c323 W_upper_MSB = WEBRTC_SPL_RSHIFT_U32(W_upper, 16); in WebRtcIsacfix_DecHistOneStepMulti()
/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_coding/codecs/isac/main/source/
Dcrc.c103 crc_tbl_indx = (WEBRTC_SPL_RSHIFT_U32(crc_state, 24) ^ in WebRtcIsac_GetCrc()
/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