Home
last modified time | relevance | path

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

12345678910

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c70 int32_t tmp32, tmp32no1, tmp32no2, numFIX, den, y32; in WebRtcAgc_CalculateGainTable() local
142 tmp32 = WEBRTC_SPL_MUL_16_U16(tmp16, kLog10_2) + 1; // Q14 in WebRtcAgc_CalculateGainTable()
143 inLevel = WebRtcSpl_DivW32W16(tmp32, kCompRatio); // Q14 in WebRtcAgc_CalculateGainTable()
215 tmp32 = WEBRTC_SPL_MUL_16_U16(i - 1, kLog10_2); // Q14 in WebRtcAgc_CalculateGainTable()
216 tmp32 -= limiterLvl << 14; // Q14 in WebRtcAgc_CalculateGainTable()
217 y32 = WebRtcSpl_DivW32W16(tmp32 + 10, 20); in WebRtcAgc_CalculateGainTable()
221 tmp32 = (y32 >> 1) * kLog10 + 4096; // in Q27 in WebRtcAgc_CalculateGainTable()
222 tmp32 >>= 13; // In Q14. in WebRtcAgc_CalculateGainTable()
225 tmp32 = y32 * kLog10 + 8192; // in Q28 in WebRtcAgc_CalculateGainTable()
226 tmp32 >>= 14; // In Q14. in WebRtcAgc_CalculateGainTable()
[all …]
Danalog_agc.c118 int32_t nrg, max_nrg, sample, tmp32; in WebRtcAgc_AddMic() local
147 tmp32 = (GAIN_TBL_LEN - 1) * tmp16; in WebRtcAgc_AddMic()
149 targetGainIdx = tmp32 / tmp16; in WebRtcAgc_AddMic()
503 int32_t tmp32 = 0; in WebRtcAgc_ZeroCtrl() local
509 tmp32 += env[i]; in WebRtcAgc_ZeroCtrl()
515 if (tmp32 < 500) in WebRtcAgc_ZeroCtrl()
570 int32_t tmp32; in WebRtcAgc_SpeakerInactiveCtrl() local
586 tmp32 = vadThresh + 31 * stt->vadThreshold; in WebRtcAgc_SpeakerInactiveCtrl()
587 stt->vadThreshold = (int16_t)(tmp32 >> 5); in WebRtcAgc_SpeakerInactiveCtrl()
647 int32_t Rxx16w32, tmp32; in WebRtcAgc_ProcessAnalog() local
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlattice.c110 int32_t tmp32, tmp32b; in WebRtcIsacfix_NormLatticeFilterMa() local
159 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT15(sthQ15[i-1], stateGQ15[i-1]);//Q15*Q15>>15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa()
160 tmp32b= fQtmp + tmp32; //Q15+Q15=Q15 in WebRtcIsacfix_NormLatticeFilterMa()
161 tmp32 = inv_cthQ16[i-1]; //Q16 in WebRtcIsacfix_NormLatticeFilterMa()
162 t16a = (int16_t)(tmp32 >> 16); in WebRtcIsacfix_NormLatticeFilterMa()
163 t16b = (int16_t)(tmp32 - (t16a << 16)); in WebRtcIsacfix_NormLatticeFilterMa()
165 tmp32 = LATTICE_MUL_32_32_RSFT16(t16a, t16b, tmp32b); in WebRtcIsacfix_NormLatticeFilterMa()
166 fQtmp = tmp32; // Q15 in WebRtcIsacfix_NormLatticeFilterMa()
169 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT15(cthQ15[i-1], stateGQ15[i-1]); //Q15*Q15>>15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa()
171 tmp32 = tmp32 + tmp32b;//Q15+Q15 = Q15 in WebRtcIsacfix_NormLatticeFilterMa()
[all …]
Dlpc_masking_model.c33 int32_t 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] = (int16_t)(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] = (int16_t)(tmp32[m] << 3); // Q12<<3 => Q15 in WebRtcSpl_AToK_JSK()
470 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; in WebRtcIsacfix_CalculateResidualEnergyC() local
481 tmp32 = a_polynomial[j] * a_polynomial[j - i]; in WebRtcIsacfix_CalculateResidualEnergyC()
484 tmp32 <<= 1; in WebRtcIsacfix_CalculateResidualEnergyC()
486 sum64_tmp = (int64_t)tmp32 * (int64_t)corr_coeffs[i]; in WebRtcIsacfix_CalculateResidualEnergyC()
544 int32_t tmp32; in WebRtcIsacfix_GetLpcCoef() local
[all …]
Dlpc_masking_model_mips.c25 int32_t tmp32 = 0, word32_high = 0, word32_low = 0, residual_energy = 0; in WebRtcIsacfix_CalculateResidualEnergyMIPS() local
55 : [tmp2] "=&r" (tmp2), [tmp3] "=&r" (tmp3), [tmp32] "=&r" (tmp32), in WebRtcIsacfix_CalculateResidualEnergyMIPS()
141 : [tmp2] "=&r" (tmp2), [tmp3] "=&r" (tmp3), [tmp32] "=&r" (tmp32), in WebRtcIsacfix_CalculateResidualEnergyMIPS()
Dlattice_c.c34 int32_t tmp32 = 0; in WebRtcIsacfix_FilterArLoop() local
39 tmp32 = (cth_Q15[k - 1] * tmpAR - sth_Q15[k - 1] * ar_g_Q0[k - 1] + in WebRtcIsacfix_FilterArLoop()
43 tmpAR = (int16_t)WebRtcSpl_SatW32ToW16(tmp32); in WebRtcIsacfix_FilterArLoop()
Dentropy_coding.c953 int32_t tmp32; in WebRtcIsacfix_DecodeLpcCoef() local
1037tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(31208, tmpcoeffs_sQ17[poss]); // (Q16*Q17)>>16 = Q17, with 1/2… in WebRtcIsacfix_DecodeLpcCoef()
1038 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 in WebRtcIsacfix_DecodeLpcCoef()
1039 LPCCoefQ17[pos] = tmp32; in WebRtcIsacfix_DecodeLpcCoef()
1045 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(18204, tmpcoeffs_sQ17[poss]) << 3; in WebRtcIsacfix_DecodeLpcCoef()
1046 tmp32 = tmp32 + WebRtcIsacfix_kMeansShapeQ17[model][poss]; // Q17+Q17 = Q17 in WebRtcIsacfix_DecodeLpcCoef()
1047 LPCCoefQ17[pos] = tmp32; in WebRtcIsacfix_DecodeLpcCoef()
1078 int32_t tmp32; in EstCodeLpcCoef() local
1114 tmp32 = LPCCoefQ17[pos] - WebRtcIsacfix_kMeansShapeQ17[0][poss]; //Q17 in EstCodeLpcCoef()
1115 tmp32 = WEBRTC_SPL_MUL_16_32_RSFT16(17203, tmp32<<3); // tmp32 = 2.1*tmp32 in EstCodeLpcCoef()
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dlpc_to_refl_coef.c25 int32_t tmp32[SPL_LPC_TO_REFL_COEF_MAX_AR_MODEL_ORDER]; in WebRtcSpl_LpcToReflCoef() local
42 tmp32[k] = (a16[k] << 16) - (k16[m] * a16[m - k + 1] << 1); in WebRtcSpl_LpcToReflCoef()
44 tmp32[k] = WebRtcSpl_DivW32W16(tmp32[k], tmp_inv_denom16); //Q28/Q15 = Q13 in WebRtcSpl_LpcToReflCoef()
49 a16[k] = (int16_t)(tmp32[k] >> 1); // Q13>>1 => Q12 in WebRtcSpl_LpcToReflCoef()
52 tmp32[m] = WEBRTC_SPL_SAT(8191, tmp32[m], -8191); in WebRtcSpl_LpcToReflCoef()
53 k16[m - 1] = (int16_t)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15 in WebRtcSpl_LpcToReflCoef()
/external/u-boot/drivers/pci/
Dpci_ftpci100.c33 unsigned int i, tmp32, bar_no, iovsmem = 1; in setup_pci_bar() local
54 PCI_BASE_ADDRESS_0 + i * 4, &tmp32); in setup_pci_bar()
56 if (tmp32 == 0x0) in setup_pci_bar()
60 if (tmp32 & 0x1) { in setup_pci_bar()
62 unsigned int size_mask = ~(tmp32 & 0xfffffffc); in setup_pci_bar()
83 unsigned int is_64bit = ((tmp32 & 0x6) == 0x4); in setup_pci_bar()
84 unsigned int is_pref = tmp32 & 0x8; in setup_pci_bar()
85 unsigned int size_mask = ~(tmp32 & 0xfffffff0); in setup_pci_bar()
128 pci_hose_read_config_dword(hose, dev_nu, PCI_CACHE_LINE_SIZE, &tmp32); in setup_pci_bar()
130 pci_hose_read_config_dword(hose, dev_nu, PCI_CACHE_LINE_SIZE, &tmp32); in setup_pci_bar()
[all …]
/external/webrtc/webrtc/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 = (*delta * tmp16) >> 9; in WebRtcVad_GaussianProbability()
67 if (tmp32 < kCompVar) { in WebRtcVad_GaussianProbability()
70 tmp16 = (int16_t)((kLog2Exp * tmp32) >> 12); in WebRtcVad_GaussianProbability()
Dvad_filterbank.c46 int32_t tmp32 = 0; in HighPassFilter() local
59 tmp32 = kHpZeroCoefs[0] * *in_ptr; in HighPassFilter()
60 tmp32 += kHpZeroCoefs[1] * filter_state[0]; in HighPassFilter()
61 tmp32 += kHpZeroCoefs[2] * filter_state[1]; in HighPassFilter()
66 tmp32 -= kHpPoleCoefs[1] * filter_state[2]; in HighPassFilter()
67 tmp32 -= kHpPoleCoefs[2] * filter_state[3]; in HighPassFilter()
69 filter_state[2] = (int16_t) (tmp32 >> 14); in HighPassFilter()
94 int32_t tmp32 = 0; in AllPassFilter() local
98 tmp32 = state32 + filter_coefficient * *data_in; in AllPassFilter()
99 tmp16 = (int16_t) (tmp32 >> 16); // Q(-1) in AllPassFilter()
Dvad_sp.c69 int32_t tmp32 = 0; in WebRtcVad_FindMinimum() local
172 tmp32 = (alpha + 1) * self->mean_value[channel]; in WebRtcVad_FindMinimum()
173 tmp32 += (WEBRTC_SPL_WORD16_MAX - alpha) * current_median; in WebRtcVad_FindMinimum()
174 tmp32 += 16384; in WebRtcVad_FindMinimum()
175 self->mean_value[channel] = (int16_t) (tmp32 >> 15); in WebRtcVad_FindMinimum()
/external/libopus/silk/fixed/
Dresidual_energy_FIX.c53 opus_int32 tmp32; in silk_residual_energy_FIX() local
88 tmp32 = silk_LSHIFT32( gains[ i ], lz2 ); in silk_residual_energy_FIX()
91 tmp32 = silk_SMMUL( tmp32, tmp32 ); /* Q( 2 * lz2 - 32 )*/ in silk_residual_energy_FIX()
94 …nrgs[ i ] = silk_SMMUL( tmp32, silk_LSHIFT32( nrgs[ i ], lz1 ) ); /* Q( nrgsQ[ i ] + lz1 + 2 * lz2… in silk_residual_energy_FIX()
Dvector_ops_FIX.c44 opus_int32 tmp32; in silk_scale_copy_vector16() local
47 tmp32 = silk_SMULWB( gain_Q16, data_in[ i ] ); in silk_scale_copy_vector16()
48 data_out[ i ] = (opus_int16)silk_CHECK_FIT16( tmp32 ); in silk_scale_copy_vector16()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core_mips.c1258 int32_t tmp32, tmp321, tnoise, tnoise1; in ComfortNoise() local
1300 : [tmp32] "=&r" (tmp32), [outLShift32] "=r" (outLShift32), in ComfortNoise()
1325 : [tmp32] "=&r" (tmp32), [tnoise] "+r" (tnoise) in ComfortNoise()
1352 : [tnoise] "+r" (tnoise), [tmp32] "=&r" (tmp32) in ComfortNoise()
1378 : [tmp32] "=&r" (tmp32), [dfap] "+r" (dfap), in ComfortNoise()
1402 : [tmp32] "=&r" (tmp32), [tnoise1] "+r" (tnoise1) in ComfortNoise()
1429 : [tnoise1] "+r" (tnoise1), [tmp32] "=&r" (tmp32) in ComfortNoise()
1461 [tmp32] "=&r" (tmp32), [tmp321] "=&r" (tmp321), [lambdap] "+r" (lambdap) in ComfortNoise()
1467 if (tmp32 > 32767) { in ComfortNoise()
1468 tmp32 = 32767; in ComfortNoise()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_mem_energy.c41 int32_t energy, tmp32; in WebRtcIlbcfix_CbMemEnergy() local
56 tmp32 = energy << energyShifts[0]; in WebRtcIlbcfix_CbMemEnergy()
57 energyW16[0] = (int16_t)(tmp32 >> 16); in WebRtcIlbcfix_CbMemEnergy()
72 tmp32 = energy << energyShifts[base_size]; in WebRtcIlbcfix_CbMemEnergy()
73 energyW16[base_size] = (int16_t)(tmp32 >> 16); in WebRtcIlbcfix_CbMemEnergy()
Dcb_mem_energy_augmentation.c30 int32_t energy, tmp32; in WebRtcIlbcfix_CbMemEnergyAugmentation() local
62 tmp32 = energy << *enShPtr; in WebRtcIlbcfix_CbMemEnergyAugmentation()
63 *enPtr = (int16_t)(tmp32 >> 16); in WebRtcIlbcfix_CbMemEnergyAugmentation()
Dcb_search_core.c38 int32_t maxW32, tmp32; in WebRtcIlbcfix_CbSearchCore() local
68 tmp32 = *cDotPtr << sh; in WebRtcIlbcfix_CbSearchCore()
69 tmp16 = (int16_t)(tmp32 >> 16); in WebRtcIlbcfix_CbSearchCore()
/external/libaom/libaom/av1/common/
Dwarped_motion.c487 int32_t tmp32 = *p; in av1_highbd_warp_affine_c() local
489 tmp32 = tmp32 * conv_params->fwd_offset + in av1_highbd_warp_affine_c()
491 tmp32 = tmp32 >> DIST_PRECISION_BITS; in av1_highbd_warp_affine_c()
493 tmp32 += sum; in av1_highbd_warp_affine_c()
494 tmp32 = tmp32 >> 1; in av1_highbd_warp_affine_c()
496 tmp32 = tmp32 - (1 << (offset_bits - conv_params->round_1)) - in av1_highbd_warp_affine_c()
499 clip_pixel_highbd(ROUND_POWER_OF_TWO(tmp32, round_bits), bd); in av1_highbd_warp_affine_c()
775 int32_t tmp32 = *p; in av1_warp_affine_c() local
777 tmp32 = tmp32 * conv_params->fwd_offset + in av1_warp_affine_c()
779 tmp32 = tmp32 >> DIST_PRECISION_BITS; in av1_warp_affine_c()
[all …]
/external/speex/libspeexdsp/
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/u-boot/lib/
Duuid.c147 uint32_t tmp32; in uuid_str_to_bin() local
159 tmp32 = cpu_to_be32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin()
160 memcpy(uuid_bin, &tmp32, 4); in uuid_str_to_bin()
168 tmp32 = cpu_to_le32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin()
169 memcpy(uuid_bin, &tmp32, 4); in uuid_str_to_bin()
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core_c.c31 int32_t invLrtFX, indPriorFX, tmp32, tmp32no1, tmp32no2, besselTmpFX32; in WebRtcNsx_SpeechNoiseProb() local
62 tmp32 = (frac32 * frac32 * -43) >> 19; in WebRtcNsx_SpeechNoiseProb()
63 tmp32 += ((int16_t)frac32 * 5412) >> 12; in WebRtcNsx_SpeechNoiseProb()
64 frac32 = tmp32 + 37; in WebRtcNsx_SpeechNoiseProb()
66 tmp32 = (int32_t)(((31 - zeros) << 12) + frac32) - (11 << 12); // Q12 in WebRtcNsx_SpeechNoiseProb()
67 logTmp = (tmp32 * 178) >> 8; // log2(priorLocSnr[i])*log(2) in WebRtcNsx_SpeechNoiseProb()
Dnsx_core.c481 int32_t tmp32 = 0; in DenormalizeC() local
483 tmp32 = WEBRTC_SPL_SHIFT_W32((int32_t)in[i], in DenormalizeC()
485 inst->real[i] = WebRtcSpl_SatW32ToW16(tmp32); // Q0 in DenormalizeC()
497 int32_t tmp32 = 0; in SynthesisUpdateC() local
503 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(tmp16a, gain_factor, 13); // Q0 in SynthesisUpdateC()
505 tmp16b = WebRtcSpl_SatW32ToW16(tmp32); // Q0 in SynthesisUpdateC()
825 int32_t tmp32; in WebRtcNsx_FeatureParameterExtraction() local
877 tmp32 = inst->histLrt[i] * j; in WebRtcNsx_FeatureParameterExtraction()
878 avgHistLrtFX += tmp32; in WebRtcNsx_FeatureParameterExtraction()
880 avgSquareHistLrtFX += tmp32 * j; in WebRtcNsx_FeatureParameterExtraction()
[all …]
/external/libaom/libaom/aom_dsp/
Dquantize.c59 int tmp32; in quantize_b_adaptive_helper_c() local
67 tmp32 = (int)(((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * in quantize_b_adaptive_helper_c()
70 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in quantize_b_adaptive_helper_c()
75 const tran_low_t abs_dqcoeff = (tmp32 * dequant) >> log_scale; in quantize_b_adaptive_helper_c()
78 if (tmp32) { in quantize_b_adaptive_helper_c()
144 int tmp32; in quantize_b_helper_c() local
152 tmp32 = (int)(((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * in quantize_b_helper_c()
155 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in quantize_b_helper_c()
160 const tran_low_t abs_dqcoeff = (tmp32 * dequant) >> log_scale; in quantize_b_helper_c()
163 if (tmp32) eob = i; in quantize_b_helper_c()
/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]

12345678910