/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
D | enh_upsample.c | 42 (*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 …]
|
D | hp_output.c | 46 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()
|
D | hp_input.c | 46 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()
|
D | get_sync_seq.c | 50 (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()
|
D | gain_quant.c | 65 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/ |
D | filterbanks_neon.S | 147 @ 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 …]
|
D | filterbanks.c | 52 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 …]
|
D | filters.c | 35 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()
|
D | lpc_masking_model.c | 41 …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() 124 … WEBRTC_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 …]
|
D | lattice_c.c | 39 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()
|
D | lattice.c | 118 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/ |
D | levinson_durbin.c | 82 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 …]
|
D | division_operations.c | 110 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()
|
D | complex_fft.c | 198 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 …]
|
D | cross_correlation.c | 182 (*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()
|
D | dot_product_with_scale.c | 42 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/ |
D | levinson_durbin.c | 82 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 …]
|
D | division_operations.c | 109 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()
|
D | complex_fft.c | 68 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/ |
D | filterbanks.c | 40 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 …]
|
D | filters.c | 41 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()
|
D | lattice_c.c | 39 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()
|
D | lattice.c | 121 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/ |
D | high_pass_filter_impl.cc | 64 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/ |
D | high_pass_filter_impl.cc | 63 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()
|