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.cc80 constexpr size_t TransportFeedback::LastChunk::kMaxTwoBitCapacity; member in webrtc::rtcp::TransportFeedback::LastChunk
99 if (size_ < kMaxTwoBitCapacity) in CanAdd()
130 RTC_DCHECK_GE(size_, kMaxTwoBitCapacity); in Emit()
131 uint16_t chunk = EncodeTwoBit(kMaxTwoBitCapacity); in Emit()
134 size_ -= kMaxTwoBitCapacity; in Emit()
138 DeltaSize delta_size = delta_sizes_[kMaxTwoBitCapacity + i]; in Emit()
151 if (size_ <= kMaxTwoBitCapacity) in EncodeLast()
221 chunk |= delta_sizes_[i] << 2 * (kMaxTwoBitCapacity - 1 - i); in EncodeTwoBit()
228 size_ = std::min(kMaxTwoBitCapacity, max_size); in DecodeTwoBit()
232 delta_sizes_[i] = (chunk >> 2 * (kMaxTwoBitCapacity - 1 - i)) & 0x03; in DecodeTwoBit()
Dtransport_feedback.h138 static constexpr size_t kMaxTwoBitCapacity = 7; variable