Home
last modified time | relevance | path

Searched refs:TimeStretch (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dtime_stretch_unittest.cc31 TEST(TimeStretch, CreateAndDestroy) { in TEST() argument
40 TEST(TimeStretch, CreateUsingFactory) { in TEST() argument
88 void UpdateReturnStats(TimeStretch::ReturnCodes ret) { in UpdateReturnStats()
90 case TimeStretch::kSuccess: in UpdateReturnStats()
91 case TimeStretch::kSuccessLowEnergy: in UpdateReturnStats()
92 case TimeStretch::kNoStretch: in UpdateReturnStats()
95 case TimeStretch::kError: in UpdateReturnStats()
104 std::map<TimeStretch::ReturnCodes, int> return_stats_;
111 EXPECT_EQ(9, return_stats_[TimeStretch::kSuccess]); in TEST_F()
112 EXPECT_EQ(58, return_stats_[TimeStretch::kSuccessLowEnergy]); in TEST_F()
[all …]
Dtime_stretch.h28 class TimeStretch {
37 TimeStretch(int sample_rate_hz, in TimeStretch() function
51 virtual ~TimeStretch() {} in ~TimeStretch()
110 RTC_DISALLOW_COPY_AND_ASSIGN(TimeStretch);
Dtime_stretch.cc24 TimeStretch::ReturnCodes TimeStretch::Process(const int16_t* input, in Process()
160 void TimeStretch::AutoCorrelation() { in AutoCorrelation()
174 bool TimeStretch::SpeechDetection(int32_t vec1_energy, in SpeechDetection()
Daccelerate.h29 class Accelerate : public TimeStretch {
34 : TimeStretch(sample_rate_hz, num_channels, background_noise) {} in Accelerate()
Dpreemptive_expand.h29 class PreemptiveExpand : public TimeStretch {
35 : TimeStretch(sample_rate_hz, num_channels, background_noise), in PreemptiveExpand()
Daccelerate.cc35 return TimeStretch::Process(input, input_length, fast_accelerate, output, in Process()
Dpreemptive_expand.cc41 return TimeStretch::Process(input, input_length, kFastMode, output, in Process()