Searched defs:arrival_time_ms (Results 1 - 20 of 20) sorted by relevance

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
H A Dtcp.cc34 void TcpBweReceiver::ReceivePacket(int64_t arrival_time_ms, argument
36 latest_owd_ms_ = arrival_time_ms - media_packet.sender_timestamp_ms() / 1000;
40 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
H A Dsend_side.cc126 void SendSideBweReceiver::ReceivePacket(int64_t arrival_time_ms, argument
129 -1, arrival_time_ms, media_packet.sender_timestamp_ms(),
133 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
142 packet_feedback_vector_.back().arrival_time_ms;
H A Dremb.cc84 void RembReceiver::ReceivePacket(int64_t arrival_time_ms, argument
92 while ((clock_.TimeInMilliseconds() + step_ms) < arrival_time_ms) {
97 estimator_->IncomingPacket(arrival_time_ms, media_packet.payload_size(),
99 clock_.AdvanceTimeMilliseconds(arrival_time_ms - clock_.TimeInMilliseconds());
100 ASSERT_TRUE(arrival_time_ms == clock_.TimeInMilliseconds());
103 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
H A Dnada.cc49 void NadaBweReceiver::ReceivePacket(int64_t arrival_time_ms, argument
55 clock_.AdvanceTimeMilliseconds(arrival_time_ms - clock_.TimeInMilliseconds());
59 int64_t delay_ms = arrival_time_ms - media_packet.sender_timestamp_ms();
89 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
118 latest->send_time_ms + now_ms - latest->arrival_time_ms;
H A Dnada_unittest.cc337 int64_t arrival_time_ms = send_time_us / 1000 + kOneWayDelayMs; local
341 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet);
375 int64_t arrival_time_ms = send_time_us / 1000 + 10 * (i + 1); local
379 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet);
382 nada_receiver_.GetFeedback(arrival_time_ms)));
444 int64_t arrival_time_ms = send_time_us / 1000 + 50 + 200 * i; local
448 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet);
451 nada_receiver_.GetFeedback(arrival_time_ms)));
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
H A Dmetric_recorder_unittest.cc49 int64_t arrival_time_ms = kInterpacketGapMs * i + kDelayMs; local
50 metric_recorder_.UpdateTimeMs(arrival_time_ms);
51 metric_recorder_.PushDelayMs(kDelayMs, arrival_time_ms);
52 metric_recorder_.PushThroughputBytes(kPayloadSizeBytes, arrival_time_ms);
82 int64_t arrival_time_ms = kInterpacketGapMs * i + delays_ms[i]; local
83 last_received_ms = std::max(last_received_ms, arrival_time_ms);
84 metric_recorder_.UpdateTimeMs(arrival_time_ms);
85 metric_recorder_.PushDelayMs(delays_ms[i], arrival_time_ms);
86 metric_recorder_.PushThroughputBytes(kPayloadSizeBytes, arrival_time_ms);
H A Dpacket_receiver.cc92 int64_t arrival_time_ms = media_packet->send_time_ms(); local
94 delay_stats_.Push(arrival_time_ms - send_time_ms);
97 metric_recorder_->UpdateTimeMs(arrival_time_ms);
98 UpdateMetrics(arrival_time_ms, send_time_ms,
102 PlotDelay(arrival_time_ms, send_time_ms);
105 bwe_receiver_->ReceivePacket(arrival_time_ms, *media_packet);
106 FeedbackPacket* fb = bwe_receiver_->GetFeedback(arrival_time_ms);
119 void PacketReceiver::UpdateMetrics(int64_t arrival_time_ms, argument
123 metric_recorder_->UpdateDelayMs(arrival_time_ms - send_time_ms);
128 void PacketReceiver::PlotDelay(int64_t arrival_time_ms, int64_ argument
[all...]
H A Dbwe.cc45 void BweReceiver::ReceivePacket(int64_t arrival_time_ms, argument
52 media_packet.send_time_ms(), arrival_time_ms,
188 int64_t time_limit_ms = (*node_it)->arrival_time_ms - kPacketLossTimeWindowMs;
194 if ((*node_it)->arrival_time_ms < time_limit_ms) {
221 int64_t arrival_time_ms,
227 node->arrival_time_ms = arrival_time_ms;
238 arrival_time_ms, payload_size));
244 packet_identifier.arrival_time_ms, packet_identifier.payload_size);
219 Insert(uint16_t sequence_number, int64_t send_time_ms, int64_t arrival_time_ms, size_t payload_size) argument
H A Dbwe.h53 int64_t arrival_time_ms,
57 arrival_time_ms(arrival_time_ms),
62 int64_t arrival_time_ms; member in struct:webrtc::testing::bwe::PacketIdentifierNode
82 int64_t arrival_time_ms,
138 virtual void ReceivePacket(int64_t arrival_time_ms,
51 PacketIdentifierNode(uint16_t sequence_number, int64_t send_time_ms, int64_t arrival_time_ms, size_t payload_size) argument
H A Dbwe_unittest.cc169 int64_t arrival_time_ms = send_time_us / 1000 + kOneWayDelayMs; local
173 bwe_receiver_.ReceivePacket(arrival_time_ms, media_packet);
H A Dmetric_recorder.cc195 void MetricRecorder::PushDelayMs(int64_t delay_ms, int64_t arrival_time_ms) { argument
196 if (ShouldRecord(arrival_time_ms)) {
216 int64_t arrival_time_ms) {
217 if (ShouldRecord(arrival_time_ms)) {
230 (arrival_time_ms - plot_information_[kThroughput].time_ms)) /
238 (arrival_time_ms - plot_information_[kThroughput].time_ms)) /
245 bool MetricRecorder::ShouldRecord(int64_t arrival_time_ms) { argument
246 if (arrival_time_ms >= start_computing_metrics_ms_) {
248 start_computing_metrics_ms_ = arrival_time_ms;
249 now_ms_ = arrival_time_ms;
215 PushThroughputBytes(size_t payload_size, int64_t arrival_time_ms) argument
[all...]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
H A Dinter_arrival.cc33 int64_t arrival_time_ms,
49 } else if (NewTimestampGroup(arrival_time_ms, timestamp)) {
80 current_timestamp_group_.complete_time_ms = arrival_time_ms;
100 bool InterArrival::NewTimestampGroup(int64_t arrival_time_ms, argument
104 } else if (BelongsToBurst(arrival_time_ms, timestamp)) {
113 bool InterArrival::BelongsToBurst(int64_t arrival_time_ms, argument
119 int64_t arrival_time_delta_ms = arrival_time_ms -
32 ComputeDeltas(uint32_t timestamp, int64_t arrival_time_ms, size_t packet_size, uint32_t* timestamp_delta, int64_t* arrival_time_delta_ms, int* packet_size_delta) argument
H A Dremote_estimator_proxy.cc41 OnPacketArrival(info.sequence_number, info.arrival_time_ms);
44 void RemoteEstimatorProxy::IncomingPacket(int64_t arrival_time_ms, argument
55 OnPacketArrival(header.extension.transportSequenceNumber, arrival_time_ms);
H A Dsend_time_history_unittest.cc50 PacketInfo(int64_t arrival_time_ms, uint16_t sequence_number) argument
51 : PacketInfo(arrival_time_ms, 0, sequence_number, 0, false) {}
52 PacketInfo(int64_t arrival_time_ms, argument
58 arrival_time_ms,
64 return arrival_time_ms == other.arrival_time_ms &&
99 EXPECT_EQ(kReceiveTime, info.arrival_time_ms);
134 sent_packet.arrival_time_ms = packet.arrival_time_ms;
H A Dinter_arrival_unittest.cc48 void ExpectFalse(int64_t timestamp_us, int64_t arrival_time_ms, argument
51 MakeRtpTimestamp(timestamp_us), arrival_time_ms,
54 arrival_time_ms, packet_size);
61 void ExpectTrue(int64_t timestamp_us, int64_t arrival_time_ms, argument
67 arrival_time_ms, packet_size,
72 arrival_time_ms, packet_size,
163 uint32_t timestamp, int64_t arrival_time_ms,
169 arrival_time_ms,
181 uint32_t timestamp, int64_t arrival_time_ms,
191 arrival_time_ms,
162 InternalExpectFalse(InterArrival* inter_arrival, uint32_t timestamp, int64_t arrival_time_ms, size_t packet_size) argument
180 InternalExpectTrue(InterArrival* inter_arrival, uint32_t timestamp, int64_t arrival_time_ms, size_t packet_size, uint32_t expected_timestamp_delta, int64_t expected_arrival_time_delta_ms, int expected_packet_size_delta, uint32_t timestamp_near) argument
[all...]
H A Dremote_bitrate_estimator_abs_send_time.cc233 IncomingPacketInfo(packet_info.arrival_time_ms,
239 void RemoteBitrateEstimatorAbsSendTime::IncomingPacket(int64_t arrival_time_ms, argument
248 IncomingPacketInfo(arrival_time_ms, header.extension.absoluteSendTime,
253 int64_t arrival_time_ms,
291 recv_delta_ms = arrival_time_ms - probes_.back().recv_time_ms;
294 << " ms, recv time=" << arrival_time_ms
298 probes_.push_back(Probe(send_time_ms, arrival_time_ms, payload_size));
307 if (inter_arrival_->ComputeDeltas(timestamp, arrival_time_ms, payload_size,
312 estimator_.num_of_deltas(), arrival_time_ms);
252 IncomingPacketInfo( int64_t arrival_time_ms, uint32_t send_time_24bits, size_t payload_size, uint32_t ssrc, bool was_paced) argument
H A Dremote_bitrate_estimator_single_stream.cc70 void RemoteBitrateEstimatorSingleStream::IncomingPacket(int64_t arrival_time_ms, argument
99 if (estimator->inter_arrival.ComputeDeltas(rtp_timestamp, arrival_time_ms,
/external/webrtc/webrtc/audio/
H A Daudio_receive_stream.cc180 int64_t arrival_time_ms = TickTime::MillisecondTimestamp(); local
182 arrival_time_ms = (packet_time.timestamp + 500) / 1000;
184 remote_bitrate_estimator_->IncomingPacket(arrival_time_ms, payload_size,
/external/webrtc/webrtc/video/
H A Dvie_receiver.cc277 int64_t arrival_time_ms; local
280 arrival_time_ms = (packet_time.timestamp + 500) / 1000;
282 arrival_time_ms = now_ms;
292 << ", arrival time: " << arrival_time_ms;
302 remote_bitrate_estimator_->IncomingPacket(arrival_time_ms, payload_length,
/external/webrtc/webrtc/modules/rtp_rtcp/include/
H A Drtp_rtcp_defines.h260 PacketInfo(int64_t arrival_time_ms, uint16_t sequence_number) argument
261 : PacketInfo(-1, arrival_time_ms, -1, sequence_number, 0, false) {}
263 PacketInfo(int64_t arrival_time_ms, argument
269 arrival_time_ms,
276 int64_t arrival_time_ms,
282 arrival_time_ms(arrival_time_ms),
292 int64_t arrival_time_ms; member in struct:webrtc::PacketInfo
275 PacketInfo(int64_t creation_time_ms, int64_t arrival_time_ms, int64_t send_time_ms, uint16_t sequence_number, size_t payload_size, bool was_paced) argument

Completed in 396 milliseconds