Home
last modified time | relevance | path

Searched refs:tmpW32 (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/audio_coding/codecs/ilbc/
Dhp_input.c38 int32_t tmpW32; in WebRtcIlbcfix_HpInput() local
48 tmpW32 = y[1] * ba[3]; /* (-a[1])*y[i-1] (low part) */ in WebRtcIlbcfix_HpInput()
49 tmpW32 += y[3] * ba[4]; /* (-a[2])*y[i-2] (low part) */ in WebRtcIlbcfix_HpInput()
50 tmpW32 = (tmpW32>>15); in WebRtcIlbcfix_HpInput()
51 tmpW32 += y[0] * ba[3]; /* (-a[1])*y[i-1] (high part) */ in WebRtcIlbcfix_HpInput()
52 tmpW32 += y[2] * ba[4]; /* (-a[2])*y[i-2] (high part) */ in WebRtcIlbcfix_HpInput()
53 tmpW32 = (tmpW32<<1); in WebRtcIlbcfix_HpInput()
55 tmpW32 += signal[i] * ba[0]; /* b[0]*x[0] */ in WebRtcIlbcfix_HpInput()
56 tmpW32 += x[0] * ba[1]; /* b[1]*x[i-1] */ in WebRtcIlbcfix_HpInput()
57 tmpW32 += x[1] * ba[2]; /* b[2]*x[i-2] */ in WebRtcIlbcfix_HpInput()
[all …]
Dhp_output.c38 int32_t tmpW32; in WebRtcIlbcfix_HpOutput() local
48 tmpW32 = y[1] * ba[3]; /* (-a[1])*y[i-1] (low part) */ in WebRtcIlbcfix_HpOutput()
49 tmpW32 += y[3] * ba[4]; /* (-a[2])*y[i-2] (low part) */ in WebRtcIlbcfix_HpOutput()
50 tmpW32 = (tmpW32>>15); in WebRtcIlbcfix_HpOutput()
51 tmpW32 += y[0] * ba[3]; /* (-a[1])*y[i-1] (high part) */ in WebRtcIlbcfix_HpOutput()
52 tmpW32 += y[2] * ba[4]; /* (-a[2])*y[i-2] (high part) */ in WebRtcIlbcfix_HpOutput()
53 tmpW32 *= 2; in WebRtcIlbcfix_HpOutput()
55 tmpW32 += signal[i] * ba[0]; /* b[0]*x[0] */ in WebRtcIlbcfix_HpOutput()
56 tmpW32 += x[0] * ba[1]; /* b[1]*x[i-1] */ in WebRtcIlbcfix_HpOutput()
57 tmpW32 += x[1] * ba[2]; /* b[2]*x[i-2] */ in WebRtcIlbcfix_HpOutput()
[all …]
Dlsf_to_poly.c34 int32_t tmpW32; in WebRtcIlbcfix_Lsf2Poly() local
75 tmpW32 = (*f1ptr) + (*f2ptr); in WebRtcIlbcfix_Lsf2Poly()
76 *a1ptr = (int16_t)((tmpW32 + 4096) >> 13); in WebRtcIlbcfix_Lsf2Poly()
78 tmpW32 = (*f1ptr) - (*f2ptr); in WebRtcIlbcfix_Lsf2Poly()
79 *a2ptr = (int16_t)((tmpW32 + 4096) >> 13); in WebRtcIlbcfix_Lsf2Poly()
Dpoly_to_lsp.c38 int32_t tmpW32; in WebRtcIlbcfix_Poly2Lsp() local
126 tmpW32 = (x * y) >> (19 - shifts); in WebRtcIlbcfix_Poly2Lsp()
129 y = (int16_t)(tmpW32&0xFFFF); in WebRtcIlbcfix_Poly2Lsp()
135 tmpW32 = (ylow * y) >> 10; in WebRtcIlbcfix_Poly2Lsp()
136 xint = xlow-(int16_t)(tmpW32&0xFFFF); in WebRtcIlbcfix_Poly2Lsp()
Dlsf_to_lsp.c37 int32_t tmpW32; in WebRtcIlbcfix_Lsf2Lsp() local
58 tmpW32 = WebRtcIlbcfix_kCosDerivative[k] * diff; in WebRtcIlbcfix_Lsf2Lsp()
59 lsp[i] = WebRtcIlbcfix_kCos[k] + (int16_t)(tmpW32 >> 12); in WebRtcIlbcfix_Lsf2Lsp()
Dget_lsp_poly.c46 int32_t tmpW32; in WebRtcIlbcfix_GetLspPoly() local
72 tmpW32 = 4 * high * *lspPtr + 4 * ((low * *lspPtr) >> 15); in WebRtcIlbcfix_GetLspPoly()
75 (*fPtr) -= tmpW32; in WebRtcIlbcfix_GetLspPoly()
Ddo_plc.c52 int32_t tmpW32, tmp2W32; in WebRtcIlbcfix_DoThePlc() local
220 tmpW32 = (int32_t)WebRtcIlbcfix_kPlcPitchFact[ind] + in WebRtcIlbcfix_DoThePlc()
224 pitchfact = (int16_t)WEBRTC_SPL_MIN(tmpW32, 32767); /* guard against overflow */ in WebRtcIlbcfix_DoThePlc()
Dcb_search.c71 int32_t t32, tmpW32; in WebRtcIlbcfix_CbSearch() local
375 tmpW32 = ((int32_t)(gains[1]-1))<<1; in WebRtcIlbcfix_CbSearch()
395 if ((*WebRtcIlbcfix_kGainSq5_ptr) < tmpW32) { in WebRtcIlbcfix_CbSearch()
/external/webrtc/common_audio/signal_processing/
Ddivision_operations.c104 int32_t tmpW32; in WebRtcSpl_DivW32HiLow() local
110 tmpW32 = (den_hi * approx << 1) + ((den_low * approx >> 15) << 1); in WebRtcSpl_DivW32HiLow()
114 tmpW32 = (int32_t)((int64_t)0x7fffffffL - tmpW32); in WebRtcSpl_DivW32HiLow()
117 tmp_hi = (int16_t)(tmpW32 >> 16); in WebRtcSpl_DivW32HiLow()
118 tmp_low = (int16_t)((tmpW32 - ((int32_t)tmp_hi << 16)) >> 1); in WebRtcSpl_DivW32HiLow()
121 tmpW32 = (tmp_hi * approx + (tmp_low * approx >> 15)) << 1; in WebRtcSpl_DivW32HiLow()
124 tmp_hi = (int16_t)(tmpW32 >> 16); in WebRtcSpl_DivW32HiLow()
125 tmp_low = (int16_t)((tmpW32 - ((int32_t)tmp_hi << 16)) >> 1); in WebRtcSpl_DivW32HiLow()
133 tmpW32 = num_hi * tmp_hi + (num_hi * tmp_low >> 15) + in WebRtcSpl_DivW32HiLow()
137 tmpW32 = WEBRTC_SPL_LSHIFT_W32(tmpW32, 3); in WebRtcSpl_DivW32HiLow()
[all …]