Searched refs:kNumLowerBands (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | spectral_features_unittest.cc | 26 constexpr size_t kTestFeatureVectorSize = kNumBands + 3 * kNumLowerBands + 1; 35 rtc::ArrayView<float, kNumBands - kNumLowerBands> GetHigherBandsSpectrum( in GetHigherBandsSpectrum() 37 return {feature_vector->data() + kNumLowerBands, kNumBands - kNumLowerBands}; in GetHigherBandsSpectrum() 40 rtc::ArrayView<float, kNumLowerBands> GetAverage( in GetAverage() 42 return {feature_vector->data(), kNumLowerBands}; in GetAverage() 45 rtc::ArrayView<float, kNumLowerBands> GetFirstDerivative( in GetFirstDerivative() 47 return {feature_vector->data() + kNumBands, kNumLowerBands}; in GetFirstDerivative() 50 rtc::ArrayView<float, kNumLowerBands> GetSecondDerivative( in GetSecondDerivative() 52 return {feature_vector->data() + kNumBands + kNumLowerBands, kNumLowerBands}; in GetSecondDerivative() 55 rtc::ArrayView<float, kNumLowerBands> GetCepstralCrossCorrelation( in GetCepstralCrossCorrelation() [all …]
|
D | spectral_features.h | 45 rtc::ArrayView<float, kNumBands - kNumLowerBands> higher_bands_cepstrum, 46 rtc::ArrayView<float, kNumLowerBands> average, 47 rtc::ArrayView<float, kNumLowerBands> first_derivative, 48 rtc::ArrayView<float, kNumLowerBands> second_derivative, 49 rtc::ArrayView<float, kNumLowerBands> bands_cross_corr, 54 rtc::ArrayView<float, kNumLowerBands> average, 55 rtc::ArrayView<float, kNumLowerBands> first_derivative, 56 rtc::ArrayView<float, kNumLowerBands> second_derivative) const; 58 rtc::ArrayView<float, kNumLowerBands> bands_cross_corr);
|
D | features_extraction.cc | 81 {feature_vector.data() + kNumLowerBands, kNumBands - kNumLowerBands}, in CheckSilenceComputeFeatures() 82 {feature_vector.data(), kNumLowerBands}, in CheckSilenceComputeFeatures() 83 {feature_vector.data() + kNumBands, kNumLowerBands}, in CheckSilenceComputeFeatures() 84 {feature_vector.data() + kNumBands + kNumLowerBands, kNumLowerBands}, in CheckSilenceComputeFeatures() 85 {feature_vector.data() + kNumBands + 2 * kNumLowerBands, kNumLowerBands}, in CheckSilenceComputeFeatures()
|
D | spectral_features.cc | 106 rtc::ArrayView<float, kNumBands - kNumLowerBands> higher_bands_cepstrum, in CheckSilenceComputeFeatures() 107 rtc::ArrayView<float, kNumLowerBands> average, in CheckSilenceComputeFeatures() 108 rtc::ArrayView<float, kNumLowerBands> first_derivative, in CheckSilenceComputeFeatures() 109 rtc::ArrayView<float, kNumLowerBands> second_derivative, in CheckSilenceComputeFeatures() 110 rtc::ArrayView<float, kNumLowerBands> bands_cross_corr, in CheckSilenceComputeFeatures() 144 RTC_DCHECK_EQ(cepstrum.size() - kNumLowerBands, higher_bands_cepstrum.size()); in CheckSilenceComputeFeatures() 145 std::copy(cepstrum.begin() + kNumLowerBands, cepstrum.end(), in CheckSilenceComputeFeatures() 156 rtc::ArrayView<float, kNumLowerBands> average, in ComputeAvgAndDerivatives() 157 rtc::ArrayView<float, kNumLowerBands> first_derivative, in ComputeAvgAndDerivatives() 158 rtc::ArrayView<float, kNumLowerBands> second_derivative) const { in ComputeAvgAndDerivatives() [all …]
|
D | common.h | 59 constexpr size_t kNumLowerBands = 6; variable 60 static_assert((0 < kNumLowerBands) && (kNumLowerBands < kNumBands), "");
|