/external/webrtc/modules/audio_coding/neteq/ |
D | time_stretch.cc | 82 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()
|
D | expand.cc | 226 (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()
|
D | normal.cc | 51 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()
|
D | merge.cc | 219 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()
|
D | cross_correlation.cc | 54 const int scaling = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in CrossCorrelationWithAutoShift()
|
/external/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | lpc_masking_model.c | 89 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 …]
|
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 | 63 sh = WebRtcSpl_NormW32(xrQ16); in WebRtcIsacfix_Time2SpecC() 160 sh = WebRtcSpl_NormW32(tmpInRe); in WebRtcIsacfix_Spec2TimeC()
|
D | lattice.c | 133 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/ |
D | levinson_durbin.c | 44 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()
|
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 | signal_processing_unittest.cc | 98 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()
|
D | auto_corr_to_refl_coef.c | 38 tmp = WebRtcSpl_NormW32(*R); in WebRtcSpl_AutoCorrToReflCoef()
|
D | spl_sqrt.c | 155 sh = WebRtcSpl_NormW32(A); // # shifts to normalize A in WebRtcSpl_Sqrt()
|
/external/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 | cb_mem_energy_augmentation.c | 61 (*enShPtr) = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyAugmentation()
|
D | do_plc.c | 159 scale1=(int16_t)WebRtcSpl_NormW32(tmp2W32)-16; in WebRtcIlbcfix_DoThePlc() 162 scale2=(int16_t)WebRtcSpl_NormW32(ener)-16; in WebRtcIlbcfix_DoThePlc()
|
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()
|
D | poly_to_lsp.c | 121 shifts = (int16_t)WebRtcSpl_NormW32(y)-16; in WebRtcIlbcfix_Poly2Lsp()
|