/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | tmmbr.cc | 54 if (packet.payload_size_bytes() < kCommonFeedbackLength + TmmbItem::kLength) { in Parse() 60 if (items_size_bytes % TmmbItem::kLength != 0) { in Parse() 68 size_t number_of_items = items_size_bytes / TmmbItem::kLength; in Parse() 70 for (TmmbItem& item : items_) { in Parse() 73 next_item += TmmbItem::kLength; in Parse() 78 void Tmmbr::AddTmmbr(const TmmbItem& item) { in AddTmmbr() 84 TmmbItem::kLength * items_.size(); in BlockLength() 103 for (const TmmbItem& item : items_) { in Create() 105 *index += TmmbItem::kLength; in Create()
|
D | tmmbn.cc | 59 if (items_size_bytes % TmmbItem::kLength != 0) { in Parse() 67 size_t number_of_items = items_size_bytes / TmmbItem::kLength; in Parse() 69 for (TmmbItem& item : items_) { in Parse() 72 next_item += TmmbItem::kLength; in Parse() 77 void Tmmbn::AddTmmbr(const TmmbItem& item) { in AddTmmbr() 83 TmmbItem::kLength * items_.size(); in BlockLength() 101 for (const TmmbItem& item : items_) { in Create() 103 *index += TmmbItem::kLength; in Create()
|
D | tmmb_item.cc | 19 TmmbItem::TmmbItem(uint32_t ssrc, uint64_t bitrate_bps, uint16_t overhead) in TmmbItem() function in webrtc::rtcp::TmmbItem 31 bool TmmbItem::Parse(const uint8_t* buffer) { in Parse() 52 void TmmbItem::Create(uint8_t* buffer) const { in Create() 66 void TmmbItem::set_packet_overhead(uint16_t overhead) { in set_packet_overhead()
|
D | tmmbr.h | 35 void AddTmmbr(const TmmbItem& item); 37 const std::vector<TmmbItem>& requests() const { return items_; } in requests() 50 std::vector<TmmbItem> items_;
|
D | tmmbn.h | 35 void AddTmmbr(const TmmbItem& item); 37 const std::vector<TmmbItem>& items() const { return items_; } in items() 51 std::vector<TmmbItem> items_;
|
D | tmmb_item.h | 22 class TmmbItem { 26 TmmbItem() : ssrc_(0), bitrate_bps_(0), packet_overhead_(0) {} in TmmbItem() function 27 TmmbItem(uint32_t ssrc, uint64_t bitrate_bps, uint16_t overhead);
|
D | tmmbr_unittest.cc | 19 using webrtc::rtcp::TmmbItem; 36 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST() 59 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST() 60 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc + 1, 4 * kBitrateBps, kOverhead + 1)); in TEST()
|
D | tmmbn_unittest.cc | 20 using webrtc::rtcp::TmmbItem; 37 tmmbn.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST() 73 tmmbn.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST() 74 tmmbn.AddTmmbr(TmmbItem(kRemoteSsrc + 1, 4 * kBitrateBps, 40)); in TEST()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | tmmbr_help.cc | 21 std::vector<rtcp::TmmbItem> TMMBRHelp::FindBoundingSet( in FindBoundingSet() 22 std::vector<rtcp::TmmbItem> candidates) { in FindBoundingSet() 38 [](const rtcp::TmmbItem& lhs, const rtcp::TmmbItem& rhs) { in FindBoundingSet() 81 std::vector<rtcp::TmmbItem> bounding_set; in FindBoundingSet() 113 rtcp::TmmbItem cur_candidate; in FindBoundingSet() 165 bool TMMBRHelp::IsOwner(const std::vector<rtcp::TmmbItem>& bounding, in IsOwner() 167 for (const rtcp::TmmbItem& item : bounding) { in IsOwner() 176 const std::vector<rtcp::TmmbItem>& candidates) { in CalcMinBitrateBps() 179 for (const rtcp::TmmbItem& item : candidates) in CalcMinBitrateBps()
|
D | tmmbr_help.h | 24 static std::vector<rtcp::TmmbItem> FindBoundingSet( 25 std::vector<rtcp::TmmbItem> candidates); 27 static bool IsOwner(const std::vector<rtcp::TmmbItem>& bounding, 31 const std::vector<rtcp::TmmbItem>& candidates);
|
D | rtcp_receiver.h | 38 class TmmbItem; variable 45 virtual void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) = 0; 115 std::vector<rtcp::TmmbItem> TmmbrReceived(); 118 std::vector<rtcp::TmmbItem> BoundingSet(bool* tmmbr_owner);
|
D | rtcp_receiver.cc | 122 rtcp::TmmbItem tmmbr_item; 130 std::vector<rtcp::TmmbItem> tmmbn; 703 std::vector<rtcp::TmmbItem> RTCPReceiver::BoundingSet(bool* tmmbr_owner) { in BoundingSet() 707 return std::vector<rtcp::TmmbItem>(); in BoundingSet() 913 for (const rtcp::TmmbItem& request : tmmbr.requests()) { in HandleTmmbr() 919 entry->tmmbr_item = rtcp::TmmbItem(sender_ssrc, request.bitrate_bps(), in HandleTmmbr() 1038 std::vector<rtcp::TmmbItem> bounding = in NotifyTmmbrUpdated() 1191 std::vector<rtcp::TmmbItem> RTCPReceiver::TmmbrReceived() { in TmmbrReceived() 1193 std::vector<rtcp::TmmbItem> candidates; in TmmbrReceived()
|
D | rtcp_sender.cc | 554 std::vector<rtcp::TmmbItem> candidates = in BuildTMMBR() 571 std::vector<rtcp::TmmbItem> bounding = in BuildTMMBR() 586 rtcp::TmmbItem request; in BuildTMMBR() 599 for (const rtcp::TmmbItem& tmmbr : tmmbn_to_send_) { in BuildTMMBN() 912 void RTCPSender::SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) { in SetTmmbn()
|
D | rtcp_sender.h | 139 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) 261 std::vector<rtcp::TmmbItem> tmmbn_to_send_ RTC_GUARDED_BY(mutex_rtcp_sender_);
|
D | rtcp_receiver_unittest.cc | 117 MOCK_METHOD(void, SetTmmbn, (std::vector<rtcp::TmmbItem>), (override)); 1205 tmmbr.AddTmmbr(rtcp::TmmbItem(kReceiverMainSsrc, kBitrateBps, 0)); in TEST() 1219 std::vector<rtcp::TmmbItem> tmmbr_received = receiver.TmmbrReceived(); in TEST() 1233 tmmbr.AddTmmbr(rtcp::TmmbItem(kNotToUsSsrc, kBitrateBps, 0)); in TEST() 1256 tmmbr.AddTmmbr(rtcp::TmmbItem(kReceiverMainSsrc, 0, 0)); in TEST() 1281 tmmbr.AddTmmbr(rtcp::TmmbItem(kReceiverMainSsrc, 30000, 0)); in TEST() 1298 std::vector<rtcp::TmmbItem> candidate_set = receiver.TmmbrReceived(); in TEST()
|
D | rtp_rtcp_impl2.h | 215 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override;
|
D | rtp_rtcp_impl.h | 223 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override;
|
D | rtcp_sender_unittest.cc | 576 std::vector<rtcp::TmmbItem> bounding_set; in TEST_F() 580 const rtcp::TmmbItem tmmbn(kSourceSsrc, kBitrateBps, kPacketOh); in TEST_F() 603 std::vector<rtcp::TmmbItem> bounding_set; in TEST_F()
|
D | rtp_rtcp_impl2.cc | 538 void ModuleRtpRtcpImpl2::SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) { in SetTmmbn()
|
D | rtp_rtcp_impl.cc | 634 void ModuleRtpRtcpImpl::SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) { in SetTmmbn()
|
/external/webrtc/test/fuzzers/ |
D | rtcp_receiver_fuzzer.cc | 27 void SetTmmbn(std::vector<rtcp::TmmbItem>) override {} in SetTmmbn() argument
|