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.cc79 constexpr size_t TransportFeedback::LastChunk::kMaxOneBitCapacity; member in webrtc::rtcp::TransportFeedback::LastChunk
101 if (size_ < kMaxOneBitCapacity && !has_large_delta_ && delta_size != kLarge) in CanAdd()
125 if (size_ == kMaxOneBitCapacity) { in Emit()
189 RTC_DCHECK_LE(size_, kMaxOneBitCapacity); in EncodeOneBit()
192 chunk |= delta_sizes_[i] << (kMaxOneBitCapacity - 1 - i); in EncodeOneBit()
199 size_ = std::min(kMaxOneBitCapacity, max_size); in DecodeOneBit()
203 delta_sizes_[i] = (chunk >> (kMaxOneBitCapacity - 1 - i)) & 0x01; in DecodeOneBit()
Dtransport_feedback.h137 static constexpr size_t kMaxOneBitCapacity = 14; variable
139 static constexpr size_t kMaxVectorCapacity = kMaxOneBitCapacity;