Home
last modified time | relevance | path

Searched refs:kPayloadSizeBytes (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dmetric_recorder_unittest.cc43 const size_t kPayloadSizeBytes = 1200; in TEST_F() local
52 metric_recorder_.PushThroughputBytes(kPayloadSizeBytes, arrival_time_ms); in TEST_F()
57 static_cast<uint32_t>(kPayloadSizeBytes * 8) / (kInterpacketGapMs), 10); in TEST_F()
68 const size_t kPayloadSizeBytes = 1200; in TEST_F() local
86 metric_recorder_.PushThroughputBytes(kPayloadSizeBytes, arrival_time_ms); in TEST_F()
89 size_t received_bits = kPayloadSizeBytes * 8 * kNumPackets; in TEST_F()
Dbwe_unittest.cc146 const size_t kPayloadSizeBytes = 500 * 1000; in TEST_F() local
152 const MediaPacket media_packet(kFlowId, kSendTimeUs, kPayloadSizeBytes, in TEST_F()
156 const size_t kReceivingRateKbps = 8 * kPayloadSizeBytes / kTimeWindowMs; in TEST_F()
163 const size_t kPayloadSizeBytes = 100 * 1000; in TEST_F() local
171 const MediaPacket media_packet(kFlowId, send_time_us, kPayloadSizeBytes, in TEST_F()
176 const size_t kReceivingRateKbps = 8 * kPayloadSizeBytes / kTimeGapMs; in TEST_F()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility_unittest.cc125 const size_t kPayloadSizeBytes = in TEST_F() local
129 buffer[kSizeInBytes - 1] = kPayloadSizeBytes + 1; in TEST_F()
133 buffer[kSizeInBytes - 1] = kPayloadSizeBytes; in TEST_F()
135 EXPECT_EQ(kPayloadSizeBytes, header.padding_bytes); in TEST_F()
139 buffer[kSizeInBytes - 1] = kPayloadSizeBytes - 1; in TEST_F()
141 EXPECT_EQ(kPayloadSizeBytes - 1, header.padding_bytes); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_unittest_oldapi.cc56 const int kPayloadSizeBytes = kFrameSizeSamples * sizeof(int16_t); variable
201 const uint8_t kPayload[kPayloadSizeBytes] = {0}; in InsertPacket()
203 acm_->IncomingPacket(kPayload, kPayloadSizeBytes, rtp_header_)); in InsertPacket()