Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback.cc80 constexpr size_t TransportFeedback::LastChunk::kMaxOneBitCapacity; member in webrtc::rtcp::TransportFeedback::LastChunk
102 if (size_ < kMaxOneBitCapacity && !has_large_delta_ && delta_size != kLarge) in CanAdd()
135 if (size_ == kMaxOneBitCapacity) { in Emit()
200 RTC_DCHECK_LE(size_, kMaxOneBitCapacity); in EncodeOneBit()
203 chunk |= delta_sizes_[i] << (kMaxOneBitCapacity - 1 - i); in EncodeOneBit()
210 size_ = std::min(kMaxOneBitCapacity, max_size); in DecodeOneBit()
214 delta_sizes_[i] = (chunk >> (kMaxOneBitCapacity - 1 - i)) & 0x01; in DecodeOneBit()
Dtransport_feedback.h140 static constexpr size_t kMaxOneBitCapacity = 14;
142 static constexpr size_t kMaxVectorCapacity = kMaxOneBitCapacity;