/external/webrtc/src/common_audio/signal_processing/ |
D | levinson_durbin.c | 46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); in WebRtcSpl_LevinsonDurbin() 50 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_hi[i], 16)), 1); in WebRtcSpl_LevinsonDurbin() 55 temp2W32 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_hi[1],16) in WebRtcSpl_LevinsonDurbin() 56 + WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_low[1],1); // R[1] in Q31 in WebRtcSpl_LevinsonDurbin() 68 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)K_hi, 16)), 1); in WebRtcSpl_LevinsonDurbin() 78 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)A_hi[1], 16)), 1); in WebRtcSpl_LevinsonDurbin() 91 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)tmp_hi, 16)), 1); in WebRtcSpl_LevinsonDurbin() 101 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, Alpha_exp); in WebRtcSpl_LevinsonDurbin() 104 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)Alpha_hi, 16)), 1); in WebRtcSpl_LevinsonDurbin() 127 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, 4); in WebRtcSpl_LevinsonDurbin() [all …]
|
D | division_operations.c | 119 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)tmp_hi, 16)), 1); in WebRtcSpl_DivW32HiLow() 128 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)tmp_hi, 16)), 1); in WebRtcSpl_DivW32HiLow() 133 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)num_hi, 16)), 1); in WebRtcSpl_DivW32HiLow() 141 tmpW32 = WEBRTC_SPL_LSHIFT_W32(tmpW32, 3); in WebRtcSpl_DivW32HiLow()
|
D | lpc_to_refl_coef.c | 42 tmp32[k] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)a16[k], 16) in WebRtcSpl_LpcToReflCoef() 43 - WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(k16[m], a16[m-k+1]), 1); in WebRtcSpl_LpcToReflCoef() 54 k16[m - 1] = (WebRtc_Word16)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15 in WebRtcSpl_LpcToReflCoef()
|
D | splitting_filter.c | 134 half_in2[i] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)in_data[k], 10); in WebRtcSpl_AnalysisQMF() 135 half_in1[i] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)in_data[k + 1], 10); in WebRtcSpl_AnalysisQMF() 175 half_in1[i] = WEBRTC_SPL_LSHIFT_W32(tmp, 10); in WebRtcSpl_SynthesisQMF() 177 half_in2[i] = WEBRTC_SPL_LSHIFT_W32(tmp, 10); in WebRtcSpl_SynthesisQMF()
|
D | spl_sqrt.c | 146 A = WEBRTC_SPL_LSHIFT_W32(A, sh); // Normalize A in WebRtcSpl_Sqrt() 160 A = (WebRtc_Word32)WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)x_norm, 16); in WebRtcSpl_Sqrt()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | transform.c | 154 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(tmpreQ16[k], sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec() 155 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(tmpimQ16[k], sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec() 158 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); in WebRtcIsacfix_Time2Spec() 176 tmpreQ16[k] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)inre1Q9[k], -sh); //Q(16+sh) -> Q16 in WebRtcIsacfix_Time2Spec() 177 tmpimQ16[k] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)inre2Q9[k], -sh); //Q(16+sh) -> Q16 in WebRtcIsacfix_Time2Spec() 218 tmpInRe = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32) inreQ7[k], 9); // Q7 -> Q16 in WebRtcIsacfix_Spec2Time() 219 tmpInIm = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32) inimQ7[k], 9); // Q7 -> Q16 in WebRtcIsacfix_Spec2Time() 220 … tmpInRe2 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32) inreQ7[FRAMESAMPLES/2 - 1 - k], 9); // Q7 -> Q16 in WebRtcIsacfix_Spec2Time() 221 … tmpInIm2 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32) inimQ7[FRAMESAMPLES/2 - 1 - k], 9); // Q7 -> Q16 in WebRtcIsacfix_Spec2Time() 249 inreQ7[k] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(outre1Q16[k], sh); //Q(16+sh) in WebRtcIsacfix_Spec2Time() [all …]
|
D | lpc_masking_model.c | 45 tmp32b = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)a16[k], 16) - in WebRtcSpl_AToK_JSK() 46 WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(k16[m], a16[m-k+1]), 1); in WebRtcSpl_AToK_JSK() 56 k16[m-1] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(tmp32[m], 3); //Q12<<3 => Q15 in WebRtcSpl_AToK_JSK() 91 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); in WebRtcSpl_LevinsonW32_JSK() 94 …R_low[i] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((temp1W32 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R… in WebRtcSpl_LevinsonW32_JSK() 99 temp2W32 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_hi[1],16) + in WebRtcSpl_LevinsonW32_JSK() 100 WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_low[1],1); /* R[1] in Q31 */ in WebRtcSpl_LevinsonW32_JSK() 110 …K_low = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((temp1W32 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)K_hi… in WebRtcSpl_LevinsonW32_JSK() 119 …A_low[1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((temp1W32 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)A… in WebRtcSpl_LevinsonW32_JSK() 123 temp1W32 = WEBRTC_SPL_LSHIFT_W32((WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(K_hi, K_low), 14) + in WebRtcSpl_LevinsonW32_JSK() [all …]
|
D | arith_routines_hist.c | 104 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8); in WebRtcIsacfix_EncHistMulti() 109 *streamPtr = (WebRtc_UWord16) WEBRTC_SPL_LSHIFT_W32( in WebRtcIsacfix_EncHistMulti() 117 streamData->streamval = WEBRTC_SPL_LSHIFT_W32(streamData->streamval, 8); in WebRtcIsacfix_EncHistMulti() 178 streamval = WEBRTC_SPL_LSHIFT_W32((WebRtc_UWord32)*streamPtr++, 16); in WebRtcIsacfix_DecHistBisectMulti() 234 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | in WebRtcIsacfix_DecHistBisectMulti() 238 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | in WebRtcIsacfix_DecHistBisectMulti() 242 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8); in WebRtcIsacfix_DecHistBisectMulti() 384 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | (*streamPtr++ & 0x00FF); in WebRtcIsacfix_DecHistOneStepMulti() 387 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | (*streamPtr >> 8); in WebRtcIsacfix_DecHistOneStepMulti() 390 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8); in WebRtcIsacfix_DecHistOneStepMulti()
|
D | filters.c | 83 a = WEBRTC_SPL_LSHIFT_W32(a, 1); // Q15 -> Q16 in AllpassFilterForDec32() 89 WEBRTC_SPL_LSHIFT_W32(a,1), in AllpassFilterForDec32() 90 … WEBRTC_SPL_LSHIFT_W32((WebRtc_UWord32)InOut16[n], 16)); // Q15<<1 + Q0<<16 = Q16 + Q16 = Q16 in AllpassFilterForDec32() 112 …state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIONS)] = WEBRTC_SPL_LSHIFT_W32((WebRtc_UWord32)in[N-1]… in WebRtcIsacfix_DecimateAllpass32()
|
D | bandwidth_estimator.c | 262 if (sendTimeDiff <= WEBRTC_SPL_LSHIFT_W32(frameSizeSampl, 1)) { in WebRtcIsacfix_UpdateUplinkBwImpl() 272 …if(WEBRTC_SPL_LSHIFT_W32(bweStr->countRecPkts, 10) > WEBRTC_SPL_MUL_16_16(922, numPktsExpected)) { in WebRtcIsacfix_UpdateUplinkBwImpl() 301 …WEBRTC_SPL_LSHIFT_W32(((WebRtc_Word32)INIT_BN_EST + INIT_HDR_RATE), 1)), INIT_BN_EST + INIT_HDR_RA… in WebRtcIsacfix_UpdateUplinkBwImpl() 328 WEBRTC_SPL_LSHIFT_W32(frameSizeSampl, 1); in WebRtcIsacfix_UpdateUplinkBwImpl() 437 if (WEBRTC_SPL_LSHIFT_W32(arrTimeDiff, 6) > (WebRtc_Word32)arrTimeProj) { in WebRtcIsacfix_UpdateUplinkBwImpl() 438 arrTimeNoise = WEBRTC_SPL_LSHIFT_W32(arrTimeDiff, 6) - arrTimeProj; in WebRtcIsacfix_UpdateUplinkBwImpl() 441 arrTimeNoise = arrTimeProj - WEBRTC_SPL_LSHIFT_W32(arrTimeDiff, 6); in WebRtcIsacfix_UpdateUplinkBwImpl() 450 bweStr->recJitter = WEBRTC_SPL_MUL(weight, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 5)) in WebRtcIsacfix_UpdateUplinkBwImpl() 463 … bweStr->recJitterShortTermAbs = WEBRTC_SPL_MUL(51, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 3)) + in WebRtcIsacfix_UpdateUplinkBwImpl() 469 … bweStr->recJitterShortTerm = WEBRTC_SPL_MUL(205, WEBRTC_SPL_LSHIFT_W32(arrTimeNoise, 3)) * sign + in WebRtcIsacfix_UpdateUplinkBwImpl() [all …]
|
D | pitch_estimator.c | 44 …frac=(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(((WebRtc_UWord32)(WEBRTC_SPL_LSHIFT_W32(x, zeros))&0x7FF… in Log2Q8() 47 lg2= (WEBRTC_SPL_LSHIFT_W32((31-zeros), 8)+frac); in Log2Q8() 171 oneQ8 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, 8); // 1.00 in Q8 in PCorr2Q32() 295 old_lagQ8= WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)old_lagQ,1); //Q8 in WebRtcIsacfix_InitialPitch() 413 xq[0] = WEBRTC_SPL_LSHIFT_W32(xq[0], 8); in WebRtcIsacfix_InitialPitch() 428 tmp32b = WEBRTC_SPL_LSHIFT_W32(tmp32a, 1); in WebRtcIsacfix_InitialPitch() 442 tmp32a = WEBRTC_SPL_LSHIFT_W32(k, 7); // 0.5*k Q8 in WebRtcIsacfix_InitialPitch() 443 tmp32b = (WebRtc_Word32) (WEBRTC_SPL_LSHIFT_W32(tmp32a, 1)) - ratq; // Q8 in WebRtcIsacfix_InitialPitch() 485 xq[0] = WEBRTC_SPL_LSHIFT_W32(xq[0], 8); in WebRtcIsacfix_InitialPitch() 501 tmp32b = WEBRTC_SPL_LSHIFT_W32(tmp32a, 1); in WebRtcIsacfix_InitialPitch()
|
D | lattice.c | 135 gain32 = WEBRTC_SPL_LSHIFT_W32(gain32, gain_sh); //Q(17+gain_sh) in WebRtcIsacfix_NormLatticeFilterMa() 150 fQ15vec[i] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)lat_inQ0[i + temp1], 15); //Q15 in WebRtcIsacfix_NormLatticeFilterMa() 151 gQ15[0][i] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)lat_inQ0[i + temp1], 15); //Q15 in WebRtcIsacfix_NormLatticeFilterMa() 165 t16b = (WebRtc_Word16) (tmp32-WEBRTC_SPL_LSHIFT_W32(((WebRtc_Word32)t16a), 16)); in WebRtcIsacfix_NormLatticeFilterMa() 262 tmp32 = WEBRTC_SPL_LSHIFT_W32(gain_lo_hiQ17[temp3], 10); // Q27 in WebRtcIsacfix_NormLatticeFilterAr() 278 tmp32 = WEBRTC_SPL_LSHIFT_W32(lat_inQ25[i + temp1], 1); //Q25->Q26 in WebRtcIsacfix_NormLatticeFilterAr()
|
D | entropy_coding.c | 44 roundVal = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, qDomain-1); in CalcLrIntQ() 83 frac=(WebRtc_Word16)WEBRTC_SPL_RSHIFT_U32(WEBRTC_SPL_LSHIFT_W32(arg, zeros)&0x7FFFFFFF, 23); in CalcLogN() 84 log2=(WebRtc_Word16)(WEBRTC_SPL_LSHIFT_W32(31-zeros, 8)+frac); // log2(x) in Q8 in CalcLogN() 113 exp16 = WEBRTC_SPL_LSHIFT_W32(1, axINT); //Q0 in CalcExpN() 116 exp = WEBRTC_SPL_LSHIFT_W32(exp, 9); //Q17 in CalcExpN() 203 sum = WEBRTC_SPL_LSHIFT_W32(CorrQ11[0], 7); in CalcInvArSpec() 233 CurveQ16[FRAMESAMPLES/4-1 - k] = CurveQ16[k] - WEBRTC_SPL_LSHIFT_W32(diffQ16[k], shftVal); in CalcInvArSpec() 234 CurveQ16[k] += WEBRTC_SPL_LSHIFT_W32(diffQ16[k], shftVal); in CalcInvArSpec() 276 sum = WEBRTC_SPL_LSHIFT_W32(CorrQ11[0], 7); in CalcRootInvArSpec() 305 in_sqrt = summQ16[0] + WEBRTC_SPL_LSHIFT_W32(diffQ16[0], shftVal); in CalcRootInvArSpec() [all …]
|
D | filterbanks.c | 41 a = WEBRTC_SPL_LSHIFT_W32(a, 1); // Q15 -> Q16 in AllpassFilter2FixDec16() 44 …FilterState[j] = WEBRTC_SPL_ADD_SAT_W32(WEBRTC_SPL_LSHIFT_W32(a,1), WEBRTC_SPL_LSHIFT_W32((WebRtc_… in AllpassFilter2FixDec16() 104 c = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)in, 2) - a2 - b2; // In Q2. in WebRtcIsacfix_HighpassFilterFixDec32() 108 state0 = WEBRTC_SPL_LSHIFT_W32(c, 2); // Write state as Q4 in WebRtcIsacfix_HighpassFilterFixDec32()
|
D | arith_routines_logist.c | 269 res = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, in WebRtcIsacfix_DecLogisticMulti2() 382 streamVal = WEBRTC_SPL_LSHIFT_W32(streamVal, 8) | (*streamPtr++ & 0x00FF); in WebRtcIsacfix_DecLogisticMulti2() 385 streamVal = WEBRTC_SPL_LSHIFT_W32(streamVal, 8) | in WebRtcIsacfix_DecLogisticMulti2() 389 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8); in WebRtcIsacfix_DecLogisticMulti2()
|
D | decode.c | 184 …Vector_Word32_1[k] = (WebRtc_Word32) WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(Vector_Word16_2[k]… in WebRtcIsacfix_DecodeImpl() 194 Vector_Word32_1[k] = WEBRTC_SPL_LSHIFT_W32(Vector_Word32_2[k], 9); // Q16 -> Q25 in WebRtcIsacfix_DecodeImpl()
|
D | arith_routines.c | 78 *streamPtr = (WebRtc_UWord16) WEBRTC_SPL_LSHIFT_W32( in WebRtcIsacfix_EncTerminate()
|
D | pitch_filter.c | 66 roundVal = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, qDomain - 1); in CalcLrIntQ() 144 tmpW32 = WEBRTC_SPL_LSHIFT_W32(indW32, 7); in WebRtcIsacfix_PitchFilter()
|
D | decode_plc.c | 51 lim = WEBRTC_SPL_LSHIFT_W32( (WebRtc_Word32)1, 15 + rshift )-1; in plc_filterma_Fast() 68 o = WEBRTC_SPL_ADD_SAT_W32( o, WEBRTC_SPL_LSHIFT_W32( 1, (rshift-1) ) ); in plc_filterma_Fast() 100 …frac=(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(((WebRtc_UWord32)WEBRTC_SPL_LSHIFT_W32(x, zeros)&0x7FFFF… in log2_Q8_T() 531 Vector_Word32_2[i] = WEBRTC_SPL_LSHIFT_W32( in WebRtcIsacfix_DecodePlcImpl()
|
/external/webrtc/src/modules/audio_processing/agc/ |
D | digital_agc.c | 120 + WebRtcSpl_DivW32W16ResW16(WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)limiterLvlX, 13), in WebRtcAgc_CalculateGainTable() 147 inLevel = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)diffGain, 14) - inLevel; // Q14 in WebRtcAgc_CalculateGainTable() 189 numFIX = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_U16(maxGain, constMaxGain), 6); // Q14 in WebRtcAgc_CalculateGainTable() 202 numFIX = WEBRTC_SPL_LSHIFT_W32(numFIX, zeros); // Q(14+zeros) in WebRtcAgc_CalculateGainTable() 217 tmp32 -= WEBRTC_SPL_LSHIFT_W32(limiterLvl, 14); // Q14 in WebRtcAgc_CalculateGainTable() 229 tmp32 += WEBRTC_SPL_LSHIFT_W32(16, 14); // in Q14 (Make sure final output is in Q16) in WebRtcAgc_CalculateGainTable() 239 tmp32no2 = WEBRTC_SPL_LSHIFT_W32(1, 14) - fracPart; in WebRtcAgc_CalculateGainTable() 242 tmp32no2 = WEBRTC_SPL_LSHIFT_W32(1, 14) - tmp32no2; in WebRtcAgc_CalculateGainTable() 250 gainTable[i] = WEBRTC_SPL_LSHIFT_W32(1, intPart) in WebRtcAgc_CalculateGainTable() 465 tmp32 = (WEBRTC_SPL_LSHIFT_W32(cur_level, zeros) & 0x7FFFFFFF); in WebRtcAgc_ProcessDigital() [all …]
|
D | analog_agc.c | 458 micLevelTmp = WEBRTC_SPL_LSHIFT_W32(micLevelIn, stt->scale); in WebRtcAgc_VirtualMic() 770 inMicLevelTmp = WEBRTC_SPL_LSHIFT_W32(inMicLevel, stt->scale); in WebRtcAgc_ProcessAnalog() 1071 tmp32 = WEBRTC_SPL_LSHIFT_W32(inMicLevelTmp - stt->minLevel, 14); in WebRtcAgc_ProcessAnalog() 1131 tmp32 = WEBRTC_SPL_LSHIFT_W32(inMicLevelTmp - stt->minLevel, 14); in WebRtcAgc_ProcessAnalog() 1579 maxLevel = WEBRTC_SPL_LSHIFT_W32(maxLevel, stt->scale); in WebRtcAgc_Init() 1580 minLevel = WEBRTC_SPL_LSHIFT_W32(minLevel, stt->scale); in WebRtcAgc_Init()
|
/external/webrtc/src/common_audio/vad/ |
D | vad_filterbank.c | 87 int32_t state32 = WEBRTC_SPL_LSHIFT_W32((int32_t) (*filter_state), 16); // Q31 in WebRtcVad_Allpass() 93 in32 = WEBRTC_SPL_LSHIFT_W32(((int32_t) (*in_vector)), 14); in WebRtcVad_Allpass() 95 state32 = WEBRTC_SPL_LSHIFT_W32(state32, 1); in WebRtcVad_Allpass()
|
/external/webrtc/src/modules/audio_processing/aecm/ |
D | aecm_core.c | 350 aecm->channelAdapt32[i] = WEBRTC_SPL_LSHIFT_W32( in WebRtcAecm_InitEchoPathCore() 411 j = WEBRTC_SPL_LSHIFT_W32(i, 1); in InverseFFTAndWindowC() 434 j = WEBRTC_SPL_LSHIFT_W32(i, 1); in InverseFFTAndWindowC() 537 aecm->channelAdapt32[i] = WEBRTC_SPL_LSHIFT_W32( in ResetAdaptiveChannelC() 539 aecm->channelAdapt32[i + 1] = WEBRTC_SPL_LSHIFT_W32( in ResetAdaptiveChannelC() 541 aecm->channelAdapt32[i + 2] = WEBRTC_SPL_LSHIFT_W32( in ResetAdaptiveChannelC() 543 aecm->channelAdapt32[i + 3] = WEBRTC_SPL_LSHIFT_W32( in ResetAdaptiveChannelC() 546 aecm->channelAdapt32[i] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)aecm->channelStored[i], 16); in ResetAdaptiveChannelC() 1954 outLShift32 = WEBRTC_SPL_LSHIFT_W32(tmp32, shiftFromNearToNoise); in ComfortNoise() 2016 aecm->noiseEst[i] = WEBRTC_SPL_LSHIFT_W32(tmp32, shiftFromNearToNoise); in ComfortNoise()
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core.c | 464 tmp32no1 = WEBRTC_SPL_LSHIFT_W32(tmp32no1, tmp16); in UpdateNoiseEstimate() 717 tmp32no1 += WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)(inst->minNorm - inst->stages), 11); in WebRtcNsx_CalcParametricNoiseEstimate() 1173 logCurSpectralFlatness = WEBRTC_SPL_LSHIFT_W32(logCurSpectralFlatness, 10 - inst->stages); // Q17 in WebRtcNsx_ComputeSpectralFlatness() 1181 currentSpectralFlatness = WEBRTC_SPL_LSHIFT_W32(tmp32, -intPart); in WebRtcNsx_ComputeSpectralFlatness() 1494 invLrtFX = WEBRTC_SPL_LSHIFT_W32(1, 8 + intPart) in WebRtcNsx_SpeechNoiseProb() 1511 tmp32no1 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)inst->priorNonSpeechProb, 8); // Q22 in WebRtcNsx_SpeechNoiseProb() 1717 tmp_1_w32 -= WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)sum_log_i_square, 4); in WebRtcNsx_DataAnalysis() 1730 tmp_1_w32 = WEBRTC_SPL_LSHIFT_W32(sum_log_magn, 1); // Q9 in WebRtcNsx_DataAnalysis() 1747 tmp_2_w32 += WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)net_norm, 11); // Q11 in WebRtcNsx_DataAnalysis() 2264 tmp32no1 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)magnU16[i], nShifts) in WebRtcNsx_ProcessCore()
|
/external/webrtc/src/modules/audio_processing/ |
D | high_pass_filter_impl.cc | 87 WEBRTC_SPL_LSHIFT_W32(static_cast<WebRtc_Word32>(y[0]), 13)) << 2); in Filter()
|