Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback.cc81 constexpr size_t TransportFeedback::LastChunk::kMaxTwoBitCapacity; member in webrtc::rtcp::TransportFeedback::LastChunk
100 if (size_ < kMaxTwoBitCapacity) in CanAdd()
140 RTC_DCHECK_GE(size_, kMaxTwoBitCapacity); in Emit()
141 uint16_t chunk = EncodeTwoBit(kMaxTwoBitCapacity); in Emit()
144 size_ -= kMaxTwoBitCapacity; in Emit()
148 DeltaSize delta_size = delta_sizes_[kMaxTwoBitCapacity + i]; in Emit()
161 if (size_ <= kMaxTwoBitCapacity) in EncodeLast()
232 chunk |= delta_sizes_[i] << 2 * (kMaxTwoBitCapacity - 1 - i); in EncodeTwoBit()
239 size_ = std::min(kMaxTwoBitCapacity, max_size); in DecodeTwoBit()
243 delta_sizes_[i] = (chunk >> 2 * (kMaxTwoBitCapacity - 1 - i)) & 0x03; in DecodeTwoBit()
Dtransport_feedback.h141 static constexpr size_t kMaxTwoBitCapacity = 7; variable