Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtime_stretch_unittest.cc32 TEST(TimeStretch, CreateAndDestroy) { in TEST() argument
41 TEST(TimeStretch, CreateUsingFactory) { in TEST() argument
91 void UpdateReturnStats(TimeStretch::ReturnCodes ret) { in UpdateReturnStats()
93 case TimeStretch::kSuccess: in UpdateReturnStats()
94 case TimeStretch::kSuccessLowEnergy: in UpdateReturnStats()
95 case TimeStretch::kNoStretch: in UpdateReturnStats()
98 case TimeStretch::kError: in UpdateReturnStats()
107 std::map<TimeStretch::ReturnCodes, int> return_stats_;
114 EXPECT_EQ(9, return_stats_[TimeStretch::kSuccess]); in TEST_F()
115 EXPECT_EQ(58, return_stats_[TimeStretch::kSuccessLowEnergy]); in TEST_F()
[all …]
Dtime_stretch.h29 class TimeStretch {
38 TimeStretch(int sample_rate_hz, size_t num_channels, in TimeStretch() function
55 virtual ~TimeStretch() {} in ~TimeStretch()
112 RTC_DISALLOW_COPY_AND_ASSIGN(TimeStretch);
Dtime_stretch.cc23 TimeStretch::ReturnCodes TimeStretch::Process(const int16_t* input, in Process()
160 void TimeStretch::AutoCorrelation() { in AutoCorrelation()
179 bool TimeStretch::SpeechDetection(int32_t vec1_energy, int32_t vec2_energy, in SpeechDetection()
Daccelerate.h30 class Accelerate : public TimeStretch {
34 : TimeStretch(sample_rate_hz, num_channels, background_noise) { in Accelerate()
Dpreemptive_expand.h30 class PreemptiveExpand : public TimeStretch {
36 : TimeStretch(sample_rate_hz, num_channels, background_noise), in PreemptiveExpand()
Daccelerate.cc31 return TimeStretch::Process(input, input_length, fast_accelerate, output, in Process()
Dpreemptive_expand.cc38 return TimeStretch::Process(input, input_length, kFastMode, output, in Process()