Home
last modified time | relevance | path

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

12

/external/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc83 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - in Process()
84 WebRtcSpl_NormW32(static_cast<int32_t>(peak_index)); in Process()
114 int energy1_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec1_energy)); in Process()
115 int energy2_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec2_energy)); in Process()
170 int scaling = std::max(0, 17 - WebRtcSpl_NormW32(max_corr)); in AutoCorrelation()
196 int right_scale = 16 - WebRtcSpl_NormW32(right_side); in SpeechDetection()
205 if (WebRtcSpl_NormW32(left_side) < 2 * scaling) { in SpeechDetection()
207 int temp_scale = WebRtcSpl_NormW32(left_side); in SpeechDetection()
Dexpand.cc226 (31 - WebRtcSpl_NormW32(rtc::dchecked_cast<int32_t>(max_lag_))) - 5; in Process()
430 distortion_scale = std::max(16 - WebRtcSpl_NormW32(best_distortion_w32[i]), in AnalyzeSignal()
486 (31 - WebRtcSpl_NormW32(signal_max * signal_max)) + in AnalyzeSignal()
487 (31 - WebRtcSpl_NormW32(static_cast<int32_t>(correlation_length))) - 31; in AnalyzeSignal()
517 int energy1_scale = std::max(16 - WebRtcSpl_NormW32(energy1), 0); in AnalyzeSignal()
518 int energy2_scale = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal()
555 int32_t scaled_energy2 = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal()
698 int16_t unvoiced_scale = WebRtcSpl_NormW32(unvoiced_energy) - 3; in AnalyzeSignal()
832 int16_t norm_shift = 16 - WebRtcSpl_NormW32(max_value); in Correlation()
847 std::max(18 - WebRtcSpl_NormW32(max_correlation), 0)); in Correlation()
Dnormal.cc50 const int fs_shift = 30 - WebRtcSpl_NormW32(fs_mult); in Process()
85 int scaling = 6 + fs_shift - WebRtcSpl_NormW32(decoded_max * decoded_max); in Process()
100 scaling = WebRtcSpl_NormW32(energy) - 16; in Process()
Dmerge.cc221 const int expanded_shift = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in SignalScaling()
229 const int input_shift = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in SignalScaling()
244 int16_t temp_shift = WebRtcSpl_NormW32(energy_input) - 17; in SignalScaling()
339 int norm_shift = std::max(0, 17 - WebRtcSpl_NormW32(max_correlation)); in CorrelateAndPeakSearch()
Dcross_correlation.cc46 const int scaling = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in CrossCorrelationWithAutoShift()
/external/webrtc/common_audio/signal_processing/
Dlevinson_durbin.c44 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonDurbin()
97 Alpha_exp = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin()
138 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonDurbin()
215 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin()
Dget_scaling_square.c37 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
Dauto_correlation.c38 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_AutoCorrelation()
Dsignal_processing_unittest.cc98 EXPECT_EQ(0, WebRtcSpl_NormW32(0)); in TEST()
99 EXPECT_EQ(31, WebRtcSpl_NormW32(-1)); in TEST()
100 EXPECT_EQ(0, WebRtcSpl_NormW32(WEBRTC_SPL_WORD32_MIN)); in TEST()
101 EXPECT_EQ(14, WebRtcSpl_NormW32(a32)); in TEST()
Dauto_corr_to_refl_coef.c38 tmp = WebRtcSpl_NormW32(*R); in WebRtcSpl_AutoCorrToReflCoef()
Dspl_sqrt.c155 sh = WebRtcSpl_NormW32(A); // # shifts to normalize A in WebRtcSpl_Sqrt()
/external/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_mem_energy.c57 energyShifts[0] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy()
73 energyShifts[base_size] = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergy()
Dxcorr_coef.c91 crossCorrScale=(int16_t)WebRtcSpl_NormW32(crossCorr)-16; in WebRtcIlbcfix_XcorrCoef()
93 Energyscale=(int16_t)WebRtcSpl_NormW32(Energy)-16; in WebRtcIlbcfix_XcorrCoef()
Denhancer_interface.c213 shifts = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in WebRtcIlbcfix_EnhancerInterface()
263 scale=22-(int16_t)WebRtcSpl_NormW32(max); in WebRtcIlbcfix_EnhancerInterface()
279 scale1=(int16_t)WebRtcSpl_NormW32(tmp1); in WebRtcIlbcfix_EnhancerInterface()
Dcb_mem_energy_calc.c61 shft = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyCalc()
Dwindow32_w32.c38 left_shifts = (int16_t)WebRtcSpl_NormW32(x[0]); in WebRtcIlbcfix_Window32W32()
Dcb_update_best_index.c57 tmp16 = (int16_t)WebRtcSpl_NormW32(cDotNew); in WebRtcIlbcfix_CbUpdateBestIndex()
Dcb_mem_energy_augmentation.c63 (*enShPtr) = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyAugmentation()
Ddo_plc.c161 scale1=(int16_t)WebRtcSpl_NormW32(tmp2W32)-16; in WebRtcIlbcfix_DoThePlc()
164 scale2=(int16_t)WebRtcSpl_NormW32(ener)-16; in WebRtcIlbcfix_DoThePlc()
Dcb_search_core.c61 sh = (int16_t)WebRtcSpl_NormW32(maxW32); in WebRtcIlbcfix_CbSearchCore()
Dpoly_to_lsp.c122 shifts = (int16_t)WebRtcSpl_NormW32(y)-16; in WebRtcIlbcfix_Poly2Lsp()
Dcb_search.c362 temp1 = (int16_t)WebRtcSpl_NormW32(codedEner); in WebRtcIlbcfix_CbSearch()
363 temp2 = (int16_t)WebRtcSpl_NormW32(targetEner); in WebRtcIlbcfix_CbSearch()
/external/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.cc190 zeros = WebRtcSpl_NormW32(numFIX); in WebRtcAgc_CalculateGainTable()
192 zeros = WebRtcSpl_NormW32(den) + 8; in WebRtcAgc_CalculateGainTable()
446 zeros = 16 - WebRtcSpl_NormW32(gains[k + 1]); in WebRtcAgc_ComputeDigitalGains()
/external/webrtc/common_audio/signal_processing/include/
Dspl_inl_armv7.h89 static __inline int16_t WebRtcSpl_NormW32(int32_t a) { in WebRtcSpl_NormW32() function
Dspl_inl.h131 static __inline int16_t WebRtcSpl_NormW32(int32_t a) { in WebRtcSpl_NormW32() function

12