Home
last modified time | relevance | path

Searched refs:WebRtcSpl_NormW32 (Results 1 – 25 of 40) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc81 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()
Dexpand.cc216 (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 …]
Dmerge.cc217 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()
Dnormal.cc53 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()
Dbackground_noise.cc174 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/
Dlpc_masking_model.c88 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 …]
Dlpc_masking_model_mips.c204 shift_norm = 32 - WebRtcSpl_NormW32(word32_high); in WebRtcIsacfix_CalculateResidualEnergyMIPS()
225 shift_norm = WebRtcSpl_NormW32(word32_low); in WebRtcIsacfix_CalculateResidualEnergyMIPS()
Dlattice.c132 gain_sh = WebRtcSpl_NormW32(gain32); in WebRtcIsacfix_NormLatticeFilterMa()
267 sh = WebRtcSpl_NormW32(tmp32); // tmp32 is the gain in WebRtcIsacfix_NormLatticeFilterAr()
Dtransform.c62 sh = WebRtcSpl_NormW32(xrQ16); in WebRtcIsacfix_Time2SpecC()
159 sh = WebRtcSpl_NormW32(tmpInRe); in WebRtcIsacfix_Spec2TimeC()
/external/webrtc/webrtc/common_audio/signal_processing/
Dlevinson_durbin.c42 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()
Dget_scaling_square.c37 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
Dsignal_processing_unittest.cc100 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()
Dauto_correlation.c38 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_AutoCorrelation()
Dauto_corr_to_refl_coef.c38 tmp = WebRtcSpl_NormW32(*R); in WebRtcSpl_AutoCorrToReflCoef()
Dspl_sqrt.c145 sh = WebRtcSpl_NormW32(A); // # shifts to normalize A in WebRtcSpl_Sqrt()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_mem_energy.c55 energyShifts[0] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy()
71 energyShifts[base_size] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy()
Dxcorr_coef.c89 crossCorrScale=(int16_t)WebRtcSpl_NormW32(crossCorr)-16; in WebRtcIlbcfix_XcorrCoef()
91 Energyscale=(int16_t)WebRtcSpl_NormW32(Energy)-16; in WebRtcIlbcfix_XcorrCoef()
Dcb_mem_energy_calc.c59 shft = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyCalc()
Dwindow32_w32.c36 left_shifts = (int16_t)WebRtcSpl_NormW32(x[0]); in WebRtcIlbcfix_Window32W32()
Dcb_update_best_index.c56 tmp16 = (int16_t)WebRtcSpl_NormW32(cDotNew); in WebRtcIlbcfix_CbUpdateBestIndex()
Dcb_mem_energy_augmentation.c61 (*enShPtr) = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyAugmentation()
Ddo_plc.c156 scale1=(int16_t)WebRtcSpl_NormW32(tmp2W32)-16; in WebRtcIlbcfix_DoThePlc()
159 scale2=(int16_t)WebRtcSpl_NormW32(ener)-16; in WebRtcIlbcfix_DoThePlc()
Dcb_search_core.c59 sh = (int16_t)WebRtcSpl_NormW32(maxW32); in WebRtcIlbcfix_CbSearchCore()
Denhancer_interface.c258 scale=22-(int16_t)WebRtcSpl_NormW32(max); in WebRtcIlbcfix_EnhancerInterface()
274 scale1=(int16_t)WebRtcSpl_NormW32(tmp1); in WebRtcIlbcfix_EnhancerInterface()
Dpoly_to_lsp.c121 shifts = (int16_t)WebRtcSpl_NormW32(y)-16; in WebRtcIlbcfix_Poly2Lsp()

12