Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_MUL_16_16 (Results 1 – 25 of 119) sorted by relevance

12345

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
Denh_upsample.c42 (*pu11) = WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
43 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
44 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
49 (*pu11) = WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
50 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
51 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
52 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
57 (*pu11) = WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
58 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
59 (*pu11) += WEBRTC_SPL_MUL_16_16(*ps--,*pp++); in WebRtcIlbcfix_EnhUpsample()
[all …]
Dhp_output.c46 tmpW32 = WEBRTC_SPL_MUL_16_16(y[1], ba[3]); /* (-a[1])*y[i-1] (low part) */ in WebRtcIlbcfix_HpOutput()
47 tmpW32 += WEBRTC_SPL_MUL_16_16(y[3], ba[4]); /* (-a[2])*y[i-2] (low part) */ in WebRtcIlbcfix_HpOutput()
49 tmpW32 += WEBRTC_SPL_MUL_16_16(y[0], ba[3]); /* (-a[1])*y[i-1] (high part) */ in WebRtcIlbcfix_HpOutput()
50 tmpW32 += WEBRTC_SPL_MUL_16_16(y[2], ba[4]); /* (-a[2])*y[i-2] (high part) */ in WebRtcIlbcfix_HpOutput()
53 tmpW32 += WEBRTC_SPL_MUL_16_16(signal[i], ba[0]); /* b[0]*x[0] */ in WebRtcIlbcfix_HpOutput()
54 tmpW32 += WEBRTC_SPL_MUL_16_16(x[0], ba[1]); /* b[1]*x[i-1] */ in WebRtcIlbcfix_HpOutput()
55 tmpW32 += WEBRTC_SPL_MUL_16_16(x[1], ba[2]); /* b[2]*x[i-2] */ in WebRtcIlbcfix_HpOutput()
Dhp_input.c46 tmpW32 = WEBRTC_SPL_MUL_16_16(y[1], ba[3]); /* (-a[1])*y[i-1] (low part) */ in WebRtcIlbcfix_HpInput()
47 tmpW32 += WEBRTC_SPL_MUL_16_16(y[3], ba[4]); /* (-a[2])*y[i-2] (low part) */ in WebRtcIlbcfix_HpInput()
49 tmpW32 += WEBRTC_SPL_MUL_16_16(y[0], ba[3]); /* (-a[1])*y[i-1] (high part) */ in WebRtcIlbcfix_HpInput()
50 tmpW32 += WEBRTC_SPL_MUL_16_16(y[2], ba[4]); /* (-a[2])*y[i-2] (high part) */ in WebRtcIlbcfix_HpInput()
53 tmpW32 += WEBRTC_SPL_MUL_16_16(signal[i], ba[0]); /* b[0]*x[0] */ in WebRtcIlbcfix_HpInput()
54 tmpW32 += WEBRTC_SPL_MUL_16_16(x[0], ba[1]); /* b[1]*x[i-1] */ in WebRtcIlbcfix_HpInput()
55 tmpW32 += WEBRTC_SPL_MUL_16_16(x[1], ba[2]); /* b[2]*x[i-2] */ in WebRtcIlbcfix_HpInput()
Dget_sync_seq.c50 (int16_t)WEBRTC_SPL_MUL_16_16(2, (centerStartPos+centerEndPos)), in WebRtcIlbcfix_GetSyncSeq()
53 blockStartPos[hl]=(int16_t)WEBRTC_SPL_MUL_16_16(4, centerStartPos); in WebRtcIlbcfix_GetSyncSeq()
62 …(int16_t)(blockStartPos[q] + (int16_t)WEBRTC_SPL_MUL_16_16(4, ENH_BLOCKL_HALF)-period[lagBlock[q+1… in WebRtcIlbcfix_GetSyncSeq()
65 if((blockStartPos[q]-(int16_t)WEBRTC_SPL_MUL_16_16(4, ENH_OVERHANG))>=0) { in WebRtcIlbcfix_GetSyncSeq()
85 for(q=hl+1;q<=WEBRTC_SPL_MUL_16_16(2, hl);q++) { in WebRtcIlbcfix_GetSyncSeq()
89 … (int16_t)WEBRTC_SPL_MUL_16_16(4, ENH_BLOCKL_HALF)),periodl); in WebRtcIlbcfix_GetSyncSeq()
93 if( (blockStartPos[q]+(int16_t)WEBRTC_SPL_MUL_16_16(4, (ENH_BLOCKL+ENH_OVERHANG))) in WebRtcIlbcfix_GetSyncSeq()
95 (int16_t)WEBRTC_SPL_MUL_16_16(4, idatal)) { in WebRtcIlbcfix_GetSyncSeq()
Dgain_quant.c65 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr)); in WebRtcIlbcfix_GainQuant()
81 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr)); in WebRtcIlbcfix_GainQuant()
84 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr+1))); in WebRtcIlbcfix_GainQuant()
90 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr-1))); in WebRtcIlbcfix_GainQuant()
102 returnVal=(int16_t)((WEBRTC_SPL_MUL_16_16(scale, cb[loc])+8192)>>14); in WebRtcIlbcfix_GainQuant()
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks_neon.S147 @ a0_ch1 = WEBRTC_SPL_MUL_16_16(factor_ch1[0], sample0_ch1) << 1;
148 @ a0_ch2 = WEBRTC_SPL_MUL_16_16(factor_ch2[0], sample0_ch2) << 1;
153 @ a0_ch1 = WEBRTC_SPL_MUL_16_16(-factor_ch1[0], (int16_t) (b0_ch1 >> 16));
154 @ a0_ch2 = WEBRTC_SPL_MUL_16_16(-factor_ch2[0], (int16_t) (b0_ch2 >> 16));
166 @ a1_ch1 = WEBRTC_SPL_MUL_16_16(factor_ch1[0], sample1_ch1) << 1;
167 @ a0_ch1 = WEBRTC_SPL_MUL_16_16(factor_ch1[1], sample0_ch1) << 1;
168 @ a1_ch2 = WEBRTC_SPL_MUL_16_16(factor_ch2[0], sample1_ch2 ) << 1;
169 @ a0_ch2 = WEBRTC_SPL_MUL_16_16(factor_ch2[1], sample0_ch2) << 1;
176 @ a1_ch1 = WEBRTC_SPL_MUL_16_16(-factor_ch1[0], (int16_t) (b1_ch1 >> 16));
177 @ a0_ch1 = WEBRTC_SPL_MUL_16_16(-factor_ch1[1], (int16_t) (b0_ch1 >> 16));
[all …]
Dfilterbanks.c52 a = WEBRTC_SPL_MUL_16_16(factor_ch1[0], in_out); // Q15 * Q0 = Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
55 a = WEBRTC_SPL_MUL_16_16(-factor_ch1[0], (int16_t) (b >> 16)); // Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
59 a = WEBRTC_SPL_MUL_16_16(factor_ch1[1], in_out); // Q15 * Q0 = Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
62 a = WEBRTC_SPL_MUL_16_16(-factor_ch1[1], (int16_t) (b >> 16)); // Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
68 a = WEBRTC_SPL_MUL_16_16(factor_ch2[0], in_out); // Q15 * Q0 = Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
71 a = WEBRTC_SPL_MUL_16_16(-factor_ch2[0], (int16_t) (b >> 16)); // Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
75 a = WEBRTC_SPL_MUL_16_16(factor_ch2[1], in_out); // Q15 * Q0 = Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
78 a = WEBRTC_SPL_MUL_16_16(-factor_ch2[1], (int16_t) (b >> 16)); // Q15 in WebRtcIsacfix_AllpassFilter2FixDec16C()
180 tempin_ch1[QLOOKAHEAD + k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
184 …prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL… in WebRtcIsacfix_SplitAndFilter1()
[all …]
Dfilters.c35 prod += WEBRTC_SPL_MUL_16_16(x[i], x[i]); in WebRtcIsacfix_AutocorrC()
51 prod += WEBRTC_SPL_MUL_16_16(x[j], x[i + j]); in WebRtcIsacfix_AutocorrC()
102 memcpy(data_vec+1, in, WEBRTC_SPL_MUL_16_16(sizeof(int16_t), (N-1))); in WebRtcIsacfix_DecimateAllpass32()
105 …data_vec[0] = (int16_t) WEBRTC_SPL_RSHIFT_W32(state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIONS)],1… in WebRtcIsacfix_DecimateAllpass32()
106 state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIONS)] = WEBRTC_SPL_LSHIFT_W32((uint32_t)in[N-1],16); in WebRtcIsacfix_DecimateAllpass32()
114 out[n] = WebRtcSpl_AddSatW16(data_vec[WEBRTC_SPL_MUL_16_16(2, n)], in WebRtcIsacfix_DecimateAllpass32()
115 data_vec[WEBRTC_SPL_MUL_16_16(2, n) + 1]); in WebRtcIsacfix_DecimateAllpass32()
Dlpc_masking_model.c41 …tmp_inv_denum32 = ((int32_t) 1073741823) - WEBRTC_SPL_MUL_16_16(k16[m], k16[m]); // (1 - k^2) in Q… 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()
123 temp1W32 = WEBRTC_SPL_LSHIFT_W32((WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(K_hi, K_low), 14) + in WebRtcSpl_LevinsonW32_JSK()
124WEBRTC_SPL_MUL_16_16(K_hi, K_hi)), 1); /* temp1W32 = k^2 in Q31 */ in WebRtcSpl_LevinsonW32_JSK()
134 temp1W32 = WEBRTC_SPL_LSHIFT_W32((WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_hi) + in WebRtcSpl_LevinsonW32_JSK()
135 … WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_low), 15) + in WebRtcSpl_LevinsonW32_JSK()
136 … WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_low[0], tmp_hi), 15) ), 1); in WebRtcSpl_LevinsonW32_JSK()
163 temp1W32 += (WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_hi[j], A_hi[i-j]), 1) + in WebRtcSpl_LevinsonW32_JSK()
164 … WEBRTC_SPL_LSHIFT_W32(( WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_hi[j], A_low[i-j]), 15) + in WebRtcSpl_LevinsonW32_JSK()
165 … WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(R_low[j], A_hi[i-j]), 15) ), 1)); in WebRtcSpl_LevinsonW32_JSK()
[all …]
Dlattice_c.c39 tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop()
40 - (WEBRTC_SPL_MUL_16_16(sth_Q15[k], ar_g_Q0[k])) + 16384), 15); in WebRtcIsacfix_FilterArLoop()
41 tmp32_2 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(sth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop()
42 + (WEBRTC_SPL_MUL_16_16(cth_Q15[k], ar_g_Q0[k])) + 16384), 15); in WebRtcIsacfix_FilterArLoop()
Dlattice.c118 int32_t temp1 = WEBRTC_SPL_MUL_16_16(u, HALF_SUBFRAMELEN); in WebRtcIsacfix_NormLatticeFilterMa()
121 temp2 = (int16_t)WEBRTC_SPL_MUL_16_16(u, orderCoef); in WebRtcIsacfix_NormLatticeFilterMa()
122 temp3 = (int16_t)WEBRTC_SPL_MUL_16_16(2, u)+lo_hi; in WebRtcIsacfix_NormLatticeFilterMa()
241 int32_t temp1 = WEBRTC_SPL_MUL_16_16(u, HALF_SUBFRAMELEN); in WebRtcIsacfix_NormLatticeFilterAr()
244 temp2 = (int16_t)WEBRTC_SPL_MUL_16_16(u, orderCoef); in WebRtcIsacfix_NormLatticeFilterAr()
245 temp3 = (int16_t)WEBRTC_SPL_MUL_16_16(2, u) + lo_hi; in WebRtcIsacfix_NormLatticeFilterAr()
284 …tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cthQ15[i],ARfQ0vec[0])) - (WEBRTC_SPL_MUL_16_… in WebRtcIsacfix_NormLatticeFilterAr()
287 …tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(sthQ15[i],ARfQ0vec[0])) + (WEBRTC_SPL_MUL_16_… in WebRtcIsacfix_NormLatticeFilterAr()
/external/webrtc/src/common_audio/signal_processing/
Dlevinson_durbin.c82 temp1W32 = (((WEBRTC_SPL_MUL_16_16(K_hi, K_low) >> 14) + WEBRTC_SPL_MUL_16_16(K_hi, K_hi)) in WebRtcSpl_LevinsonDurbin()
94 temp1W32 = ((WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_hi) in WebRtcSpl_LevinsonDurbin()
95 + (WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_low) >> 15) in WebRtcSpl_LevinsonDurbin()
96 + (WEBRTC_SPL_MUL_16_16(R_low[0], tmp_hi) >> 15)) << 1); in WebRtcSpl_LevinsonDurbin()
122 temp1W32 += ((WEBRTC_SPL_MUL_16_16(R_hi[j], A_hi[i-j]) << 1) in WebRtcSpl_LevinsonDurbin()
123 + (((WEBRTC_SPL_MUL_16_16(R_hi[j], A_low[i-j]) >> 15) in WebRtcSpl_LevinsonDurbin()
124 + (WEBRTC_SPL_MUL_16_16(R_low[j], A_hi[i-j]) >> 15)) << 1)); in WebRtcSpl_LevinsonDurbin()
186 temp1W32 += ((WEBRTC_SPL_MUL_16_16(K_hi, A_hi[i-j]) in WebRtcSpl_LevinsonDurbin()
187 + (WEBRTC_SPL_MUL_16_16(K_hi, A_low[i-j]) >> 15) in WebRtcSpl_LevinsonDurbin()
188 + (WEBRTC_SPL_MUL_16_16(K_low, A_hi[i-j]) >> 15)) << 1); in WebRtcSpl_LevinsonDurbin()
[all …]
Ddivision_operations.c110 tmpW32 = (WEBRTC_SPL_MUL_16_16(den_hi, approx) << 1) in WebRtcSpl_DivW32HiLow()
111 + ((WEBRTC_SPL_MUL_16_16(den_low, approx) >> 15) << 1); in WebRtcSpl_DivW32HiLow()
122 tmpW32 = ((WEBRTC_SPL_MUL_16_16(tmp_hi, approx) + (WEBRTC_SPL_MUL_16_16(tmp_low, approx) in WebRtcSpl_DivW32HiLow()
137 tmpW32 = (WEBRTC_SPL_MUL_16_16(num_hi, tmp_hi) + (WEBRTC_SPL_MUL_16_16(num_hi, tmp_low) in WebRtcSpl_DivW32HiLow()
138 >> 15) + (WEBRTC_SPL_MUL_16_16(num_low, tmp_hi) >> 15)); in WebRtcSpl_DivW32HiLow()
Dcomplex_fft.c198 tr32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT()
199 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1])), 15); in WebRtcSpl_ComplexFFT()
201 ti32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT()
202 + WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j])), 15); in WebRtcSpl_ComplexFFT()
256 tr32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT()
257 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1]) + CFFTRND; in WebRtcSpl_ComplexFFT()
259 ti32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT()
260 + WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j]) + CFFTRND; in WebRtcSpl_ComplexFFT()
397 tr32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexIFFT()
398 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1]) + CIFFTRND; in WebRtcSpl_ComplexIFFT()
[all …]
Dcross_correlation.c182 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
185 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
188 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
191 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
194 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
197 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
200 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
203 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
210 (*CrossCorrPtr) += WEBRTC_SPL_MUL_16_16((*seq1Ptr), (*seq2Ptr)); in WebRtcSpl_CrossCorrelation()
Ddot_product_with_scale.c42 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale()
45 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale()
48 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale()
51 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale()
58 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); in WebRtcSpl_DotProductWithScale()
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Dlevinson_durbin.c82 temp1W32 = (((WEBRTC_SPL_MUL_16_16(K_hi, K_low) >> 14) + WEBRTC_SPL_MUL_16_16(K_hi, K_hi)) in WebRtcSpl_LevinsonDurbin()
94 temp1W32 = ((WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_hi) in WebRtcSpl_LevinsonDurbin()
95 + (WEBRTC_SPL_MUL_16_16(R_hi[0], tmp_low) >> 15) in WebRtcSpl_LevinsonDurbin()
96 + (WEBRTC_SPL_MUL_16_16(R_low[0], tmp_hi) >> 15)) << 1); in WebRtcSpl_LevinsonDurbin()
122 temp1W32 += ((WEBRTC_SPL_MUL_16_16(R_hi[j], A_hi[i-j]) << 1) in WebRtcSpl_LevinsonDurbin()
123 + (((WEBRTC_SPL_MUL_16_16(R_hi[j], A_low[i-j]) >> 15) in WebRtcSpl_LevinsonDurbin()
124 + (WEBRTC_SPL_MUL_16_16(R_low[j], A_hi[i-j]) >> 15)) << 1)); in WebRtcSpl_LevinsonDurbin()
186 temp1W32 += ((WEBRTC_SPL_MUL_16_16(K_hi, A_hi[i-j]) in WebRtcSpl_LevinsonDurbin()
187 + (WEBRTC_SPL_MUL_16_16(K_hi, A_low[i-j]) >> 15) in WebRtcSpl_LevinsonDurbin()
188 + (WEBRTC_SPL_MUL_16_16(K_low, A_hi[i-j]) >> 15)) << 1); in WebRtcSpl_LevinsonDurbin()
[all …]
Ddivision_operations.c109 tmpW32 = (WEBRTC_SPL_MUL_16_16(den_hi, approx) << 1) in WebRtcSpl_DivW32HiLow()
110 + ((WEBRTC_SPL_MUL_16_16(den_low, approx) >> 15) << 1); in WebRtcSpl_DivW32HiLow()
121 tmpW32 = ((WEBRTC_SPL_MUL_16_16(tmp_hi, approx) + (WEBRTC_SPL_MUL_16_16(tmp_low, approx) in WebRtcSpl_DivW32HiLow()
136 tmpW32 = (WEBRTC_SPL_MUL_16_16(num_hi, tmp_hi) + (WEBRTC_SPL_MUL_16_16(num_hi, tmp_low) in WebRtcSpl_DivW32HiLow()
137 >> 15) + (WEBRTC_SPL_MUL_16_16(num_low, tmp_hi) >> 15)); in WebRtcSpl_DivW32HiLow()
Dcomplex_fft.c68 tr32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT()
69 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1])), 15); in WebRtcSpl_ComplexFFT()
71 ti32 = WEBRTC_SPL_RSHIFT_W32((WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT()
72 + WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j])), 15); in WebRtcSpl_ComplexFFT()
131 tr32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexFFT()
132 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1]) + CFFTRND; in WebRtcSpl_ComplexFFT()
134 ti32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j + 1]) in WebRtcSpl_ComplexFFT()
135 + WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j]) + CFFTRND; in WebRtcSpl_ComplexFFT()
278 tr32 = WEBRTC_SPL_MUL_16_16(wr, frfi[2 * j]) in WebRtcSpl_ComplexIFFT()
279 - WEBRTC_SPL_MUL_16_16(wi, frfi[2 * j + 1]) + CIFFTRND; in WebRtcSpl_ComplexIFFT()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks.c40 a = WEBRTC_SPL_MUL_16_16(APSectionFactors[j], InOut16[n]); //Q15*Q0=Q15 in AllpassFilter2FixDec16()
128 WebRtc_Word32 tmpState[WEBRTC_SPL_MUL_16_16(2,(QORDER-1))]; /* 4 */ in WebRtcIsacfix_SplitAndFilter1()
137 tempin_ch1[QLOOKAHEAD + k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
141 …prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL… in WebRtcIsacfix_SplitAndFilter1()
147 tempin_ch2[QLOOKAHEAD+k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
151 …prefiltdata->INLABUF2_fix[k]=pin[FRAMESAMPLES-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_1… in WebRtcIsacfix_SplitAndFilter1()
161 for (k=0;k<WEBRTC_SPL_MUL_16_16(2, (QORDER-1));k++) in WebRtcIsacfix_SplitAndFilter1()
164 for (k=0;k<WEBRTC_SPL_MUL_16_16(2, (QORDER-1));k++) in WebRtcIsacfix_SplitAndFilter1()
207 tempin_ch1[k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2()
213 tempin_ch2[k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2()
[all …]
Dfilters.c41 prod += WEBRTC_SPL_MUL_16_16(x[i], x[i]); in WebRtcIsacfix_AutocorrC()
57 prod += WEBRTC_SPL_MUL_16_16(x[j], x[i + j]); in WebRtcIsacfix_AutocorrC()
108 memcpy(data_vec+1, in, WEBRTC_SPL_MUL_16_16(sizeof(WebRtc_Word16), (N-1))); in WebRtcIsacfix_DecimateAllpass32()
111 …data_vec[0] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIO… in WebRtcIsacfix_DecimateAllpass32()
112 …state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIONS)] = WEBRTC_SPL_LSHIFT_W32((WebRtc_UWord32)in[N-1]… in WebRtcIsacfix_DecimateAllpass32()
120 …out[n]=WEBRTC_SPL_ADD_SAT_W16(data_vec[WEBRTC_SPL_MUL_16_16(2, n)], data_vec[WEBRTC_SPL_MUL_16_16(… in WebRtcIsacfix_DecimateAllpass32()
Dlattice_c.c39 tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop()
40 - (WEBRTC_SPL_MUL_16_16(sth_Q15[k], ar_g_Q0[k])) + 16384), 15); in WebRtcIsacfix_FilterArLoop()
41 tmp32_2 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(sth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop()
42 + (WEBRTC_SPL_MUL_16_16(cth_Q15[k], ar_g_Q0[k])) + 16384), 15); in WebRtcIsacfix_FilterArLoop()
Dlattice.c121 int32_t temp1 = WEBRTC_SPL_MUL_16_16(u, HALF_SUBFRAMELEN); in WebRtcIsacfix_NormLatticeFilterMa()
124 temp2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(u, orderCoef); in WebRtcIsacfix_NormLatticeFilterMa()
125 temp3 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(2, u)+lo_hi; in WebRtcIsacfix_NormLatticeFilterMa()
244 int32_t temp1 = WEBRTC_SPL_MUL_16_16(u, HALF_SUBFRAMELEN); in WebRtcIsacfix_NormLatticeFilterAr()
247 temp2 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(u, orderCoef); in WebRtcIsacfix_NormLatticeFilterAr()
248 temp3 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(2, u) + lo_hi; 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()
/external/webrtc/src/modules/audio_processing/
Dhigh_pass_filter_impl.cc64 WEBRTC_SPL_MUL_16_16(y[1], ba[3]); // -a[1] * y[i-1] (low part) in Filter()
66 WEBRTC_SPL_MUL_16_16(y[3], ba[4]); // -a[2] * y[i-2] (low part) in Filter()
69 WEBRTC_SPL_MUL_16_16(y[0], ba[3]); // -a[1] * y[i-1] (high part) in Filter()
71 WEBRTC_SPL_MUL_16_16(y[2], ba[4]); // -a[2] * y[i-2] (high part) in Filter()
74 tmp_int32 += WEBRTC_SPL_MUL_16_16(data[i], ba[0]); // b[0]*x[0] in Filter()
75 tmp_int32 += WEBRTC_SPL_MUL_16_16(x[0], ba[1]); // b[1]*x[i-1] in Filter()
76 tmp_int32 += WEBRTC_SPL_MUL_16_16(x[1], ba[2]); // b[2]*x[i-2] in Filter()
/external/chromium_org/third_party/webrtc/modules/audio_processing/
Dhigh_pass_filter_impl.cc63 WEBRTC_SPL_MUL_16_16(y[1], ba[3]); // -a[1] * y[i-1] (low part) in Filter()
65 WEBRTC_SPL_MUL_16_16(y[3], ba[4]); // -a[2] * y[i-2] (low part) in Filter()
68 WEBRTC_SPL_MUL_16_16(y[0], ba[3]); // -a[1] * y[i-1] (high part) in Filter()
70 WEBRTC_SPL_MUL_16_16(y[2], ba[4]); // -a[2] * y[i-2] (high part) in Filter()
73 tmp_int32 += WEBRTC_SPL_MUL_16_16(data[i], ba[0]); // b[0]*x[0] in Filter()
74 tmp_int32 += WEBRTC_SPL_MUL_16_16(x[0], ba[1]); // b[1]*x[i-1] in Filter()
75 tmp_int32 += WEBRTC_SPL_MUL_16_16(x[1], ba[2]); // b[2]*x[i-2] in Filter()

12345