Home
last modified time | relevance | path

Searched refs:tmp32 (Results 1 – 25 of 61) sorted by relevance

123

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c70 WebRtc_Word32 tmp32, tmp32no1, tmp32no2, numFIX, den, y32; in WebRtcAgc_CalculateGainTable() local
143 tmp32 = WEBRTC_SPL_MUL_16_U16(tmp16, kLog10_2) + 1; // Q14 in WebRtcAgc_CalculateGainTable()
144 inLevel = WebRtcSpl_DivW32W16(tmp32, kCompRatio); // Q14 in WebRtcAgc_CalculateGainTable()
216 tmp32 = WEBRTC_SPL_MUL_16_U16(i - 1, kLog10_2); // Q14 in WebRtcAgc_CalculateGainTable()
217 tmp32 -= WEBRTC_SPL_LSHIFT_W32(limiterLvl, 14); // Q14 in WebRtcAgc_CalculateGainTable()
218 y32 = WebRtcSpl_DivW32W16(tmp32 + 10, 20); in WebRtcAgc_CalculateGainTable()
222 tmp32 = WEBRTC_SPL_MUL(y32 >> 1, kLog10) + 4096; // in Q27 in WebRtcAgc_CalculateGainTable()
223 tmp32 = WEBRTC_SPL_RSHIFT_W32(tmp32, 13); // in Q14 in WebRtcAgc_CalculateGainTable()
226 tmp32 = WEBRTC_SPL_MUL(y32, kLog10) + 8192; // in Q28 in WebRtcAgc_CalculateGainTable()
227 tmp32 = WEBRTC_SPL_RSHIFT_W32(tmp32, 14); // in Q14 in WebRtcAgc_CalculateGainTable()
[all …]
Danalog_agc.c116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; in WebRtcAgc_AddMic() local
209 tmp32 = WEBRTC_SPL_MUL_16_16(GAIN_TBL_LEN - 1, tmp16); in WebRtcAgc_AddMic()
211 targetGainIdx = (WebRtc_UWord16)WEBRTC_SPL_DIV(tmp32, tmp16); in WebRtcAgc_AddMic()
231 tmp32 = WEBRTC_SPL_MUL_16_U16(in_mic[i], gain); in WebRtcAgc_AddMic()
232 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); in WebRtcAgc_AddMic()
247 tmp32 = WEBRTC_SPL_MUL_16_U16(in_mic_H[i], gain); in WebRtcAgc_AddMic()
248 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); in WebRtcAgc_AddMic()
618 WebRtc_Word32 tmp32 = 0; in WebRtcAgc_ZeroCtrl() local
624 tmp32 += env[i]; in WebRtcAgc_ZeroCtrl()
630 if (tmp32 < 500) in WebRtcAgc_ZeroCtrl()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dlattice.c112 WebRtc_Word32 tmp32, tmp32b; in WebRtcIsacfix_NormLatticeFilterMa() local
161 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT15(sthQ15[i-1], stateGQ15[i-1]);//Q15*Q15>>15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa()
162 tmp32b= fQtmp + tmp32; //Q15+Q15=Q15 in WebRtcIsacfix_NormLatticeFilterMa()
163 tmp32 = inv_cthQ16[i-1]; //Q16 in WebRtcIsacfix_NormLatticeFilterMa()
164 t16a = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp32, 16); in WebRtcIsacfix_NormLatticeFilterMa()
165 t16b = (WebRtc_Word16) (tmp32-WEBRTC_SPL_LSHIFT_W32(((WebRtc_Word32)t16a), 16)); in WebRtcIsacfix_NormLatticeFilterMa()
167 tmp32 = LATTICE_MUL_32_32_RSFT16(t16a, t16b, tmp32b); in WebRtcIsacfix_NormLatticeFilterMa()
168 fQtmp = tmp32; // Q15 in WebRtcIsacfix_NormLatticeFilterMa()
171 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT15(cthQ15[i-1], stateGQ15[i-1]); //Q15*Q15>>15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa()
173 tmp32 = tmp32 + tmp32b;//Q15+Q15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa()
[all …]
Dlattice_c.c34 int32_t tmp32 = 0; in WebRtcIsacfix_FilterArLoop() local
39 tmp32 = WEBRTC_SPL_RSHIFT_W32(((WEBRTC_SPL_MUL_16_16(cth_Q15[k], tmpAR)) in WebRtcIsacfix_FilterArLoop()
43 tmpAR = (WebRtc_Word16)WebRtcSpl_SatW32ToW16(tmp32); in WebRtcIsacfix_FilterArLoop()
Dlpc_masking_model.c33 WebRtc_Word32 tmp32[MAX_AR_MODEL_ORDER]; in WebRtcSpl_AToK_JSK() local
48 tmp32[k] = WebRtcSpl_DivW32W16(tmp32b, tmp_inv_denum16); //Q27/Q15 = Q12 in WebRtcSpl_AToK_JSK()
52 a16[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q12>>1 => Q11 in WebRtcSpl_AToK_JSK()
55 tmp32[m] = WEBRTC_SPL_SAT(4092, tmp32[m], -4092); in WebRtcSpl_AToK_JSK()
56 k16[m-1] = (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W32(tmp32[m], 3); //Q12<<3 => Q15 in WebRtcSpl_AToK_JSK()
482 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; in WebRtcIsacfix_CalculateResidualEnergyC() local
493 tmp32 = WEBRTC_SPL_MUL_16_16(a_polynomial[j], a_polynomial[j - i]); in WebRtcIsacfix_CalculateResidualEnergyC()
496 tmp32 <<= 1; in WebRtcIsacfix_CalculateResidualEnergyC()
498 sum64_tmp = (int64_t)tmp32 * (int64_t)corr_coeffs[i]; in WebRtcIsacfix_CalculateResidualEnergyC()
556 WebRtc_Word32 tmp32; in WebRtcIsacfix_GetLpcCoef() local
[all …]
Dentropy_coding.c815 WebRtc_Word32 tmp32; in WebRtcIsacfix_DecodeLpcCoef() local
942tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(31208, tmpcoeffs_sQ17[poss]); // (Q16*Q17)>>16 = Q17, with 1/2… in WebRtcIsacfix_DecodeLpcCoef()
943 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 in WebRtcIsacfix_DecodeLpcCoef()
944 LPCCoefQ17[pos] = tmp32; in WebRtcIsacfix_DecodeLpcCoef()
949tmp32 = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_32_RSFT16(18204, tmpcoeffs_sQ17[poss]), 3); // ((Q… in WebRtcIsacfix_DecodeLpcCoef()
950 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 in WebRtcIsacfix_DecodeLpcCoef()
951 LPCCoefQ17[pos] = tmp32; in WebRtcIsacfix_DecodeLpcCoef()
982 WebRtc_Word32 tmp32; in EstCodeLpcCoef() local
1018 tmp32 = LPCCoefQ17[pos] - WebRtcIsacfix_kMeansShapeQ17[0][poss]; //Q17 in EstCodeLpcCoef()
1019 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(17203, tmp32<<3); // tmp32 = 2.1*tmp32 in EstCodeLpcCoef()
[all …]
/external/webrtc/src/common_audio/signal_processing/
Dlpc_to_refl_coef.c25 WebRtc_Word32 tmp32[SPL_LPC_TO_REFL_COEF_MAX_AR_MODEL_ORDER]; in WebRtcSpl_LpcToReflCoef() local
42 tmp32[k] = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)a16[k], 16) in WebRtcSpl_LpcToReflCoef()
45 tmp32[k] = WebRtcSpl_DivW32W16(tmp32[k], tmp_inv_denom16); //Q28/Q15 = Q13 in WebRtcSpl_LpcToReflCoef()
50 a16[k] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32[k], 1); //Q13>>1 => Q12 in WebRtcSpl_LpcToReflCoef()
53 tmp32[m] = WEBRTC_SPL_SAT(8191, tmp32[m], -8191); in WebRtcSpl_LpcToReflCoef()
54 k16[m - 1] = (WebRtc_Word16)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15 in WebRtcSpl_LpcToReflCoef()
Dcomplex_fft.c292 WebRtc_Word32 tmp32, round2; in WebRtcSpl_ComplexIFFT() local
313 tmp32 = (WebRtc_Word32)WebRtcSpl_MaxAbsValueW16(frfi, 2 * n); in WebRtcSpl_ComplexIFFT()
314 if (tmp32 > 13573) in WebRtcSpl_ComplexIFFT()
320 if (tmp32 > 27146) in WebRtcSpl_ComplexIFFT()
/external/webrtc/src/common_audio/vad/
Dvad_gmm.c35 int32_t tmp32; in WebRtcVad_GaussianProbability() local
40 tmp32 = (int32_t) 131072 + (int32_t) (std >> 1); in WebRtcVad_GaussianProbability()
41 inv_std = (int16_t) WebRtcSpl_DivW32W16(tmp32, std); in WebRtcVad_GaussianProbability()
62 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT(*delta, tmp16, 9); in WebRtcVad_GaussianProbability()
67 if (tmp32 < kCompVar) { in WebRtcVad_GaussianProbability()
70 tmp16 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLog2Exp, (int16_t) tmp32, 12); in WebRtcVad_GaussianProbability()
Dvad_filterbank.c43 int32_t tmp32 = 0; in WebRtcVad_HpOutput() local
56 tmp32 = (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[0], (*in_ptr)); in WebRtcVad_HpOutput()
57 tmp32 += (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[1], filter_state[0]); in WebRtcVad_HpOutput()
58 tmp32 += (int32_t) WEBRTC_SPL_MUL_16_16(kHpZeroCoefs[2], in WebRtcVad_HpOutput()
64 tmp32 -= (int32_t) WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[1], in WebRtcVad_HpOutput()
66 tmp32 -= (int32_t) WEBRTC_SPL_MUL_16_16(kHpPoleCoefs[2], filter_state[3]); in WebRtcVad_HpOutput()
68 filter_state[2] = (int16_t) WEBRTC_SPL_RSHIFT_W32 (tmp32, 14); in WebRtcVad_HpOutput()
86 int32_t tmp32 = 0, in32 = 0; in WebRtcVad_Allpass() local
90 tmp32 = state32 + WEBRTC_SPL_MUL_16_16(filter_coefficients, (*in_vector)); in WebRtcVad_Allpass()
91 tmp16 = (int16_t) WEBRTC_SPL_RSHIFT_W32(tmp32, 16); in WebRtcVad_Allpass()
Dvad_sp.c68 int32_t tmp32 = 0; in WebRtcVad_FindMinimum() local
175 tmp32 = WEBRTC_SPL_MUL_16_16(alpha + 1, self->mean_value[channel]); in WebRtcVad_FindMinimum()
176 tmp32 += WEBRTC_SPL_MUL_16_16(WEBRTC_SPL_WORD16_MAX - alpha, current_median); in WebRtcVad_FindMinimum()
177 tmp32 += 16384; in WebRtcVad_FindMinimum()
178 self->mean_value[channel] = (int16_t) (tmp32 >> 15); in WebRtcVad_FindMinimum()
/external/speex/libspeex/
Dmdf.c706 spx_word32_t tmp32; in speex_echo_cancellation() local
730 spx_word32_t tmp32; in speex_echo_cancellation() local
732tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->… in speex_echo_cancellation()
734 if (tmp32 > 32767) in speex_echo_cancellation()
736 tmp32 = 32767; in speex_echo_cancellation()
740 if (tmp32 < -32767) in speex_echo_cancellation()
742 tmp32 = -32767; in speex_echo_cancellation()
748 st->input[chan*st->frame_size+i] = EXTRACT16(tmp32); in speex_echo_cancellation()
756 spx_word32_t tmp32; in speex_echo_cancellation() local
758tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak]))); in speex_echo_cancellation()
[all …]
/external/openssl/crypto/sha/asm/
Dsha512-sparcv9.pl117 $tmp32="%i5";
131 subcc %g0,$tmp31,$tmp32 ! should be 64-$tmp31, but -$tmp31 works too
141 srlx @X[$j+1],$tmp32,$tmp1
147 srlx $T1,$tmp32,$T1
180 srlx @pair[2],$tmp32,@pair[1]
198 srlx @pair[2],$tmp32,@pair[1]
270 $xi=$tmp32;
288 $xi=$tmp32;
470 mov 32,$tmp32
471 sub $tmp32,$tmp31,$tmp32
/external/webrtc/src/modules/audio_processing/ns/
Dnsx_core.c621 int32_t tmp32 = 0; in DenormalizeC() local
623 tmp32 = WEBRTC_SPL_SHIFT_W32((WebRtc_Word32)in[j], in DenormalizeC()
625 inst->real[i] = WebRtcSpl_SatW32ToW16(tmp32); // Q0 in DenormalizeC()
637 int32_t tmp32 = 0; in SynthesisUpdateC() local
643 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(tmp16a, gain_factor, 13); // Q0 in SynthesisUpdateC()
645 tmp16b = WebRtcSpl_SatW32ToW16(tmp32); // Q0 in SynthesisUpdateC()
933 WebRtc_Word32 tmp32; in WebRtcNsx_FeatureParameterExtraction() local
985 tmp32 = WEBRTC_SPL_MUL_16_16(inst->histLrt[i], j); in WebRtcNsx_FeatureParameterExtraction()
986 avgHistLrtFX += tmp32; in WebRtcNsx_FeatureParameterExtraction()
988 avgSquareHistLrtFX += WEBRTC_SPL_MUL_32_16(tmp32, j); in WebRtcNsx_FeatureParameterExtraction()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dint-fp-conv-1.ll10 %tmp32 = add i64 %tmp282930, 0 ; <i64> [#uses=1]
11 ret i64 %tmp32
Ditofp128.ll12 %tmp32 = add i128 %tmp282930, 0 ; <i128> [#uses=1]
13 ret i128 %tmp32
/external/llvm/test/Transforms/IndVarSimplify/
Dpolynomial-expand.ll21 %tmp32 = phi i32 [ %tmp37, %bb30 ], [ %tmp27, %bb24 ] ; <i32> [#uses=2]
22 %tmp33 = sext i32 %tmp32 to i64 ; <i64> [#uses=1]
25 %tmp37 = add nsw i32 %tmp32, -1 ; <i32> [#uses=1]
/external/llvm/test/Analysis/BasicAA/
D2010-09-15-GEP-SignedArithmetic.ll10 %tmp32 = add i32 %tmp31, 30
11 %t.5 = getelementptr i32* %tab, i32 %tmp32
/external/llvm/test/CodeGen/X86/
Dmul-legalize.ll13 %tmp32 = icmp eq i64 %tmp7, 105553116266496
14 br i1 %tmp32, label %return, label %bb35
D2008-02-06-LoadFoldingBug.ll12 %tmp32 = fsub double -0.000000e+00, %tmp20 ; <double> [#uses=1]
16 store double %tmp32, double* %tmp40, align 8
D2007-10-17-IllegalAsm.ll36 %tmp32 = load i32* null, align 8 ; <i32> [#uses=3]
37 %tmp3435 = trunc i32 %tmp32 to i8 ; <i8> [#uses=1]
42 %tmp65 = and i32 %tmp32, 255 ; <i32> [#uses=1]
80 %tmp547 = and i32 %tmp32, -8193 ; <i32> [#uses=1]
/external/llvm/test/Transforms/InstCombine/
D2012-06-06-LoadOfPHIs.ll78 %tmp32 = load double* %max.0
79 %tmp33 = fcmp oeq double %tmp31, %tmp32
89 %tmp37 = fsub double %tmp32, %tmp31
93 %tmp39 = fadd double %tmp32, %tmp31
99 %tmp42 = fsub double 2.000000e+00, %tmp32
Dtrunc.ll88 %tmp32 = zext i32 %B to i128
89 %tmp33 = shl i128 %tmp32, 32
95 ; CHECK: %tmp32 = zext i32 %B to i64
96 ; CHECK: %tmp33 = shl nuw i64 %tmp32, 32
/external/llvm/test/Object/Inputs/
Dshared.ll6 ; llc -mtriple=i386-linux-gnu shared.ll -filetype=obj -o tmp32.o -relocation-model=pic
7 ; ld -melf_i386 -shared tmp32.o -o shared-object-test.elf-i386 $LDARGS
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.c565 WebRtc_Word32 tmp32 = PART_LEN1 * PART_LEN1; in WebRtcAecm_InitCore() local
636 aecm->noiseEst[i] = (tmp32 << 8); in WebRtcAecm_InitCore()
638 tmp32 -= (WebRtc_Word32)((tmp16 << 1) + 1); in WebRtcAecm_InitCore()
642 aecm->noiseEst[i] = (tmp32 << 8); in WebRtcAecm_InitCore()
1035 WebRtc_Word32 tmp32; in WebRtcAecm_CalcStepSize() local
1053 tmp32 = WEBRTC_SPL_MUL_16_16(tmp16, MU_DIFF); in WebRtcAecm_CalcStepSize()
1054 tmp32 = WebRtcSpl_DivW32W16(tmp32, aecm->farEnergyMaxMin); in WebRtcAecm_CalcStepSize()
1055 mu = MU_MIN - 1 - (WebRtc_Word16)(tmp32); in WebRtcAecm_CalcStepSize()
1924 WebRtc_Word32 tmp32; in ComfortNoise() local
1953 tmp32 = (WebRtc_Word32)dfa[i]; in ComfortNoise()
[all …]

123