/external/webrtc/webrtc/common_audio/signal_processing/ |
H A D | lpc_to_refl_coef.c | 25 int32_t tmp32[SPL_LPC_TO_REFL_COEF_MAX_AR_MODEL_ORDER]; local 42 tmp32[k] = (a16[k] << 16) - (k16[m] * a16[m - k + 1] << 1); 44 tmp32[k] = WebRtcSpl_DivW32W16(tmp32[k], tmp_inv_denom16); //Q28/Q15 = Q13 49 a16[k] = (int16_t)(tmp32[k] >> 1); // Q13>>1 => Q12 52 tmp32[m] = WEBRTC_SPL_SAT(8191, tmp32[m], -8191); 53 k16[m - 1] = (int16_t)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15
|
H A D | complex_fft.c | 164 int32_t tmp32, round2; local 185 tmp32 = WebRtcSpl_MaxAbsValueW16(frfi, 2 * n); 186 if (tmp32 > 13573) 192 if (tmp32 > 27146)
|
/external/webrtc/webrtc/common_audio/vad/ |
H A D | vad_gmm.c | 35 int32_t tmp32; local 40 tmp32 = (int32_t) 131072 + (int32_t) (std >> 1); 41 inv_std = (int16_t) WebRtcSpl_DivW32W16(tmp32, std); 59 // Calculate the exponent |tmp32| = (x - m)^2 / (2 * s^2), in Q10. Replacing 62 tmp32 = (*delta * tmp16) >> 9; 66 // ~= exp2(-log2(exp(1)) * |tmp32|). 67 if (tmp32 < kCompVar) { 68 // Calculate |tmp16| = log2(exp(1)) * |tmp32|, in Q10. 70 tmp16 = (int16_t)((kLog2Exp * tmp32) >> 12); 76 // Get |exp_value| = exp(-|tmp32|) i [all...] |
H A D | vad_sp.c | 69 int32_t tmp32 = 0; local 172 tmp32 = (alpha + 1) * self->mean_value[channel]; 173 tmp32 += (WEBRTC_SPL_WORD16_MAX - alpha) * current_median; 174 tmp32 += 16384; 175 self->mean_value[channel] = (int16_t) (tmp32 >> 15);
|
H A D | vad_filterbank.c | 46 int32_t tmp32 = 0; local 59 tmp32 = kHpZeroCoefs[0] * *in_ptr; 60 tmp32 += kHpZeroCoefs[1] * filter_state[0]; 61 tmp32 += kHpZeroCoefs[2] * filter_state[1]; 66 tmp32 -= kHpPoleCoefs[1] * filter_state[2]; 67 tmp32 -= kHpPoleCoefs[2] * filter_state[3]; 69 filter_state[2] = (int16_t) (tmp32 >> 14); 94 int32_t tmp32 = 0; local 98 tmp32 = state32 + filter_coefficient * *data_in; 99 tmp16 = (int16_t) (tmp32 >> 1 [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | lattice.c | 31 multiplication between t32 and tmp32, done in two ways: 32 1) Using (int32_t) (((float)(tmp32))*((float)(tmp32b))/65536.0); 110 int32_t tmp32, tmp32b; local 159 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT15(sthQ15[i-1], stateGQ15[i-1]);//Q15*Q15>>15 = Q15 160 tmp32b= fQtmp + tmp32; //Q15+Q15=Q15 161 tmp32 = inv_cthQ16[i-1]; //Q16 162 t16a = (int16_t)(tmp32 >> 16); 163 t16b = (int16_t)(tmp32 - (t16a << 16)); 165 tmp32 = LATTICE_MUL_32_32_RSFT16(t16a, t16b, tmp32b); 166 fQtmp = tmp32; // Q1 226 int32_t tmp32; local [all...] |
H A D | lattice_c.c | 34 int32_t tmp32 = 0; local 39 tmp32 = (cth_Q15[k - 1] * tmpAR - sth_Q15[k - 1] * ar_g_Q0[k - 1] + 43 tmpAR = (int16_t)WebRtcSpl_SatW32ToW16(tmp32);
|
H A D | lpc_masking_model_mips.c | 25 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; local 45 "mul %[tmp32], %[tmp2], %[tmp2] \n\t" 48 "mult $ac0, %[tmp32], %[tmp_corr_c] \n\t" 55 : [tmp2] "=&r" (tmp2), [tmp3] "=&r" (tmp3), [tmp32] "=&r" (tmp32), 131 "mul %[tmp32], %[tmp3], %[tmp2] \n\t" 132 "sll %[tmp32], %[tmp32], 1 \n\t" 133 "mult $ac0, %[tmp32], %[tmp_corr_c] \n\t" 141 : [tmp2] "=&r" (tmp2), [tmp3] "=&r" (tmp3), [tmp32] " [all...] |
H A D | lpc_masking_model.c | 33 int32_t tmp32[MAX_AR_MODEL_ORDER]; local 48 tmp32[k] = WebRtcSpl_DivW32W16(tmp32b, tmp_inv_denum16); //Q27/Q15 = Q12 52 a16[k] = (int16_t)(tmp32[k] >> 1); // Q12>>1 => Q11 55 tmp32[m] = WEBRTC_SPL_SAT(4092, tmp32[m], -4092); 56 k16[m - 1] = (int16_t)(tmp32[m] << 3); // Q12<<3 => Q15 470 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; local 481 tmp32 = a_polynomial[j] * a_polynomial[j - i]; 482 /* tmp32 in Q(q_val_polynomial * 2). */ 484 tmp32 << 544 int32_t tmp32; local [all...] |
H A D | entropy_coding.c | 953 int32_t tmp32; local 1037 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(31208, tmpcoeffs_sQ17[poss]); // (Q16*Q17)>>16 = Q17, with 1/2.1 = 0.47619047619 ~= 31208 in Q16 1038 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 1039 LPCCoefQ17[pos] = tmp32; 1045 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(18204, tmpcoeffs_sQ17[poss]) << 3; 1046 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 1047 LPCCoefQ17[pos] = tmp32; 1078 int32_t tmp32; local [all...] |
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
H A D | digital_agc.c | 70 int32_t tmp32, tmp32no1, tmp32no2, numFIX, den, y32; local 142 tmp32 = WEBRTC_SPL_MUL_16_U16(tmp16, kLog10_2) + 1; // Q14 143 inLevel = WebRtcSpl_DivW32W16(tmp32, kCompRatio); // Q14 215 tmp32 = WEBRTC_SPL_MUL_16_U16(i - 1, kLog10_2); // Q14 216 tmp32 -= limiterLvl << 14; // Q14 217 y32 = WebRtcSpl_DivW32W16(tmp32 + 10, 20); 221 tmp32 = (y32 >> 1) * kLog10 + 4096; // in Q27 222 tmp32 >>= 13; // In Q14. 225 tmp32 = y32 * kLog10 + 8192; // in Q28 226 tmp32 >> 303 int32_t out_tmp, tmp32; local 638 int32_t out, nrg, tmp32, tmp32b; local [all...] |
H A D | analog_agc.c | 118 int32_t nrg, max_nrg, sample, tmp32; local 147 tmp32 = (GAIN_TBL_LEN - 1) * tmp16; 149 targetGainIdx = tmp32 / tmp16; 503 int32_t tmp32 = 0; local 509 tmp32 += env[i]; 515 if (tmp32 < 500) 570 int32_t tmp32; local 586 tmp32 = vadThresh + 31 * stt->vadThreshold; 587 stt->vadThreshold = (int16_t)(tmp32 >> 5); 647 int32_t Rxx16w32, tmp32; local 1351 int32_t max_add, tmp32; local [all...] |
/external/libopus/silk/fixed/ |
H A D | residual_energy_FIX.c | 53 opus_int32 tmp32; local 88 tmp32 = silk_LSHIFT32( gains[ i ], lz2 ); 91 tmp32 = silk_SMMUL( tmp32, tmp32 ); /* Q( 2 * lz2 - 32 )*/ 94 nrgs[ i ] = silk_SMMUL( tmp32, silk_LSHIFT32( nrgs[ i ], lz1 ) ); /* Q( nrgsQ[ i ] + lz1 + 2 * lz2 - 32 - 32 )*/
|
H A D | vector_ops_FIX.c | 44 opus_int32 tmp32; local 47 tmp32 = silk_SMULWB( gain_Q16, data_in[ i ] ); 48 data_out[ i ] = (opus_int16)silk_CHECK_FIT16( tmp32 );
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | cb_mem_energy.c | 41 int32_t energy, tmp32; local 56 tmp32 = energy << energyShifts[0]; 57 energyW16[0] = (int16_t)(tmp32 >> 16); 72 tmp32 = energy << energyShifts[base_size]; 73 energyW16[base_size] = (int16_t)(tmp32 >> 16);
|
H A D | cb_mem_energy_augmentation.c | 30 int32_t energy, tmp32; local 62 tmp32 = energy << *enShPtr; 63 *enPtr = (int16_t)(tmp32 >> 16);
|
H A D | cb_search_core.c | 38 int32_t maxW32, tmp32; local 68 tmp32 = *cDotPtr << sh; 69 tmp16 = (int16_t)(tmp32 >> 16);
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
H A D | aecm_core_mips.c | 1258 int32_t tmp32, tmp321, tnoise, tnoise1; local 1297 "lh %[tmp32], 0(%[dfap]) \n\t" 1299 "sllv %[outLShift32], %[tmp32], %[shiftFromNearToNoise] \n\t" 1300 : [tmp32] "=&r" (tmp32), [outLShift32] "=r" (outLShift32), 1322 "subu %[tmp32], %[tnoise], %[outLShift32] \n\t" 1323 "srav %[tmp32], %[tmp32], %[minTrackShift] \n\t" 1324 "subu %[tnoise], %[tnoise], %[tmp32] \n\t" 1325 : [tmp32] " [all...] |
H A D | aecm_core_c.c | 646 int32_t tmp32; local 674 tmp32 = (int32_t)dfa[i]; 675 outLShift32 = tmp32 << shiftFromNearToNoise; 734 tmp32 = aecm->noiseEst[i] >> shiftFromNearToNoise; 735 if (tmp32 > 32767) 737 tmp32 = 32767; 738 aecm->noiseEst[i] = tmp32 << shiftFromNearToNoise; 740 noiseRShift16[i] = (int16_t)tmp32;
|
H A D | aecm_core.c | 400 int32_t tmp32 = PART_LEN1 * PART_LEN1; local 474 aecm->noiseEst[i] = (tmp32 << 8); 476 tmp32 -= (int32_t)((tmp16 << 1) + 1); 480 aecm->noiseEst[i] = (tmp32 << 8); 849 int32_t tmp32; local 867 tmp32 = tmp16 * MU_DIFF; 868 tmp32 = WebRtcSpl_DivW32W16(tmp32, aecm->farEnergyMaxMin); 869 mu = MU_MIN - 1 - (int16_t)(tmp32);
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
H A D | nsx_core_c.c | 31 int32_t invLrtFX, indPriorFX, tmp32, tmp32no1, tmp32no2, besselTmpFX32; local 62 tmp32 = (frac32 * frac32 * -43) >> 19; 63 tmp32 += ((int16_t)frac32 * 5412) >> 12; 64 frac32 = tmp32 + 37; 65 // tmp32 = log2(priorLocSnr[i]) 66 tmp32 = (int32_t)(((31 - zeros) << 12) + frac32) - (11 << 12); // Q12 67 logTmp = (tmp32 * 178) >> 8; // log2(priorLocSnr[i])*log(2)
|
H A D | nsx_core.c | 481 int32_t tmp32 = 0; local 483 tmp32 = WEBRTC_SPL_SHIFT_W32((int32_t)in[i], 485 inst->real[i] = WebRtcSpl_SatW32ToW16(tmp32); // Q0 497 int32_t tmp32 = 0; local 503 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(tmp16a, gain_factor, 13); // Q0 505 tmp16b = WebRtcSpl_SatW32ToW16(tmp32); // Q0 825 int32_t tmp32; local 877 tmp32 = inst->histLrt[i] * j; 878 avgHistLrtFX += tmp32; 880 avgSquareHistLrtFX += tmp32 * 1024 int32_t tmp32; local [all...] |
/external/speex/libspeex/ |
H A D | mdf.c | 706 spx_word32_t tmp32; local 730 spx_word32_t tmp32; local 732 tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan]))); 734 if (tmp32 > 32767) 736 tmp32 = 32767; 740 if (tmp32 < -32767) 742 tmp32 = -32767; 748 st->input[chan*st->frame_size+i] = EXTRACT16(tmp32); 756 spx_word32_t tmp32; local 758 tmp32 [all...] |
/external/curl/projects/ |
H A D | build-openssl.bat | 206 move tmp32.dbg\lib.pdb "%OUTDIR%\LIB Debug" 210 rd tmp32.dbg /s /q 229 move tmp32\lib.pdb "%OUTDIR%\LIB Release" 233 rd tmp32 /s /q 259 move tmp32.dbg\lib.pdb "%OUTDIR%\LIB Debug" 263 rd tmp32.dbg /s /q 282 move tmp32\lib.pdb "%OUTDIR%\LIB Release" 286 rd tmp32 /s /q
|
/external/libopus/silk/fixed/mips/ |
H A D | noise_shape_analysis_FIX_mipsr1.h | 44 opus_int32 SNR_adj_dB_Q7, HarmBoost_Q16, HarmShapeGain_Q16, Tilt_Q16, tmp32; local 199 tmp32 = silk_SQRT_APPROX( nrg ); 202 psEncCtrl->Gains_Q16[ k ] = (silk_LSHIFT32( silk_LIMIT( (tmp32), silk_RSHIFT32( silk_int32_MIN, (16 - Qnrg) ), \
|