/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | packet_receiver.cc | 92 int64_t arrival_time_ms = media_packet->send_time_ms(); in RunFor() local 94 delay_stats_.Push(arrival_time_ms - send_time_ms); in RunFor() 97 metric_recorder_->UpdateTimeMs(arrival_time_ms); in RunFor() 98 UpdateMetrics(arrival_time_ms, send_time_ms, in RunFor() 102 PlotDelay(arrival_time_ms, send_time_ms); in RunFor() 105 bwe_receiver_->ReceivePacket(arrival_time_ms, *media_packet); in RunFor() 106 FeedbackPacket* fb = bwe_receiver_->GetFeedback(arrival_time_ms); in RunFor() 119 void PacketReceiver::UpdateMetrics(int64_t arrival_time_ms, in UpdateMetrics() argument 123 metric_recorder_->UpdateDelayMs(arrival_time_ms - send_time_ms); in UpdateMetrics() 128 void PacketReceiver::PlotDelay(int64_t arrival_time_ms, int64_t send_time_ms) { in PlotDelay() argument [all …]
|
D | metric_recorder_unittest.cc | 49 int64_t arrival_time_ms = kInterpacketGapMs * i + kDelayMs; in TEST_F() local 50 metric_recorder_.UpdateTimeMs(arrival_time_ms); in TEST_F() 51 metric_recorder_.PushDelayMs(kDelayMs, arrival_time_ms); in TEST_F() 52 metric_recorder_.PushThroughputBytes(kPayloadSizeBytes, arrival_time_ms); in TEST_F() 82 int64_t arrival_time_ms = kInterpacketGapMs * i + delays_ms[i]; in TEST_F() local 83 last_received_ms = std::max(last_received_ms, arrival_time_ms); in TEST_F() 84 metric_recorder_.UpdateTimeMs(arrival_time_ms); in TEST_F() 85 metric_recorder_.PushDelayMs(delays_ms[i], arrival_time_ms); in TEST_F() 86 metric_recorder_.PushThroughputBytes(kPayloadSizeBytes, arrival_time_ms); in TEST_F()
|
D | bwe.cc | 45 void BweReceiver::ReceivePacket(int64_t arrival_time_ms, in ReceivePacket() argument 52 media_packet.send_time_ms(), arrival_time_ms, in ReceivePacket() 188 int64_t time_limit_ms = (*node_it)->arrival_time_ms - kPacketLossTimeWindowMs; in RecentPacketLossRatio() 194 if ((*node_it)->arrival_time_ms < time_limit_ms) { in RecentPacketLossRatio() 221 int64_t arrival_time_ms, in Insert() argument 227 node->arrival_time_ms = arrival_time_ms; in Insert() 238 arrival_time_ms, payload_size)); in Insert() 244 packet_identifier.arrival_time_ms, packet_identifier.payload_size); in Insert()
|
D | bwe.h | 53 int64_t arrival_time_ms, in PacketIdentifierNode() 57 arrival_time_ms(arrival_time_ms), in PacketIdentifierNode() 62 int64_t arrival_time_ms; member 82 int64_t arrival_time_ms, 138 virtual void ReceivePacket(int64_t arrival_time_ms,
|
D | metric_recorder.cc | 195 void MetricRecorder::PushDelayMs(int64_t delay_ms, int64_t arrival_time_ms) { in PushDelayMs() argument 196 if (ShouldRecord(arrival_time_ms)) { in PushDelayMs() 216 int64_t arrival_time_ms) { in PushThroughputBytes() argument 217 if (ShouldRecord(arrival_time_ms)) { in PushThroughputBytes() 230 (arrival_time_ms - plot_information_[kThroughput].time_ms)) / in PushThroughputBytes() 238 (arrival_time_ms - plot_information_[kThroughput].time_ms)) / in PushThroughputBytes() 245 bool MetricRecorder::ShouldRecord(int64_t arrival_time_ms) { in ShouldRecord() argument 246 if (arrival_time_ms >= start_computing_metrics_ms_) { in ShouldRecord() 248 start_computing_metrics_ms_ = arrival_time_ms; in ShouldRecord() 249 now_ms_ = arrival_time_ms; in ShouldRecord()
|
D | packet_receiver.h | 51 void UpdateMetrics(int64_t arrival_time_ms, 59 void PlotDelay(int64_t arrival_time_ms, int64_t send_time_ms);
|
D | metric_recorder.h | 140 bool ShouldRecord(int64_t arrival_time_ms); 142 void PushDelayMs(int64_t delay_ms, int64_t arrival_time_ms); 143 void PushThroughputBytes(size_t throughput_bytes, int64_t arrival_time_ms);
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | transport_feedback_adapter_unittest.cc | 94 truth[0].arrival_time_ms - input[0].arrival_time_ms; in ComparePacketVectors() 96 EXPECT_EQ(truth[i].arrival_time_ms, in ComparePacketVectors() 97 input[i].arrival_time_ms + arrival_time_delta); in ComparePacketVectors() 107 info.arrival_time_ms = 0; in OnSentPacket() 134 packets[0].arrival_time_ms * 1000); in TEST_F() 138 packet.arrival_time_ms * 1000)); in TEST_F() 170 packets[0].arrival_time_ms * 1000); in TEST_F() 175 packet.arrival_time_ms * 1000)); in TEST_F() 210 packets[i].arrival_time_ms * 1000); in TEST_F() 213 packets[i].sequence_number, packets[i].arrival_time_ms * 1000)); in TEST_F() [all …]
|
D | inter_arrival.cc | 33 int64_t arrival_time_ms, in ComputeDeltas() argument 49 } else if (NewTimestampGroup(arrival_time_ms, timestamp)) { in ComputeDeltas() 80 current_timestamp_group_.complete_time_ms = arrival_time_ms; in ComputeDeltas() 100 bool InterArrival::NewTimestampGroup(int64_t arrival_time_ms, in NewTimestampGroup() argument 104 } else if (BelongsToBurst(arrival_time_ms, timestamp)) { in NewTimestampGroup() 113 bool InterArrival::BelongsToBurst(int64_t arrival_time_ms, in BelongsToBurst() argument 119 int64_t arrival_time_delta_ms = arrival_time_ms - in BelongsToBurst()
|
D | inter_arrival_unittest.cc | 48 void ExpectFalse(int64_t timestamp_us, int64_t arrival_time_ms, in ExpectFalse() argument 51 MakeRtpTimestamp(timestamp_us), arrival_time_ms, in ExpectFalse() 54 arrival_time_ms, packet_size); in ExpectFalse() 61 void ExpectTrue(int64_t timestamp_us, int64_t arrival_time_ms, in ExpectTrue() argument 67 arrival_time_ms, packet_size, in ExpectTrue() 72 arrival_time_ms, packet_size, in ExpectTrue() 163 uint32_t timestamp, int64_t arrival_time_ms, in InternalExpectFalse() argument 169 arrival_time_ms, in InternalExpectFalse() 181 uint32_t timestamp, int64_t arrival_time_ms, in InternalExpectTrue() argument 191 arrival_time_ms, in InternalExpectTrue()
|
D | send_time_history_unittest.cc | 50 PacketInfo(int64_t arrival_time_ms, uint16_t sequence_number) in PacketInfo() argument 51 : PacketInfo(arrival_time_ms, 0, sequence_number, 0, false) {} in PacketInfo() 52 PacketInfo(int64_t arrival_time_ms, in PacketInfo() argument 58 arrival_time_ms, in PacketInfo() 64 return arrival_time_ms == other.arrival_time_ms && in operator ==() 99 EXPECT_EQ(kReceiveTime, info.arrival_time_ms); in TEST_F() 134 sent_packet.arrival_time_ms = packet.arrival_time_ms; in TEST_F()
|
D | remote_bitrate_estimator_abs_send_time.cc | 233 IncomingPacketInfo(packet_info.arrival_time_ms, in IncomingPacketFeedbackVector() 239 void RemoteBitrateEstimatorAbsSendTime::IncomingPacket(int64_t arrival_time_ms, in IncomingPacket() argument 248 IncomingPacketInfo(arrival_time_ms, header.extension.absoluteSendTime, in IncomingPacket() 253 int64_t arrival_time_ms, in IncomingPacketInfo() argument 291 recv_delta_ms = arrival_time_ms - probes_.back().recv_time_ms; in IncomingPacketInfo() 294 << " ms, recv time=" << arrival_time_ms in IncomingPacketInfo() 298 probes_.push_back(Probe(send_time_ms, arrival_time_ms, payload_size)); in IncomingPacketInfo() 307 if (inter_arrival_->ComputeDeltas(timestamp, arrival_time_ms, payload_size, in IncomingPacketInfo() 312 estimator_.num_of_deltas(), arrival_time_ms); in IncomingPacketInfo()
|
D | inter_arrival.h | 42 int64_t arrival_time_ms, 71 bool NewTimestampGroup(int64_t arrival_time_ms, uint32_t timestamp) const; 73 bool BelongsToBurst(int64_t arrival_time_ms, uint32_t timestamp) const;
|
D | remote_estimator_proxy.cc | 41 OnPacketArrival(info.sequence_number, info.arrival_time_ms); in IncomingPacketFeedbackVector() 44 void RemoteEstimatorProxy::IncomingPacket(int64_t arrival_time_ms, in IncomingPacket() argument 55 OnPacketArrival(header.extension.transportSequenceNumber, arrival_time_ms); in IncomingPacket()
|
D | send_time_history.cc | 90 int64_t receive_time = packet->arrival_time_ms; in GetInfo() 92 packet->arrival_time_ms = receive_time; in GetInfo()
|
D | remote_bitrate_estimator_abs_send_time.h | 75 void IncomingPacket(int64_t arrival_time_ms, 102 void IncomingPacketInfo(int64_t arrival_time_ms,
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
D | remb.cc | 84 void RembReceiver::ReceivePacket(int64_t arrival_time_ms, in ReceivePacket() argument 92 while ((clock_.TimeInMilliseconds() + step_ms) < arrival_time_ms) { in ReceivePacket() 97 estimator_->IncomingPacket(arrival_time_ms, media_packet.payload_size(), in ReceivePacket() 99 clock_.AdvanceTimeMilliseconds(arrival_time_ms - clock_.TimeInMilliseconds()); in ReceivePacket() 100 ASSERT_TRUE(arrival_time_ms == clock_.TimeInMilliseconds()); in ReceivePacket() 103 BweReceiver::ReceivePacket(arrival_time_ms, media_packet); in ReceivePacket()
|
D | tcp.cc | 34 void TcpBweReceiver::ReceivePacket(int64_t arrival_time_ms, in ReceivePacket() argument 36 latest_owd_ms_ = arrival_time_ms - media_packet.sender_timestamp_ms() / 1000; in ReceivePacket() 40 BweReceiver::ReceivePacket(arrival_time_ms, media_packet); in ReceivePacket()
|
D | send_side.cc | 126 void SendSideBweReceiver::ReceivePacket(int64_t arrival_time_ms, in ReceivePacket() argument 129 -1, arrival_time_ms, media_packet.sender_timestamp_ms(), in ReceivePacket() 133 BweReceiver::ReceivePacket(arrival_time_ms, media_packet); in ReceivePacket() 142 packet_feedback_vector_.back().arrival_time_ms; in GetFeedback()
|
D | nada.cc | 49 void NadaBweReceiver::ReceivePacket(int64_t arrival_time_ms, in ReceivePacket() argument 55 clock_.AdvanceTimeMilliseconds(arrival_time_ms - clock_.TimeInMilliseconds()); in ReceivePacket() 59 int64_t delay_ms = arrival_time_ms - media_packet.sender_timestamp_ms(); in ReceivePacket() 89 BweReceiver::ReceivePacket(arrival_time_ms, media_packet); in ReceivePacket() 118 latest->send_time_ms + now_ms - latest->arrival_time_ms; in GetFeedback()
|
D | nada_unittest.cc | 337 int64_t arrival_time_ms = send_time_us / 1000 + kOneWayDelayMs; in TEST_F() local 341 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet); in TEST_F() 375 int64_t arrival_time_ms = send_time_us / 1000 + 10 * (i + 1); in TEST_F() local 379 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet); in TEST_F() 382 nada_receiver_.GetFeedback(arrival_time_ms))); in TEST_F() 444 int64_t arrival_time_ms = send_time_us / 1000 + 50 + 200 * i; in TEST_F() local 448 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet); in TEST_F() 451 nada_receiver_.GetFeedback(arrival_time_ms))); in TEST_F()
|
D | tcp.h | 26 void ReceivePacket(int64_t arrival_time_ms,
|
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
D | rtp_rtcp_defines.h | 260 PacketInfo(int64_t arrival_time_ms, uint16_t sequence_number) in PacketInfo() 261 : PacketInfo(-1, arrival_time_ms, -1, sequence_number, 0, false) {} in PacketInfo() 263 PacketInfo(int64_t arrival_time_ms, in PacketInfo() 269 arrival_time_ms, in PacketInfo() 276 int64_t arrival_time_ms, in PacketInfo() 282 arrival_time_ms(arrival_time_ms), in PacketInfo() 292 int64_t arrival_time_ms; member
|
/external/webrtc/webrtc/video/ |
D | vie_receiver.cc | 277 int64_t arrival_time_ms; in InsertRTPPacket() local 280 arrival_time_ms = (packet_time.timestamp + 500) / 1000; in InsertRTPPacket() 282 arrival_time_ms = now_ms; in InsertRTPPacket() 292 << ", arrival time: " << arrival_time_ms; in InsertRTPPacket() 302 remote_bitrate_estimator_->IncomingPacket(arrival_time_ms, payload_length, in InsertRTPPacket()
|
/external/webrtc/webrtc/audio/ |
D | audio_receive_stream.cc | 180 int64_t arrival_time_ms = TickTime::MillisecondTimestamp(); in DeliverRtp() local 182 arrival_time_ms = (packet_time.timestamp + 500) / 1000; in DeliverRtp() 184 remote_bitrate_estimator_->IncomingPacket(arrival_time_ms, payload_size, in DeliverRtp()
|