Home
last modified time | relevance | path

Searched refs:iat_packets (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddelay_manager.cc107 int iat_packets = packet_iat_count_ms_ / packet_len_ms; in Update() local
118 iat_packets -= static_cast<uint16_t>(sequence_number - last_seq_no_ - 1); in Update()
119 iat_packets = std::max(iat_packets, 0); in Update()
121 iat_packets += static_cast<uint16_t>(last_seq_no_ + 1 - sequence_number); in Update()
126 iat_packets = std::min(iat_packets, max_iat); in Update()
127 UpdateHistogram(iat_packets); in Update()
129 target_level_ = CalculateTargetLevel(iat_packets); in Update()
181 void DelayManager::UpdateHistogram(size_t iat_packets) { in UpdateHistogram() argument
182 assert(iat_packets < iat_vector_.size()); in UpdateHistogram()
194 iat_vector_[iat_packets] += (32768 - iat_factor_) << 15; in UpdateHistogram()
[all …]
Ddelay_peak_detector_unittest.cc65 int iat_packets = (arrival_times_ms[next] - arrival_times_ms[next - 1]) / in TEST() local
69 EXPECT_FALSE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
71 EXPECT_TRUE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
111 int iat_packets = (arrival_times_ms[next] - arrival_times_ms[next - 1]) / in TEST() local
114 EXPECT_FALSE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
Ddelay_manager.h55 virtual int CalculateTargetLevel(int iat_packets);
127 void UpdateHistogram(size_t iat_packets);
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/
Dmock_delay_manager.h32 int(int iat_packets));