Home
last modified time | relevance | path

Searched refs:expected_packets (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Drtcp.cc65 uint32_t expected_packets = in GetStatistics() local
70 } else if (expected_packets > received_packets_) { in GetStatistics()
71 stats->cumulative_lost = expected_packets - received_packets_; in GetStatistics()
80 uint32_t expected_since_last = expected_packets - expected_prior_; in GetStatistics()
83 expected_prior_ = expected_packets; in GetStatistics()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dtransport_feedback_adapter_unittest.cc181 std::vector<PacketInfo> expected_packets( in TEST_F() local
187 .WillOnce(Invoke([expected_packets, in TEST_F()
189 ComparePacketVectors(expected_packets, feedback_vector); in TEST_F()
219 std::vector<PacketInfo> expected_packets; in TEST_F() local
220 expected_packets.push_back(packets[i]); in TEST_F()
224 .WillOnce(Invoke([expected_packets, this]( in TEST_F()
226 ComparePacketVectors(expected_packets, feedback_vector); in TEST_F()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
Dsend_side.cc66 int expected_packets = fb.packet_feedback_vector().back().sequence_number - in GiveFeedback() local
69 if (expected_packets > 0) { in GiveFeedback()
70 int lost_packets = expected_packets - in GiveFeedback()
72 report_block_.fractionLost = (lost_packets << 8) / expected_packets; in GiveFeedback()
/external/webrtc/webrtc/test/
Drtp_file_writer_unittest.cc43 void VerifyFileContents(int expected_packets) { in VerifyFileContents() argument
60 EXPECT_EQ(expected_packets, i); in VerifyFileContents()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework_unittest.cc246 Packets::size_type expected_packets = loss_fraction * sent_packets; in TestLossFilter() local
248 EXPECT_EQ(expected_packets, remaining_packets); in TestLossFilter()
251 EXPECT_NEAR(expected_packets, remaining_packets, 100); in TestLossFilter()
779 uint32_t expected_packets, in TestVideoSender() argument
787 EXPECT_EQ(expected_packets, packets.size()); in TestVideoSender()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_unittest_oldapi.cc1106 int expected_packets, in Run() argument
1140 EXPECT_EQ(expected_packets, packet_count_); in Run()