Home
last modified time | relevance | path

Searched refs:send_time (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_stereo_unittest.cc173 virtual int GetArrivalTime(int send_time) { in GetArrivalTime() argument
174 int arrival_time = last_arrival_time_ + (send_time - last_send_time_); in GetArrivalTime()
175 last_send_time_ = send_time; in GetArrivalTime()
297 virtual int GetArrivalTime(int send_time) { in GetArrivalTime() argument
299 drift_factor * (send_time - last_send_time_); in GetArrivalTime()
300 last_send_time_ = send_time; in GetArrivalTime()
334 virtual int GetArrivalTime(int send_time) { in GetArrivalTime() argument
336 int arrival_time = std::min(last_arrival_time_, send_time); in GetArrivalTime()
341 last_send_time_ = send_time; in GetArrivalTime()
Dneteq_network_stats_unittest.cc122 bool Lost(uint32_t send_time) { in Lost() argument
123 if (send_time - last_lost_time_ >= packet_loss_interval_) { in Lost()
124 last_lost_time_ = send_time; in Lost()
Dneteq_external_decoder_unittest.cc85 int GetArrivalTime(int send_time) { in GetArrivalTime() argument
86 int arrival_time = last_arrival_time_ + (send_time - last_send_time_); in GetArrivalTime()
87 last_send_time_ = send_time; in GetArrivalTime()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc101 stored_packets_[prev_index_].send_time == 0) { in PutRTPPacket()
122 stored_packets_[prev_index_].send_time = 0; // Packet not sent. in PutRTPPacket()
165 if (stored_packets_[index].send_time != 0) { in SetSent()
169 stored_packets_[index].send_time = clock_->TimeInMilliseconds(); in SetSent()
204 ((now - stored_packets_[index].send_time) < min_elapsed_time_ms)) { in GetPacketAndSetSendTime()
216 stored_packets_[index].send_time = clock_->TimeInMilliseconds(); in GetPacketAndSetSendTime()
Drtp_packet_history.h94 int64_t send_time = 0; member
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPchange.cc59 uint32_t send_time; in main() local
62 "%hu %u %u %*i %*i\n", &seq_no, &ts, &send_time) == 3) { in main()
66 packet_stats[temp_pair] = send_time; in main()
/external/webrtc/webrtc/test/
Dfake_network_pipe.cc41 NetworkPacket(const uint8_t* data, size_t length, int64_t send_time, in NetworkPacket() argument
45 send_time_(send_time), in NetworkPacket()
56 int64_t send_time() const { return send_time_; } in send_time() function in webrtc::NetworkPacket
197 total_packet_delay_ += packet->arrival_time() - packet->send_time(); in Process()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Dunittest.cc163 const int send_time = elapsed_time_ms * (sample_rate_hz / 1000); in TestGetSetBandwidthInfo() local
165 encdec, bitstream1.data(), bitstream1.size(), i, send_time, in TestGetSetBandwidthInfo()
166 channel1.Send(send_time, bitstream1.size()))); in TestGetSetBandwidthInfo()
168 dec, bitstream2.data(), bitstream2.size(), i, send_time, in TestGetSetBandwidthInfo()
169 channel2.Send(send_time, bitstream2.size()))); in TestGetSetBandwidthInfo()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c54 uint32_t send_time; /* samples */ member
74 BN_data->send_time += current_framesamples; in get_arrival_time()
276 BN_data.send_time = 0; in main()
550 BN_data.send_time, BN_data.arrival_time); in main()
Dkenny.cc46 uint32_t send_time; /* samples */ member
67 BN_data->send_time += current_framesamples; in get_arrival_time()
484 BN_data.send_time = 0; in main()
708 BN_data.send_time, in main()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_unittest_helper.h50 int64_t send_time; member
Dremote_bitrate_estimator_unittest_helper.cc65 packet->send_time = time_now_us + kSendSideOffsetUs; in GenerateFrame()
68 ((frequency_ / 1000) * packet->send_time + 500) / 1000); in GenerateFrame()
259 AbsSendTime(packet->send_time, 1000000), true); in GenerateAndProcessFrame()
/external/netperf/src/
Dnettest_unix.c2244 struct timeval send_time; in send_dg_rr() local
2467 gettimeofday(&send_time,&dummy_zone); in send_dg_rr()
2499 if (recv_time.tv_usec < send_time.tv_usec) { in send_dg_rr()
2506 kept_times[time_index] = (recv_time.tv_sec - send_time.tv_sec) * 1000000; in send_dg_rr()
2507 kept_times[time_index] += (recv_time.tv_usec - send_time.tv_usec); in send_dg_rr()
Dnettest_dlpi.c2666 struct timeval send_time; in send_dlpi_cl_rr() local
2963 gettimeofday(&send_time,&dummy_zone); in send_dlpi_cl_rr()
3005 if (recv_time.tv_usec < send_time.tv_usec) { in send_dlpi_cl_rr()
3012 kept_times[time_index] = (recv_time.tv_sec - send_time.tv_sec) * 1000000; in send_dlpi_cl_rr()
3013 kept_times[time_index] += (recv_time.tv_usec - send_time.tv_usec); in send_dlpi_cl_rr()
/external/webrtc/webrtc/base/
Dvirtualsocket_unittest.cc103 uint32_t send_time = *reinterpret_cast<const uint32_t*>(data); in OnReadPacket() local
105 uint32_t delay = recv_time - send_time; in OnReadPacket()