/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | time_stretch.cc | 81 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - in Process() 82 WebRtcSpl_NormW32(static_cast<int32_t>(peak_index)); in Process() 112 int energy1_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec1_energy)); in Process() 113 int energy2_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec2_energy)); in Process() 162 int scaling = kLogCorrelationLen - WebRtcSpl_NormW32( in AutoCorrelation() 174 scaling = std::max(0, 17 - WebRtcSpl_NormW32(max_corr)); in AutoCorrelation() 197 int right_scale = 16 - WebRtcSpl_NormW32(right_side); in SpeechDetection() 206 if (WebRtcSpl_NormW32(left_side) < 2 * scaling) { in SpeechDetection() 208 int temp_scale = WebRtcSpl_NormW32(left_side); in SpeechDetection()
|
D | expand.cc | 216 (31 - WebRtcSpl_NormW32(rtc::checked_cast<int32_t>(max_lag_))) - 5; in Process() 410 distortion_scale = std::max(16 - WebRtcSpl_NormW32(best_distortion_w32[i]), in AnalyzeSignal() 458 correlation_scale = (31 - WebRtcSpl_NormW32(signal_max * signal_max)) + in AnalyzeSignal() 459 (31 - WebRtcSpl_NormW32(static_cast<int32_t>(correlation_length))) - 31; in AnalyzeSignal() 489 int energy1_scale = std::max(16 - WebRtcSpl_NormW32(energy1), 0); in AnalyzeSignal() 490 int energy2_scale = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal() 527 int32_t scaled_energy2 = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal() 590 correlation_scale = std::min(16 - WebRtcSpl_NormW32(correlation_scale), 0); in AnalyzeSignal() 677 int16_t unvoiced_scale = WebRtcSpl_NormW32(unvoiced_energy) - 3; in AnalyzeSignal() 812 int16_t norm_shift = 16 - WebRtcSpl_NormW32(max_value); in Correlation() [all …]
|
D | merge.cc | 217 int log_fs_mult = 30 - WebRtcSpl_NormW32(fs_mult_); in SignalScaling() 219 - WebRtcSpl_NormW32(*expanded_max * *expanded_max); in SignalScaling() 228 WebRtcSpl_NormW32(*input_max * *input_max); in SignalScaling() 245 int16_t temp_shift = WebRtcSpl_NormW32(energy_input) - 17; in SignalScaling() 336 int norm_shift = std::max(0, 17 - WebRtcSpl_NormW32(max_correlation)); in CorrelateAndPeakSearch()
|
D | normal.cc | 53 const int fs_shift = 30 - WebRtcSpl_NormW32(fs_mult); in Process() 82 - WebRtcSpl_NormW32(decoded_max * decoded_max); in Process() 98 scaling = WebRtcSpl_NormW32(energy) - 16; in Process()
|
D | background_noise.cc | 174 WebRtcSpl_NormW32(signal_max * signal_max); in CalculateAutoCorrelation() 245 int16_t norm_shift = WebRtcSpl_NormW32(residual_energy) - 1; in SaveParameters()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | lpc_masking_model.c | 88 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonW32_JSK() 137 Alpha_exp = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonW32_JSK() 178 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonW32_JSK() 247 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonW32_JSK() 507 shift_norm = 32 - WebRtcSpl_NormW32(word32_high); in WebRtcIsacfix_CalculateResidualEnergyC() 514 shift_norm = WebRtcSpl_NormW32(word32_low); in WebRtcIsacfix_CalculateResidualEnergyC() 645 sh_lo = WebRtcSpl_NormW32(corrloQQ[0]); in WebRtcIsacfix_GetLpcCoef() 656 sh_hi = WebRtcSpl_NormW32(corrhiQQ[0]); in WebRtcIsacfix_GetLpcCoef() 716 shMem=WebRtcSpl_NormW32(maskdata->CorrBufLoQQ[n]); in WebRtcIsacfix_GetLpcCoef() 765 shMem=WebRtcSpl_NormW32(maskdata->CorrBufHiQQ[n]); in WebRtcIsacfix_GetLpcCoef() [all …]
|
D | lpc_masking_model_mips.c | 204 shift_norm = 32 - WebRtcSpl_NormW32(word32_high); in WebRtcIsacfix_CalculateResidualEnergyMIPS() 225 shift_norm = WebRtcSpl_NormW32(word32_low); in WebRtcIsacfix_CalculateResidualEnergyMIPS()
|
D | transform.c | 62 sh = WebRtcSpl_NormW32(xrQ16); in WebRtcIsacfix_Time2SpecC() 159 sh = WebRtcSpl_NormW32(tmpInRe); in WebRtcIsacfix_Spec2TimeC()
|
D | lattice.c | 132 gain_sh = WebRtcSpl_NormW32(gain32); in WebRtcIsacfix_NormLatticeFilterMa() 267 sh = WebRtcSpl_NormW32(tmp32); // tmp32 is the gain in WebRtcIsacfix_NormLatticeFilterAr()
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | levinson_durbin.c | 42 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonDurbin() 94 Alpha_exp = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin() 135 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonDurbin() 212 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin()
|
D | signal_processing_unittest.cc | 100 EXPECT_EQ(0, WebRtcSpl_NormW32(0)); in TEST_F() 101 EXPECT_EQ(31, WebRtcSpl_NormW32(-1)); in TEST_F() 102 EXPECT_EQ(0, WebRtcSpl_NormW32(WEBRTC_SPL_WORD32_MIN)); in TEST_F() 103 EXPECT_EQ(14, WebRtcSpl_NormW32(a32)); in TEST_F()
|
D | get_scaling_square.c | 37 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
|
D | auto_correlation.c | 38 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_AutoCorrelation()
|
D | spl_sqrt.c | 145 sh = WebRtcSpl_NormW32(A); // # shifts to normalize A in WebRtcSpl_Sqrt()
|
D | auto_corr_to_refl_coef.c | 38 tmp = WebRtcSpl_NormW32(*R); in WebRtcSpl_AutoCorrToReflCoef()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | cb_mem_energy.c | 55 energyShifts[0] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy() 71 energyShifts[base_size] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy()
|
D | xcorr_coef.c | 89 crossCorrScale=(int16_t)WebRtcSpl_NormW32(crossCorr)-16; in WebRtcIlbcfix_XcorrCoef() 91 Energyscale=(int16_t)WebRtcSpl_NormW32(Energy)-16; in WebRtcIlbcfix_XcorrCoef()
|
D | cb_mem_energy_calc.c | 59 shft = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyCalc()
|
D | window32_w32.c | 36 left_shifts = (int16_t)WebRtcSpl_NormW32(x[0]); in WebRtcIlbcfix_Window32W32()
|
D | cb_update_best_index.c | 56 tmp16 = (int16_t)WebRtcSpl_NormW32(cDotNew); in WebRtcIlbcfix_CbUpdateBestIndex()
|
D | do_plc.c | 156 scale1=(int16_t)WebRtcSpl_NormW32(tmp2W32)-16; in WebRtcIlbcfix_DoThePlc() 159 scale2=(int16_t)WebRtcSpl_NormW32(ener)-16; in WebRtcIlbcfix_DoThePlc()
|
D | cb_mem_energy_augmentation.c | 61 (*enShPtr) = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyAugmentation()
|
D | cb_search_core.c | 59 sh = (int16_t)WebRtcSpl_NormW32(maxW32); in WebRtcIlbcfix_CbSearchCore()
|
D | enhancer_interface.c | 258 scale=22-(int16_t)WebRtcSpl_NormW32(max); in WebRtcIlbcfix_EnhancerInterface() 274 scale1=(int16_t)WebRtcSpl_NormW32(tmp1); in WebRtcIlbcfix_EnhancerInterface()
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 196 zeros = WebRtcSpl_NormW32(numFIX); in WebRtcAgc_CalculateGainTable() 199 zeros = WebRtcSpl_NormW32(den) + 8; in WebRtcAgc_CalculateGainTable() 528 zeros = 16 - WebRtcSpl_NormW32(gains[k + 1]); in WebRtcAgc_ProcessDigital()
|