Searched refs:iat_packets (Results 1 – 4 of 4) sorted by relevance
107 int iat_packets = packet_iat_count_ms_ / packet_len_ms; in Update() local118 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() argument182 assert(iat_packets < iat_vector_.size()); in UpdateHistogram()194 iat_vector_[iat_packets] += (32768 - iat_factor_) << 15; in UpdateHistogram()[all …]
65 int iat_packets = (arrival_times_ms[next] - arrival_times_ms[next - 1]) / in TEST() local69 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() local114 EXPECT_FALSE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
55 virtual int CalculateTargetLevel(int iat_packets);127 void UpdateHistogram(size_t iat_packets);
32 int(int iat_packets));