Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet.cc229 const ExtensionInfo* extension_entry = FindExtensionInfo(id); in AllocateRawExtension() local
230 if (extension_entry != nullptr) { in AllocateRawExtension()
232 if (extension_entry->length == length) in AllocateRawExtension()
233 return rtc::MakeArrayView(WriteAt(extension_entry->offset), length); in AllocateRawExtension()
237 << static_cast<int>(extension_entry->length) in AllocateRawExtension()
350 for (auto extension_entry = extension_entries_.rbegin(); in PromoteToTwoByteHeaderExtension() local
351 extension_entry != extension_entries_.rend(); ++extension_entry) { in PromoteToTwoByteHeaderExtension()
352 size_t read_index = extension_entry->offset; in PromoteToTwoByteHeaderExtension()
355 extension_entry->offset = rtc::dchecked_cast<uint16_t>(write_index); in PromoteToTwoByteHeaderExtension()
357 memmove(WriteAt(write_index), data() + read_index, extension_entry->length); in PromoteToTwoByteHeaderExtension()
[all …]