Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet.cc134 WriteAt(1, data()[1] | 0x80); in SetMarker()
136 WriteAt(1, data()[1] & 0x7F); in SetMarker()
143 WriteAt(1, (data()[1] & 0x80) | payload_type); in SetPayloadType()
148 ByteWriter<uint16_t>::WriteBigEndian(WriteAt(2), seq_no); in SetSequenceNumber()
153 ByteWriter<uint32_t>::WriteBigEndian(WriteAt(4), timestamp); in SetTimestamp()
158 ByteWriter<uint32_t>::WriteBigEndian(WriteAt(8), ssrc); in SetSsrc()
173 WriteAt(extension.offset + in ZeroMutableExtensions()
185 memset(WriteAt(extension.offset), 0, extension.length); in ZeroMutableExtensions()
215 WriteAt(0, (data()[0] & 0xF0) | rtc::dchecked_cast<uint8_t>(csrcs.size())); in SetCsrcs()
218 ByteWriter<uint32_t>::WriteBigEndian(WriteAt(offset), csrc); in SetCsrcs()
[all …]
Drtp_packet.h181 uint8_t* WriteAt(size_t offset) { return buffer_.data() + offset; } in WriteAt() function
182 void WriteAt(size_t offset, uint8_t byte) { buffer_.data()[offset] = byte; } in WriteAt() function