Home
last modified time | relevance | path

Searched refs:kPacketSizeBytes (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_unittest.cc336 const size_t kPacketSizeBytes = 1200; in TEST_F() local
343 MediaPacket packet(kFlowId, 0L, kPacketSizeBytes, static_cast<uint16_t>(i)); in TEST_F()
348 (8 * kNumPackets * kPacketSizeBytes) / (1000 * window_size_s), in TEST_F()
354 MediaPacket packet(kFlowId, time_gap_ms * 1000, kPacketSizeBytes, in TEST_F()
359 (8 * kPacketSizeBytes) / (1000 * window_size_s), 10); in TEST_F()
Dpacket_sender.cc319 const int kPacketSizeBytes = 1200; variable
454 if ((total_sent_bytes_ + kPacketSizeBytes) > send_limit_bytes_) { in GeneratePackets()
462 kPacketSizeBytes, next_sequence_number_++)); in GeneratePackets()
466 total_sent_bytes_ += kPacketSizeBytes; in GeneratePackets()
479 static_cast<uint32_t>(8 * num_recent_sent_packets_ * kPacketSizeBytes) / in UpdateSendBitrateEstimate()
Dbwe_test_framework_unittest.cc649 const size_t kPacketSizeBytes = 125; in TEST_F() local
651 (kPacketSizeBytes * 8 * 1000 + kCapacityKbps / 2) / kCapacityKbps; in TEST_F()
662 new MediaPacket(0, send_time_us, kPacketSizeBytes, header)); in TEST_F()