Home
last modified time | relevance | path

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

12

/external/webrtc/modules/audio_coding/neteq/
Dtime_stretch.cc82 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - in Process()
83 WebRtcSpl_NormW32(static_cast<int32_t>(peak_index)); in Process()
113 int energy1_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec1_energy)); in Process()
114 int energy2_scale = std::max(0, 16 - WebRtcSpl_NormW32(vec2_energy)); in Process()
169 int scaling = std::max(0, 17 - WebRtcSpl_NormW32(max_corr)); in AutoCorrelation()
195 int right_scale = 16 - WebRtcSpl_NormW32(right_side); in SpeechDetection()
204 if (WebRtcSpl_NormW32(left_side) < 2 * scaling) { in SpeechDetection()
206 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.cc51 const int fs_shift = 30 - WebRtcSpl_NormW32(fs_mult); in Process()
79 int scaling = 6 + fs_shift - WebRtcSpl_NormW32(decoded_max * decoded_max); in Process()
94 scaling = WebRtcSpl_NormW32(energy) - 16; in Process()
Dmerge.cc219 const int expanded_shift = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in SignalScaling()
227 const int input_shift = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in SignalScaling()
242 int16_t temp_shift = WebRtcSpl_NormW32(energy_input) - 17; in SignalScaling()
337 int norm_shift = std::max(0, 17 - WebRtcSpl_NormW32(max_correlation)); in CorrelateAndPeakSearch()
Dcross_correlation.cc54 const int scaling = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in CrossCorrelationWithAutoShift()
/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlpc_masking_model.c89 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonW32_JSK()
138 Alpha_exp = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonW32_JSK()
179 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonW32_JSK()
248 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonW32_JSK()
508 shift_norm = 32 - WebRtcSpl_NormW32(word32_high); in WebRtcIsacfix_CalculateResidualEnergyC()
515 shift_norm = WebRtcSpl_NormW32(word32_low); in WebRtcIsacfix_CalculateResidualEnergyC()
646 sh_lo = WebRtcSpl_NormW32(corrloQQ[0]); in WebRtcIsacfix_GetLpcCoef()
657 sh_hi = WebRtcSpl_NormW32(corrhiQQ[0]); in WebRtcIsacfix_GetLpcCoef()
717 shMem=WebRtcSpl_NormW32(maskdata->CorrBufLoQQ[n]); in WebRtcIsacfix_GetLpcCoef()
766 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()
Dtransform.c63 sh = WebRtcSpl_NormW32(xrQ16); in WebRtcIsacfix_Time2SpecC()
160 sh = WebRtcSpl_NormW32(tmpInRe); in WebRtcIsacfix_Spec2TimeC()
Dlattice.c133 gain_sh = WebRtcSpl_NormW32(gain32); in WebRtcIsacfix_NormLatticeFilterMa()
273 sh = WebRtcSpl_NormW32(tmp32); // tmp32 is the gain in WebRtcIsacfix_NormLatticeFilterAr()
/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.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.c159 scale1=(int16_t)WebRtcSpl_NormW32(tmp2W32)-16; in WebRtcIlbcfix_DoThePlc()
162 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