Home
last modified time | relevance | path

Searched refs:kPacketSize (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc55 void SendPackets(FakeNetworkPipe* pipe, int number_packets, int kPacketSize) { in SendPackets() argument
56 rtc::scoped_ptr<uint8_t[]> packet(new uint8_t[kPacketSize]); in SendPackets()
58 pipe->SendPacket(packet.get(), kPacketSize); in SendPackets()
62 int PacketTimeMs(int capacity_kbps, int kPacketSize) const { in PacketTimeMs()
63 return 8 * kPacketSize / capacity_kbps; in PacketTimeMs()
84 const int kPacketSize = 1000; in TEST_F() local
85 SendPackets(pipe.get(), kNumPackets , kPacketSize); in TEST_F()
89 kPacketSize); in TEST_F()
122 const int kPacketSize = 1000; in TEST_F() local
123 SendPackets(pipe.get(), kNumPackets , kPacketSize); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc184 const size_t kPacketSize = 26; in TEST_F() local
185 Init(kFrameSize, kPacketSize); in TEST_F()
197 const size_t kPacketSize = 27; in TEST_F() local
198 Init(kFrameSize, kPacketSize); in TEST_F()
211 const size_t kPacketSize = 1; in TEST_F() local
212 Init(kFrameSize, kPacketSize); // 1hdr + 1 payload in TEST_F()
220 const size_t kPacketSize = 12; in TEST_F() local
224 Init(kFrameSize, kPacketSize); in TEST_F()
238 const size_t kPacketSize = 13; in TEST_F() local
241 Init(kFrameSize, kPacketSize); in TEST_F()
[all …]
Drtp_sender_unittest.cc1368 const int32_t kPacketSize = 1400; in TEST_F() local
1373 rtp_sender_->SetTargetBitrate(kNumPackets * kPacketSize * 8); in TEST_F()
1379 SendPacket(fake_clock_.TimeInMilliseconds(), kPacketSize); in TEST_F()
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender_unittest.cc668 const size_t kPacketSize = 1200; in TEST_F() local
675 clock_.TimeInMilliseconds(), kPacketSize, false); in TEST_F()
680 static_cast<int64_t>(kNumPackets * kPacketSize * 8 / kMaxBitrate); in TEST_F()
698 static_cast<int64_t>(kPacketSize * 8 / kMaxBitrate)); in TEST_F()
723 const size_t kPacketSize = 1200; in TEST_F() local
742 kPacketSize, false); in TEST_F()
757 const size_t kPacketSize = 1200; in TEST_F() local
771 kPacketSize, false); in TEST_F()
792 const size_t kPacketSize = 1200; in TEST_F() local
796 clock_.TimeInMilliseconds() + 33, kPacketSize, true); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dsend_time_history_unittest.cc110 const size_t kPacketSize = 400; in TEST_F() local
115 static_cast<uint16_t>(i), kPacketSize, in TEST_F()
119 static_cast<uint16_t>(i), kPacketSize, false)); in TEST_F()