Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter_unittest.cc30 static const size_t kPayloadLength = 10; variable
83 packet->payload_length = (kPayloadLength + 1) + in CreateRedPayload()
84 (num_payloads - 1) * (kPayloadLength + kRedHeaderLength); in CreateRedPayload()
102 assert(kPayloadLength <= 1023); // Max length described by 10 bits. in CreateRedPayload()
103 *payload_ptr = ((this_offset & 0x3F) << 2) | (kPayloadLength >> 8); in CreateRedPayload()
105 *payload_ptr = kPayloadLength & 0xFF; in CreateRedPayload()
111 CreateOpusFecPayload(payload_ptr, kPayloadLength, in CreateRedPayload()
114 memset(payload_ptr, static_cast<int>(i), kPayloadLength); in CreateRedPayload()
116 payload_ptr += kPayloadLength; in CreateRedPayload()
179 VerifyPacket(packet, kPayloadLength, payload_types[1], kSequenceNumber, in TEST()
[all …]
Dneteq_impl_unittest.cc260 const size_t kPayloadLength = 100; in TEST_F() local
266 uint8_t payload[kPayloadLength] = {0}; in TEST_F()
278 kPayloadLength, in TEST_F()
284 kPayloadLength, in TEST_F()
Dpacket_buffer_unittest.cc236 const int kPayloadLength = 10; in TEST() local
270 Packet* packet = gen.NextPacket(kPayloadLength); in TEST()