/external/webrtc/src/common_audio/signal_processing/ |
D | levinson_durbin.c | 48 R_hi[i] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); in WebRtcSpl_LevinsonDurbin() 49 R_low[i] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((temp1W32 in WebRtcSpl_LevinsonDurbin() 66 K_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); in WebRtcSpl_LevinsonDurbin() 67 K_low = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((temp1W32 in WebRtcSpl_LevinsonDurbin() 73 temp1W32 = WEBRTC_SPL_RSHIFT_W32(temp1W32, 4); // A[1] in Q27 in WebRtcSpl_LevinsonDurbin() 76 A_hi[1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); in WebRtcSpl_LevinsonDurbin() 77 A_low[1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((temp1W32 in WebRtcSpl_LevinsonDurbin() 89 tmp_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); in WebRtcSpl_LevinsonDurbin() 90 tmp_low = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((temp1W32 in WebRtcSpl_LevinsonDurbin() 102 Alpha_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); in WebRtcSpl_LevinsonDurbin() [all …]
|
D | complex_fft.c | 198 tr32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT() 201 ti32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT() 206 frfi[2 * j] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qr32 - tr32, 1); in WebRtcSpl_ComplexFFT() 207 frfi[2 * j + 1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qi32 - ti32, 1); in WebRtcSpl_ComplexFFT() 208 frfi[2 * i] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qr32 + tr32, 1); in WebRtcSpl_ComplexFFT() 209 frfi[2 * i + 1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qi32 + ti32, 1); in WebRtcSpl_ComplexFFT() 263 tr32 = WEBRTC_SPL_RSHIFT_W32(tr32, 15 - CFFTSFT); in WebRtcSpl_ComplexFFT() 264 ti32 = WEBRTC_SPL_RSHIFT_W32(ti32, 15 - CFFTSFT); in WebRtcSpl_ComplexFFT() 269 frfi[2 * j] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32( in WebRtcSpl_ComplexFFT() 271 frfi[2 * j + 1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32( in WebRtcSpl_ComplexFFT() [all …]
|
D | spl_sqrt.c | 38 B = WEBRTC_SPL_RSHIFT_W32(B, 1); // B = in/2 in WebRtcSpl_SqrtLocal() 40 x_half = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(B, 16);// x_half = x/2 = (in-1)/2 in WebRtcSpl_SqrtLocal() 48 A = WEBRTC_SPL_RSHIFT_W32(A, 16); in WebRtcSpl_SqrtLocal() 50 t16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(A, 16); in WebRtcSpl_SqrtLocal() 54 t16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(A, 16); in WebRtcSpl_SqrtLocal() 56 t16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(A, 16); in WebRtcSpl_SqrtLocal() 60 t16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(x2, 16); in WebRtcSpl_SqrtLocal() 155 x_norm = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(A, 16); // x_norm = AH in WebRtcSpl_Sqrt() 167 t16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(A, 16); // t16 = AH in WebRtcSpl_Sqrt() 173 A = WEBRTC_SPL_RSHIFT_W32(A, 15); // A = A>>16 in WebRtcSpl_Sqrt() [all …]
|
D | division_operations.c | 117 tmp_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmpW32, 16); in WebRtcSpl_DivW32HiLow() 118 tmp_low = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((tmpW32 in WebRtcSpl_DivW32HiLow() 126 tmp_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmpW32, 16); in WebRtcSpl_DivW32HiLow() 127 tmp_low = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((tmpW32 in WebRtcSpl_DivW32HiLow() 131 num_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(num, 16); in WebRtcSpl_DivW32HiLow() 132 num_low = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((num in WebRtcSpl_DivW32HiLow()
|
D | splitting_filter.c | 149 tmp = WEBRTC_SPL_RSHIFT_W32(tmp, 11); in WebRtcSpl_AnalysisQMF() 153 tmp = WEBRTC_SPL_RSHIFT_W32(tmp, 11); in WebRtcSpl_AnalysisQMF() 191 tmp = WEBRTC_SPL_RSHIFT_W32(filter2[i] + 512, 10); in WebRtcSpl_SynthesisQMF() 194 tmp = WEBRTC_SPL_RSHIFT_W32(filter1[i] + 512, 10); in WebRtcSpl_SynthesisQMF()
|
D | lpc_to_refl_coef.c | 35 tmp_inv_denom16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp_inv_denom32, 15); in WebRtcSpl_LpcToReflCoef() 50 a16[k] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q13>>1 => Q12 in WebRtcSpl_LpcToReflCoef()
|
/external/webrtc/src/modules/audio_processing/agc/ |
D | digital_agc.c | 208 numFIX -= WEBRTC_SPL_RSHIFT_W32(tmp32no1, 1); in WebRtcAgc_CalculateGainTable() 211 numFIX += WEBRTC_SPL_RSHIFT_W32(tmp32no1, 1); in WebRtcAgc_CalculateGainTable() 223 tmp32 = WEBRTC_SPL_RSHIFT_W32(tmp32, 13); // in Q14 in WebRtcAgc_CalculateGainTable() 227 tmp32 = WEBRTC_SPL_RSHIFT_W32(tmp32, 14); // in Q14 in WebRtcAgc_CalculateGainTable() 234 intPart = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 14); in WebRtcAgc_CalculateGainTable() 236 if (WEBRTC_SPL_RSHIFT_W32(fracPart, 13)) in WebRtcAgc_CalculateGainTable() 241 tmp32no2 = WEBRTC_SPL_RSHIFT_W32(tmp32no2, 13); in WebRtcAgc_CalculateGainTable() 247 tmp32no2 = WEBRTC_SPL_RSHIFT_W32(tmp32no2, 13); in WebRtcAgc_CalculateGainTable() 362 logratio = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32 - stt->vadFarend.logRatio, 2); in WebRtcAgc_ProcessDigital() 383 decay = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 10); in WebRtcAgc_ProcessDigital() [all …]
|
D | analog_agc.c | 232 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); in WebRtcAgc_AddMic() 248 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); in WebRtcAgc_AddMic() 485 tmpFlt = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_U16(in_near[ii], gain), 10); in WebRtcAgc_VirtualMic() 514 tmpFlt = WEBRTC_SPL_RSHIFT_W32(tmpFlt, 10); in WebRtcAgc_VirtualMic() 529 *micLevelOut = WEBRTC_SPL_RSHIFT_W32(stt->micGainIdx, stt->scale); in WebRtcAgc_VirtualMic() 597 tmpW16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(env[i], 20); in WebRtcAgc_SaturationCtrl() 648 midVal = WEBRTC_SPL_RSHIFT_W32(stt->maxAnalog + stt->minLevel + 1, 1); in WebRtcAgc_ZeroCtrl() 653 *inMicLevel = WEBRTC_SPL_RSHIFT_W32(tmp32, 10); in WebRtcAgc_ZeroCtrl() 703 stt->vadThreshold = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 5); in WebRtcAgc_SpeakerInactiveCtrl() 790 tmp32 = WEBRTC_SPL_RSHIFT_W32((stt->maxLevel - stt->minLevel) * (WebRtc_Word32)51, 9); in WebRtcAgc_ProcessAnalog() [all …]
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | lpc_masking_model.c | 42 … tmp_inv_denum16 = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp_inv_denum32, 15); // (1 - k^2) in Q15 in WebRtcSpl_AToK_JSK() 52 a16[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q12>>1 => Q11 in WebRtcSpl_AToK_JSK() 93 R_hi[i] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); 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() 109 K_hi = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); 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() 115 temp1W32 = WEBRTC_SPL_RSHIFT_W32(temp1W32, 4); /* A[1] in Q27 */ in WebRtcSpl_LevinsonW32_JSK() 118 A_hi[1] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(temp1W32, 16); 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 | transform.c | 134 …xrQ16 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(tmp1rQ14, inre1Q9[k]) + WEBRTC_SPL_MUL_16_16(tm… in WebRtcIsacfix_Time2Spec() 135 …xiQ16 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(tmp1rQ14, inre2Q9[k]) - WEBRTC_SPL_MUL_16_16(tm… in WebRtcIsacfix_Time2Spec() 136 …tmpreQ16[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_32_RSFT16(factQ19, xrQ16)+4, 3); // (Q16*Q19… in WebRtcIsacfix_Time2Spec() 137 …tmpimQ16[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_32_RSFT16(factQ19, xiQ16)+4, 3); // (Q16*Q19… in WebRtcIsacfix_Time2Spec() 160 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec() 161 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec() 171 tmpreQ16[k] = WEBRTC_SPL_RSHIFT_W32((WebRtc_Word32)inre1Q9[k], sh); //Q(16+sh) -> Q16 in WebRtcIsacfix_Time2Spec() 172 tmpimQ16[k] = WEBRTC_SPL_RSHIFT_W32((WebRtc_Word32)inre2Q9[k], sh); //Q(16+sh) -> Q16 in WebRtcIsacfix_Time2Spec() 192 outreQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(v1Q16, 9); in WebRtcIsacfix_Time2Spec() 193 outimQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(v2Q16, 9); in WebRtcIsacfix_Time2Spec() [all …]
|
D | bandwidth_estimator.c | 203 recRtpRate = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(kBitsByteSec, in WebRtcIsacfix_UpdateUplinkBwImpl() 218 recRtpRate = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(kBitsByteSec, in WebRtcIsacfix_UpdateUplinkBwImpl() 296 bweStr->recBwInv = WEBRTC_SPL_RSHIFT_W32((WebRtc_Word32)bweStr->recBwInv, 13); in WebRtcIsacfix_UpdateUplinkBwImpl() 348 if ((bweStr->prevRtpRate > WEBRTC_SPL_RSHIFT_W32((WebRtc_Word32) bweStr->recBwAvg, 5)) && in WebRtcIsacfix_UpdateUplinkBwImpl() 349 (recRtpRate > WEBRTC_SPL_RSHIFT_W32((WebRtc_Word32)bweStr->recBwAvg, 5)) && in WebRtcIsacfix_UpdateUplinkBwImpl() 359 … (WebRtc_Word32)(8192 + WEBRTC_SPL_RSHIFT_W32((WebRtc_Word32) bweStr->countUpdates, 1)), in WebRtcIsacfix_UpdateUplinkBwImpl() 377 … (WebRtc_Word32)(524288 + WEBRTC_SPL_RSHIFT_W32(((WebRtc_Word32)pksize + HEADER_SIZE), 1)), in WebRtcIsacfix_UpdateUplinkBwImpl() 449 weight = WEBRTC_SPL_RSHIFT_W32(weight, 3); in WebRtcIsacfix_UpdateUplinkBwImpl() 454 bweStr->recJitter = WEBRTC_SPL_RSHIFT_W32(bweStr->recJitter, 10); in WebRtcIsacfix_UpdateUplinkBwImpl() 465 bweStr->recJitterShortTermAbs = WEBRTC_SPL_RSHIFT_W32(bweStr->recJitterShortTermAbs , 10); in WebRtcIsacfix_UpdateUplinkBwImpl() [all …]
|
D | entropy_coding.c | 45 intgr = WEBRTC_SPL_RSHIFT_W32(fixVal+roundVal, qDomain); in CalcLrIntQ() 123 exp16 = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(32768, axINT); //Q15 in CalcExpN() 126 exp = WEBRTC_SPL_RSHIFT_W32(exp, 6); //Q17 in CalcExpN() 142 summ[k] = WEBRTC_SPL_RSHIFT_W32(PSpecQ12[k] + PSpecQ12[FRAMESAMPLES/4-1 - k] + 16, 5); in CalcCorrelation() 143 diff[k] = WEBRTC_SPL_RSHIFT_W32(PSpecQ12[k] - PSpecQ12[FRAMESAMPLES/4-1 - k] + 16, 5); in CalcCorrelation() 154 sum += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], diff[n]) + 256, 9); in CalcCorrelation() 161 sum += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WebRtcIsacfix_kCos[k][n], summ[n]) + 256, 9); in CalcCorrelation() 182 …sum = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(WEBRTC_SPL_RSHIFT_W32(sum, 6), 65) + 32768, 16); /* … in CalcInvArSpec() 183 CorrQ11[0] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, gainQ10) + 256, 9); in CalcInvArSpec() 187 tmpGain = WEBRTC_SPL_RSHIFT_W32(gainQ10, 3); in CalcInvArSpec() [all …]
|
D | arith_routines.c | 75 *streamPtr++ += (WebRtc_UWord16) WEBRTC_SPL_RSHIFT_W32(streamData->streamval, 24); in WebRtcIsacfix_EncTerminate() 79 WEBRTC_SPL_RSHIFT_W32(streamData->streamval, 24), 8); in WebRtcIsacfix_EncTerminate() 114 *streamPtr++ = (WebRtc_UWord16) WEBRTC_SPL_RSHIFT_W32(streamData->streamval, 16); in WebRtcIsacfix_EncTerminate() 116 *streamPtr++ |= (WebRtc_UWord16) WEBRTC_SPL_RSHIFT_W32(streamData->streamval, 24); in WebRtcIsacfix_EncTerminate() 117 *streamPtr = (WebRtc_UWord16) WEBRTC_SPL_RSHIFT_W32(streamData->streamval, 8) in WebRtcIsacfix_EncTerminate()
|
D | pitch_filter.c | 67 intgr = WEBRTC_SPL_RSHIFT_W32(fixVal + roundVal, qDomain); in CalcLrIntQ() 146 frcQQ = WEBRTC_SPL_RSHIFT_W32(tmpW32, 4); in WebRtcIsacfix_PitchFilter() 244 tmpW16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmpW32, 14); in WebRtcIsacfix_PitchFilterGains() 250 csum1QQ = WEBRTC_SPL_RSHIFT_W32(csum1QQ, 1); in WebRtcIsacfix_PitchFilterGains() 251 esumxQQ = WEBRTC_SPL_RSHIFT_W32(esumxQQ, 1); in WebRtcIsacfix_PitchFilterGains() 253 tmp2W32 = WEBRTC_SPL_RSHIFT_W32(tmp2W32, scale); in WebRtcIsacfix_PitchFilterGains() 255 tmpW32 = WEBRTC_SPL_RSHIFT_W32(tmpW32, scale); in WebRtcIsacfix_PitchFilterGains() 268 tmpW32 = WEBRTC_SPL_RSHIFT_W32(tmp2W32, 20); in WebRtcIsacfix_PitchFilterGains()
|
D | pitch_estimator.c | 44 …frac=(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(((WebRtc_UWord32)(WEBRTC_SPL_LSHIFT_W32(x, zeros))&0x7FF… in Log2Q8() 88 t16=(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(t32, 23); /* Q8 */ in Intrp1DQ8() 186 lys=WEBRTC_SPL_RSHIFT_W32(lys, 1); //sqrt(ysum); in PCorr2Q32() 248 lys=WEBRTC_SPL_RSHIFT_W32(lys, 1); //sqrt(ysum); in PCorr2Q32() 438 ratq = WEBRTC_SPL_RSHIFT_W32(tmp32a, 1) + OFFSET_Q8; in WebRtcIsacfix_InitialPitch() 446 …tmp32b = (WebRtc_Word32) tmp32c + (WebRtc_Word32) WEBRTC_SPL_RSHIFT_W32(ratq, 1); // (k-r)^2 + 0.… in WebRtcIsacfix_InitialPitch() 451 cv2q[k] += WEBRTC_SPL_RSHIFT_W32(tmp32e, 1); in WebRtcIsacfix_InitialPitch() 509 lagsQ7[0]=(WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(lagsQ8[0], 1); in WebRtcIsacfix_InitialPitch() 510 lagsQ7[1]=(WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(lagsQ8[1], 1); in WebRtcIsacfix_InitialPitch() 511 lagsQ7[2]=(WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(lagsQ8[2], 1); in WebRtcIsacfix_InitialPitch() [all …]
|
D | filterbanks.c | 43 …a = WEBRTC_SPL_MUL_16_16_RSFT(-APSectionFactors[j], (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(b, 16), … in AllpassFilter2FixDec16() 45 InOut16[n] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(b, 16); //Save as Q0 in AllpassFilter2FixDec16() 101 c = ((WebRtc_Word32)in) + WEBRTC_SPL_RSHIFT_W32(a1+b1, 7); // Q0 in WebRtcIsacfix_HighpassFilterFixDec32() 174 tmp3 = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_W32((tmp1 + tmp2), 1);/* low pass signal*/ in WebRtcIsacfix_SplitAndFilter1() 176 tmp3 = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_W32((tmp1 - tmp2), 1);/* high pass signal*/ in WebRtcIsacfix_SplitAndFilter1() 229 tmp3 = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_W32((tmp1 + tmp2), 1);/* low pass signal*/ in WebRtcIsacfix_SplitAndFilter2() 231 tmp3 = (WebRtc_Word32)WEBRTC_SPL_RSHIFT_W32((tmp1 - tmp2), 1);/* high pass signal*/ in WebRtcIsacfix_SplitAndFilter2()
|
D | filters.c | 86 (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(b, 16), in AllpassFilterForDec32() 91 InOut16[n] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(b, 16); //Save as Q0 in AllpassFilterForDec32() 111 …data_vec[0] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIO… in WebRtcIsacfix_DecimateAllpass32()
|
D | lattice.c | 142 gain16 = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(gain32, 16); //Q(1+gain_sh) in WebRtcIsacfix_NormLatticeFilterMa() 164 t16a = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp32, 16); in WebRtcIsacfix_NormLatticeFilterMa() 273 …inv_gain16 = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(inv_gain32, 2); // 1/gain in Q(20-sh-2) = Q(18-… in WebRtcIsacfix_NormLatticeFilterAr() 287 …tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cthQ15[i],ARfQ0vec[0])) - (WEBRTC_SPL_MUL_16_… in WebRtcIsacfix_NormLatticeFilterAr() 290 …tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(sthQ15[i],ARfQ0vec[0])) + (WEBRTC_SPL_MUL_16_… in WebRtcIsacfix_NormLatticeFilterAr()
|
D | lattice_c.c | 39 tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop() 41 tmp32_2 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(sth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop()
|
D | arith_routines_hist.c | 68 W_upper_MSB = WEBRTC_SPL_RSHIFT_W32(W_upper, 16); in WebRtcIsacfix_EncHistMulti() 106 *streamPtr++ += (WebRtc_UWord16) WEBRTC_SPL_RSHIFT_W32(streamData->streamval, 24); in WebRtcIsacfix_EncHistMulti() 110 WEBRTC_SPL_RSHIFT_W32(streamData->streamval, 24), 8); in WebRtcIsacfix_EncHistMulti() 188 W_upper_MSB = WEBRTC_SPL_RSHIFT_W32(W_upper, 16); in WebRtcIsacfix_DecHistBisectMulti()
|
D | pitch_filter_c.c | 44 tmpW16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmpW32, 14); in WebRtcIsacfix_PitchFilterCore() 63 tmpW16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmpW32, 15); in WebRtcIsacfix_PitchFilterCore()
|
D | arith_routines_logist.c | 75 ind = WEBRTC_SPL_RSHIFT_W32(ind, 16); in WebRtcIsacfix_Piecewise() 286 newRes = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_DIV(inSqrt, res) + res, 1); in WebRtcIsacfix_DecLogisticMulti2() 290 newRes = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_DIV(inSqrt, res) + res, 1); in WebRtcIsacfix_DecLogisticMulti2()
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core.c | 458 tmp16 = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp32no2, 21); in UpdateNoiseEstimate() 462 tmp32no1 = WEBRTC_SPL_RSHIFT_W32(tmp32no1, -tmp16); in UpdateNoiseEstimate() 712 tmp32no2 = WEBRTC_SPL_RSHIFT_W32(tmp32no2, 15); // Q11 in WebRtcNsx_CalcParametricNoiseEstimate() 719 int_part = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32no1, 11); in WebRtcNsx_CalcParametricNoiseEstimate() 727 tmp32no2 = 2048 - WEBRTC_SPL_RSHIFT_W32(tmp32no2, 10); in WebRtcNsx_CalcParametricNoiseEstimate() 730 tmp32no2 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(frac_part, 804), 10); in WebRtcNsx_CalcParametricNoiseEstimate() 1176 intPart = -(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(logCurSpectralFlatness, 17); in WebRtcNsx_ComputeSpectralFlatness() 1179 currentSpectralFlatness = WEBRTC_SPL_RSHIFT_W32(tmp32, intPart); in WebRtcNsx_ComputeSpectralFlatness() 1188 + WEBRTC_SPL_RSHIFT_W32(tmp32, 14)); // Q10 in WebRtcNsx_ComputeSpectralFlatness() 1223 avgPauseFX = WEBRTC_SPL_RSHIFT_W32(avgPauseFX, inst->stages - 1); in WebRtcNsx_ComputeSpectralDifference() [all …]
|
/external/webrtc/src/common_audio/vad/ |
D | vad_core.c | 407 h0 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(h0test, 12); // Q15 in WebRtcVad_GmmProbability() 417 h1 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(h1test, 12); // Q15 in WebRtcVad_GmmProbability() 500 tmp16_1 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(nmid, 6); // Q8 in WebRtcVad_GmmProbability() 578 tmp32_2 = WEBRTC_SPL_RSHIFT_W32(tmp32_1, 4); // Q20 in WebRtcVad_GmmProbability() 605 tmp32_1 = WEBRTC_SPL_RSHIFT_W32(tmp32_2, 14); in WebRtcVad_GmmProbability() 636 diff = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(smid, 9); in WebRtcVad_GmmProbability() 637 tmp16 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(nmid, 9); in WebRtcVad_GmmProbability() 674 tmp16_2 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(smid, 7); in WebRtcVad_GmmProbability() 683 tmp16_2 = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(nmid, 7); in WebRtcVad_GmmProbability()
|
D | vad_filterbank.c | 68 filter_state[2] = (int16_t) WEBRTC_SPL_RSHIFT_W32 (tmp32, 14); in WebRtcVad_HpOutput() 91 tmp16 = (int16_t) WEBRTC_SPL_RSHIFT_W32(tmp32, 16); in WebRtcVad_Allpass() 99 *filter_state = (int16_t) WEBRTC_SPL_RSHIFT_W32(state32, 16); in WebRtcVad_Allpass()
|