Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dhp_input.c36 int32_t tmpW32; in WebRtcIlbcfix_HpInput() local
46 tmpW32 = y[1] * ba[3]; /* (-a[1])*y[i-1] (low part) */ in WebRtcIlbcfix_HpInput()
47 tmpW32 += y[3] * ba[4]; /* (-a[2])*y[i-2] (low part) */ in WebRtcIlbcfix_HpInput()
48 tmpW32 = (tmpW32>>15); in WebRtcIlbcfix_HpInput()
49 tmpW32 += y[0] * ba[3]; /* (-a[1])*y[i-1] (high part) */ in WebRtcIlbcfix_HpInput()
50 tmpW32 += y[2] * ba[4]; /* (-a[2])*y[i-2] (high part) */ in WebRtcIlbcfix_HpInput()
51 tmpW32 = (tmpW32<<1); in WebRtcIlbcfix_HpInput()
53 tmpW32 += signal[i] * ba[0]; /* b[0]*x[0] */ in WebRtcIlbcfix_HpInput()
54 tmpW32 += x[0] * ba[1]; /* b[1]*x[i-1] */ in WebRtcIlbcfix_HpInput()
55 tmpW32 += x[1] * ba[2]; /* b[2]*x[i-2] */ in WebRtcIlbcfix_HpInput()
[all …]
Dhp_output.c36 int32_t tmpW32; in WebRtcIlbcfix_HpOutput() local
46 tmpW32 = y[1] * ba[3]; /* (-a[1])*y[i-1] (low part) */ in WebRtcIlbcfix_HpOutput()
47 tmpW32 += y[3] * ba[4]; /* (-a[2])*y[i-2] (low part) */ in WebRtcIlbcfix_HpOutput()
48 tmpW32 = (tmpW32>>15); in WebRtcIlbcfix_HpOutput()
49 tmpW32 += y[0] * ba[3]; /* (-a[1])*y[i-1] (high part) */ in WebRtcIlbcfix_HpOutput()
50 tmpW32 += y[2] * ba[4]; /* (-a[2])*y[i-2] (high part) */ in WebRtcIlbcfix_HpOutput()
51 tmpW32 = (tmpW32<<1); in WebRtcIlbcfix_HpOutput()
53 tmpW32 += signal[i] * ba[0]; /* b[0]*x[0] */ in WebRtcIlbcfix_HpOutput()
54 tmpW32 += x[0] * ba[1]; /* b[1]*x[i-1] */ in WebRtcIlbcfix_HpOutput()
55 tmpW32 += x[1] * ba[2]; /* b[2]*x[i-2] */ in WebRtcIlbcfix_HpOutput()
[all …]
Dlsf_to_poly.c32 int32_t tmpW32; in WebRtcIlbcfix_Lsf2Poly() local
73 tmpW32 = (*f1ptr) + (*f2ptr); in WebRtcIlbcfix_Lsf2Poly()
74 *a1ptr = (int16_t)((tmpW32 + 4096) >> 13); in WebRtcIlbcfix_Lsf2Poly()
76 tmpW32 = (*f1ptr) - (*f2ptr); in WebRtcIlbcfix_Lsf2Poly()
77 *a2ptr = (int16_t)((tmpW32 + 4096) >> 13); in WebRtcIlbcfix_Lsf2Poly()
Dpoly_to_lsp.c37 int32_t tmpW32; in WebRtcIlbcfix_Poly2Lsp() local
125 tmpW32 = (x * y) >> (19 - shifts); in WebRtcIlbcfix_Poly2Lsp()
128 y = (int16_t)(tmpW32&0xFFFF); in WebRtcIlbcfix_Poly2Lsp()
134 tmpW32 = (ylow * y) >> 10; in WebRtcIlbcfix_Poly2Lsp()
135 xint = xlow-(int16_t)(tmpW32&0xFFFF); in WebRtcIlbcfix_Poly2Lsp()
Dlsf_to_lsp.c35 int32_t tmpW32; in WebRtcIlbcfix_Lsf2Lsp() local
56 tmpW32 = WebRtcIlbcfix_kCosDerivative[k] * diff; in WebRtcIlbcfix_Lsf2Lsp()
57 lsp[i] = WebRtcIlbcfix_kCos[k] + (int16_t)(tmpW32 >> 12); in WebRtcIlbcfix_Lsf2Lsp()
Dget_lsp_poly.c44 int32_t tmpW32; in WebRtcIlbcfix_GetLspPoly() local
70 tmpW32 = ((high * *lspPtr) << 2) + (((low * *lspPtr) >> 15) << 2); in WebRtcIlbcfix_GetLspPoly()
73 (*fPtr) -= tmpW32; in WebRtcIlbcfix_GetLspPoly()
Ddo_plc.c49 int32_t tmpW32, tmp2W32; in WebRtcIlbcfix_DoThePlc() local
215 tmpW32 = (int32_t)WebRtcIlbcfix_kPlcPitchFact[ind] + in WebRtcIlbcfix_DoThePlc()
219 pitchfact = (int16_t)WEBRTC_SPL_MIN(tmpW32, 32767); /* guard against overflow */ in WebRtcIlbcfix_DoThePlc()
Dcb_search.c69 int32_t t32, tmpW32; in WebRtcIlbcfix_CbSearch() local
373 tmpW32 = ((int32_t)(gains[1]-1))<<1; in WebRtcIlbcfix_CbSearch()
393 if ((*WebRtcIlbcfix_kGainSq5_ptr) < tmpW32) { in WebRtcIlbcfix_CbSearch()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_filter_c.c34 int32_t tmpW32 = 0; in WebRtcIsacfix_PitchFilterCore() local
38 tmpW32 += ubufQQpos2[*index2 + j] * coefficient[j]; in WebRtcIsacfix_PitchFilterCore()
42 tmpW32 = WEBRTC_SPL_SAT(536862719, tmpW32, -536879104); in WebRtcIsacfix_PitchFilterCore()
43 tmpW32 += 8192; in WebRtcIsacfix_PitchFilterCore()
44 tmpW16 = (int16_t)(tmpW32 >> 14); in WebRtcIsacfix_PitchFilterCore()
53 tmpW32 = 0; in WebRtcIsacfix_PitchFilterCore()
57 tmpW32 += inputState[j] * kDampFilter[j]; in WebRtcIsacfix_PitchFilterCore()
61 tmpW32 = WEBRTC_SPL_SAT(1073725439, tmpW32, -1073758208); in WebRtcIsacfix_PitchFilterCore()
62 tmpW32 += 16384; in WebRtcIsacfix_PitchFilterCore()
63 tmpW16 = (int16_t)(tmpW32 >> 15); in WebRtcIsacfix_PitchFilterCore()
[all …]
Dpitch_filter.c153 int32_t tmpW32, tmp2W32, csum1QQ, esumxQQ; in WebRtcIsacfix_PitchFilterGains() local
197 tmpW32 = 0; in WebRtcIsacfix_PitchFilterGains()
199 tmpW32 += ubufQQ[pos3QQ + m] * fracoeffQQ[m]; in WebRtcIsacfix_PitchFilterGains()
205 tmp2W32 = WEBRTC_SPL_MUL_16_32_RSFT14(indatQ0[ind], tmpW32); in WebRtcIsacfix_PitchFilterGains()
206 tmpW32 += 8192; in WebRtcIsacfix_PitchFilterGains()
207 tmpW16 = tmpW32 >> 14; in WebRtcIsacfix_PitchFilterGains()
208 tmpW32 = tmpW16 * tmpW16; in WebRtcIsacfix_PitchFilterGains()
211 (tmpW32 > 1073700000) || (esumxQQ > 1073700000)) { // 2^30 in WebRtcIsacfix_PitchFilterGains()
217 esumxQQ += tmpW32 >> scale; in WebRtcIsacfix_PitchFilterGains()
229 tmpW32 = tmp2W32 >> 20; in WebRtcIsacfix_PitchFilterGains()
[all …]
Dpitch_filter_armv6.S62 @ r2: tmpW32
/external/webrtc/webrtc/common_audio/signal_processing/
Ddivision_operations.c103 int32_t tmpW32; in WebRtcSpl_DivW32HiLow() local
109 tmpW32 = (den_hi * approx << 1) + ((den_low * approx >> 15) << 1); in WebRtcSpl_DivW32HiLow()
112 tmpW32 = (int32_t)0x7fffffffL - tmpW32; // result in Q30 (tmpW32 = 2.0-(den*approx)) in WebRtcSpl_DivW32HiLow()
115 tmp_hi = (int16_t)(tmpW32 >> 16); in WebRtcSpl_DivW32HiLow()
116 tmp_low = (int16_t)((tmpW32 - ((int32_t)tmp_hi << 16)) >> 1); in WebRtcSpl_DivW32HiLow()
119 tmpW32 = (tmp_hi * approx + (tmp_low * approx >> 15)) << 1; in WebRtcSpl_DivW32HiLow()
122 tmp_hi = (int16_t)(tmpW32 >> 16); in WebRtcSpl_DivW32HiLow()
123 tmp_low = (int16_t)((tmpW32 - ((int32_t)tmp_hi << 16)) >> 1); in WebRtcSpl_DivW32HiLow()
131 tmpW32 = num_hi * tmp_hi + (num_hi * tmp_low >> 15) + in WebRtcSpl_DivW32HiLow()
135 tmpW32 = WEBRTC_SPL_LSHIFT_W32(tmpW32, 3); in WebRtcSpl_DivW32HiLow()
[all …]