Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dcommon_header.cc54 padding_size_ = 0; in Parse()
71 padding_size_ = payload_[payload_size_ - 1]; in Parse()
72 if (padding_size_ == 0) { in Parse()
78 if (padding_size_ > payload_size_) { in Parse()
80 << padding_size_ << ") for a packet payload size of " in Parse()
84 payload_size_ -= padding_size_; in Parse()
Dcommon_header.h36 return kHeaderSizeBytes + payload_size_ + padding_size_; in packet_size()
40 return payload_ + payload_size_ + padding_size_; in NextPacket()
46 uint8_t padding_size_ = 0; variable
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet.cc128 padding_size_ = 0; in CopyHeaderFrom()
211 RTC_DCHECK_EQ(padding_size_, 0); in SetCsrcs()
246 if (padding_size_ > 0) { in AllocateRawExtension()
396 RTC_DCHECK_EQ(padding_size_, 0); in SetPayloadSize()
414 padding_size_ = rtc::dchecked_cast<uint8_t>(padding_bytes); in SetPadding()
415 buffer_.SetSize(payload_offset_ + payload_size_ + padding_size_); in SetPadding()
416 if (padding_size_ > 0) { in SetPadding()
418 size_t padding_end = padding_offset + padding_size_; in SetPadding()
419 memset(WriteAt(padding_offset), 0, padding_size_ - 1); in SetPadding()
420 WriteAt(padding_end - 1, padding_size_); in SetPadding()
[all …]
Drtp_packet.h66 size_t padding_size() const { return padding_size_; } in padding_size()
78 return payload_offset_ + payload_size_ + padding_size_; in size()
188 uint8_t padding_size_; variable