Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dcommon_header.cc52 payload_size_ = ByteReader<uint16_t>::ReadBigEndian(&buffer[2]) * 4; in Parse()
56 if (size_bytes < kHeaderSizeBytes + payload_size_) { in Parse()
59 << payload_size_ << " bytes."; in Parse()
64 if (payload_size_ == 0) { in Parse()
71 padding_size_ = payload_[payload_size_ - 1]; in Parse()
78 if (padding_size_ > payload_size_) { in Parse()
81 << payload_size_ << " bytes."; in Parse()
84 payload_size_ -= padding_size_; in Parse()
Dcommon_header.h33 size_t payload_size_bytes() const { return payload_size_; } in payload_size_bytes()
36 return kHeaderSizeBytes + payload_size_ + padding_size_; in packet_size()
40 return payload_ + payload_size_ + padding_size_; in NextPacket()
47 uint32_t payload_size_ = 0; variable
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet.cc127 payload_size_ = 0; in CopyHeaderFrom()
210 RTC_DCHECK_EQ(payload_size_, 0); in SetCsrcs()
241 if (payload_size_ > 0) { in AllocateRawExtension()
343 RTC_CHECK_EQ(payload_size_, 0); in PromoteToTwoByteHeaderExtension()
401 payload_size_ = size_bytes; in SetPayloadSize()
402 buffer_.SetSize(payload_offset_ + payload_size_); in SetPayloadSize()
407 if (payload_offset_ + payload_size_ + padding_bytes > capacity()) { in SetPadding()
410 << (capacity() - payload_offset_ - payload_size_) in SetPadding()
415 buffer_.SetSize(payload_offset_ + payload_size_ + padding_size_); in SetPadding()
417 size_t padding_offset = payload_offset_ + payload_size_; in SetPadding()
[all …]
Drtp_packet.h65 size_t payload_size() const { return payload_size_; } in payload_size()
68 return rtc::MakeArrayView(data() + payload_offset_, payload_size_); in payload()
71 return buffer_.Slice(payload_offset_, payload_size_); in PayloadBuffer()
78 return payload_offset_ + payload_size_ + padding_size_; in size()
193 size_t payload_size_; variable
/external/webrtc/modules/audio_coding/test/
DTestAllCodecs.cc54 payload_size_(0) {} in TestPack()
89 payload_size_ = payload_size; in SendData()
97 return payload_size_; in payload_size()
105 payload_size_ = 0; in reset_payload_size()
DTestStereo.cc33 payload_size_(0), in TestPackStereo()
67 payload_size_ = static_cast<int>(payload_size); in SendData()
69 payload_size_ = -1; in SendData()
80 return static_cast<uint16_t>(payload_size_); in payload_size()
88 payload_size_ = 0; in reset_payload_size()
DTestAllCodecs.h46 size_t payload_size_; variable
DTestStereo.h53 int payload_size_; variable
/external/libchrome/mojo/core/
Dchannel_unittest.cc55 size_t GetReceivedPayloadSize() const { return payload_size_; } in GetReceivedPayloadSize()
65 payload_size_ = payload_size; in OnChannelMessage()
72 size_t payload_size_ = 0; member in mojo::core::__anonf42354e40111::MockChannelDelegate
/external/libwebm/mkvmuxer/
Dmkvmuxer.h1312 uint64_t payload_size() const { return payload_size_; } in payload_size()
1360 uint64_t payload_size_; variable
Dmkvmuxer.cc2464 payload_size_(0), in Cluster()
2554 void Cluster::AddPayloadSize(uint64_t size) { payload_size_ += size; } in AddPayloadSize()
2627 payload_size_; in Size()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h1312 uint64_t payload_size() const { return payload_size_; } in payload_size()
1360 uint64_t payload_size_; variable
Dmkvmuxer.cc2464 payload_size_(0), in Cluster()
2554 void Cluster::AddPayloadSize(uint64_t size) { payload_size_ += size; } in AddPayloadSize()
2626 payload_size_; in Size()
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h1312 uint64_t payload_size() const { return payload_size_; } in payload_size()
1360 uint64_t payload_size_; variable
Dmkvmuxer.cc2464 payload_size_(0), in Cluster()
2554 void Cluster::AddPayloadSize(uint64_t size) { payload_size_ += size; } in AddPayloadSize()
2626 payload_size_; in Size()