/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
packet.h | 31 Packet(int flow_id, int64_t send_time_us, size_t payload_size); 37 virtual void set_send_time_us(int64_t send_time_us); 38 virtual int64_t send_time_us() const { return send_time_us_; } function in class:webrtc::testing::bwe::Packet 68 int64_t send_time_us, 72 int64_t send_time_us, 75 MediaPacket(int64_t send_time_us, uint16_t sequence_number); 117 int64_t send_time_us, 135 int64_t send_time_us, 185 int64_t send_time_us, 188 : FeedbackPacket(flow_id, send_time_us, latest_send_time_ms) [all...] |
bwe_test_framework.cc | 33 bool ShouldSendPacket(int64_t send_time_us, int64_t arrival_time_us) { 34 int64_t packet_delay_us = send_time_us - arrival_time_us; 65 void RateCounter::UpdateRates(int64_t send_time_us, uint32_t payload_size) { 68 last_accumulated_us_ = send_time_us; 69 window_.push_back(std::make_pair(send_time_us, payload_size)); 104 Packet::Packet(int flow_id, int64_t send_time_us, size_t payload_size) 106 creation_time_us_(send_time_us), 107 send_time_us_(send_time_us), 108 sender_timestamp_us_(send_time_us), 120 void Packet::set_send_time_us(int64_t send_time_us) { 732 int64_t send_time_us = next_frame_ms * 1000.0; local [all...] |
bwe_test_framework_unittest.cc | 295 EXPECT_LE(now_ms_ * 1000, (*it)->send_time_us()); 470 packet2->send_time_us() - packet1->send_time_us()); 471 jitter_us.Push(packet2->send_time_us() - packet1->send_time_us()); 619 if (packet->send_time_us() > now_ms_ * 1000) { 632 int64_t delay_us = media_packet->send_time_us() - 653 int64_t send_time_us = 0; local 662 new MediaPacket(0, send_time_us, kPacketSizeBytes, header)); 665 send_time_us += kExpectedSendTimeUs + 1000 789 int64_t send_time_us = -1; local [all...] |
bwe_unittest.cc | 168 int64_t send_time_us = i * kTimeGapMs * 1000; local 169 int64_t arrival_time_ms = send_time_us / 1000 + kOneWayDelayMs; 171 const MediaPacket media_packet(kFlowId, send_time_us, kPayloadSizeBytes,
|
packet_sender.cc | 58 if ((*it)->send_time_us() > 1000 * end_time_ms) 268 if ((*it)->send_time_us() > end_of_batch_time_us) {
|
bwe_test_framework.h | 58 void UpdateRates(int64_t send_time_us, uint32_t payload_size);
|
bwe_test.cc | 87 if ((*it)->send_time_us() > end_of_batch_time_us) { [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
nada_unittest.cc | 336 int64_t send_time_us = i * kTimeGapMs * 1000; local 337 int64_t arrival_time_ms = send_time_us / 1000 + kOneWayDelayMs; 340 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number); 374 int64_t send_time_us = (i + 1) * kTimeGapMs * 1000; local 375 int64_t arrival_time_ms = send_time_us / 1000 + 10 * (i + 1); 378 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number); 443 int64_t send_time_us = (i + 1) * kTimeGapMs * 1000; local 444 int64_t arrival_time_ms = send_time_us / 1000 + 50 + 200 * i; 447 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number);
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
remote_bitrate_estimator_unittest_helper.cc | 87 int64_t send_time_us = time_now_us + kSendSideOffsetUs; local 89 ((frequency_ / 1000) * send_time_us + 500) / 1000); 90 rtcp->ntp_secs = send_time_us / 1000000; 91 rtcp->ntp_frac = static_cast<int64_t>((send_time_us % 1000000) *
|