Home
last modified time | relevance | path

Searched refs:power_spectrum (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/modules/audio_processing/aec3/
Dreverb_model.cc33 rtc::ArrayView<const float> power_spectrum, in UpdateReverbNoFreqShaping() argument
38 for (size_t k = 0; k < power_spectrum.size(); ++k) { in UpdateReverbNoFreqShaping()
39 reverb_[k] = (reverb_[k] + power_spectrum[k] * power_spectrum_scaling) * in UpdateReverbNoFreqShaping()
46 rtc::ArrayView<const float> power_spectrum, in UpdateReverb() argument
51 for (size_t k = 0; k < power_spectrum.size(); ++k) { in UpdateReverb()
53 (reverb_[k] + power_spectrum[k] * power_spectrum_scaling[k]) * in UpdateReverb()
Dfft_data.h45 rtc::ArrayView<float> power_spectrum) const { in Spectrum()
46 RTC_DCHECK_EQ(kFftLengthBy2Plus1, power_spectrum.size()); in Spectrum()
58 _mm_storeu_ps(&power_spectrum[k], rrii); in Spectrum()
60 power_spectrum[kFftLengthBy2] = re[kFftLengthBy2] * re[kFftLengthBy2] + in Spectrum()
65 std::transform(re.begin(), re.end(), im.begin(), power_spectrum.begin(), in Spectrum()
Dreverb_model.h42 void UpdateReverbNoFreqShaping(rtc::ArrayView<const float> power_spectrum,
47 void UpdateReverb(rtc::ArrayView<const float> power_spectrum,
Dsignal_dependent_erle_estimator.cc246 auto subband_powers = [](rtc::ArrayView<const float> power_spectrum, in UpdateCorrectionFactors()
249 RTC_DCHECK_LE(kBandBoundaries[subband + 1], power_spectrum.size()); in UpdateCorrectionFactors()
251 power_spectrum.begin() + kBandBoundaries[subband], in UpdateCorrectionFactors()
252 power_spectrum.begin() + kBandBoundaries[subband + 1], 0.f); in UpdateCorrectionFactors()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/simple_features/
Dsimple_features_generator.cc118 float power_spectrum[kMaxAudioSampleSize / 2]; in GenerateSimpleFeatures() local
122 power_spectrum[i] = (real * real) + (imaginary * imaginary); in GenerateSimpleFeatures()
132 total += power_spectrum[index]; in GenerateSimpleFeatures()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/simple_features/fixed_point/
Dsimple_features_generator.cc166 int32_t power_spectrum[kMaxAudioSampleSize / 2]; in GenerateSimpleFeatures() local
171 power_spectrum[i] = Q10_22_FixedMultiply_Q10_22(real, real) + in GenerateSimpleFeatures()
184 average += power_spectrum[index] / kAverageWindowSize; in GenerateSimpleFeatures()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3/
Dpreprocessor_1k_micro_test.cmd25 dump verilog value micro_power.txt power_spectrum
/external/speex/libspeexdsp/
Dmdf.c234 static inline void power_spectrum(const spx_word16_t *X, spx_word32_t *ps, int N) in power_spectrum() function
1210 power_spectrum(st->Y, residual_echo, N); in speex_echo_get_residual()