Home
last modified time | relevance | path

Searched refs:TransportFeedback (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback.cc36 TransportFeedback::kDeltaScaleFactor * (1 << 8);
43 std::vector<TransportFeedback::StatusSymbol>* vec) const = 0;
47 uint8_t EncodeSymbol(TransportFeedback::StatusSymbol symbol) { in EncodeSymbol()
49 case TransportFeedback::StatusSymbol::kNotReceived: in EncodeSymbol()
51 case TransportFeedback::StatusSymbol::kReceivedSmallDelta: in EncodeSymbol()
53 case TransportFeedback::StatusSymbol::kReceivedLargeDelta: in EncodeSymbol()
61 TransportFeedback::StatusSymbol DecodeSymbol(uint8_t value) { in DecodeSymbol()
64 return TransportFeedback::StatusSymbol::kNotReceived; in DecodeSymbol()
66 return TransportFeedback::StatusSymbol::kReceivedSmallDelta; in DecodeSymbol()
68 return TransportFeedback::StatusSymbol::kReceivedLargeDelta; in DecodeSymbol()
[all …]
Dtransport_feedback_unittest.cc19 using webrtc::rtcp::TransportFeedback;
29 static const int64_t kDeltaLimit = 0xFF * TransportFeedback::kDeltaScaleFactor;
35 default_delta_(TransportFeedback::kDeltaScaleFactor * 4) {} in FeedbackTester()
55 feedback_.reset(new TransportFeedback()); in WithInput()
76 feedback_ = TransportFeedback::ParseFrom(serialized_->Buffer(), in VerifyPacket()
93 std::vector<TransportFeedback::StatusSymbol> symbols = in VerifyInternal()
97 for (TransportFeedback::StatusSymbol symbol : symbols) { in VerifyInternal()
99 (symbol == TransportFeedback::StatusSymbol::kReceivedSmallDelta || in VerifyInternal()
100 symbol == TransportFeedback::StatusSymbol::kReceivedLargeDelta); in VerifyInternal()
139 rtc::scoped_ptr<TransportFeedback> feedback_;
[all …]
Dtransport_feedback.h26 class TransportFeedback : public RtcpPacket {
28 TransportFeedback();
29 virtual ~TransportFeedback();
46 std::vector<TransportFeedback::StatusSymbol> GetStatusVector() const;
61 static rtc::scoped_ptr<TransportFeedback> ParseFrom(const uint8_t* buffer,
100 RTC_DISALLOW_COPY_AND_ASSIGN(TransportFeedback);
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_estimator_proxy_unittest.cc27 MOCK_METHOD1(SendFeedback, bool(rtcp::TransportFeedback* packet));
58 (rtcp::TransportFeedback::kDeltaScaleFactor * 0xFF) / 1000;
66 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
71 std::vector<rtcp::TransportFeedback::StatusSymbol> status_vec = in TEST_F()
74 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedSmallDelta, in TEST_F()
92 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F()
97 std::vector<rtcp::TransportFeedback::StatusSymbol> status_vec = in TEST_F()
100 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedSmallDelta, in TEST_F()
102 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedSmallDelta, in TEST_F()
104 EXPECT_EQ(rtcp::TransportFeedback::StatusSymbol::kReceivedLargeDelta, in TEST_F()
[all …]
Dtransport_feedback_adapter_unittest.cc132 rtcp::TransportFeedback feedback; in TEST_F()
168 rtcp::TransportFeedback feedback; in TEST_F()
195 int64_t kHighArrivalTimeMs = rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
207 rtc::scoped_ptr<rtcp::TransportFeedback> feedback( in TEST_F()
208 new rtcp::TransportFeedback()); in TEST_F()
216 feedback = rtcp::TransportFeedback::ParseFrom(raw_packet->Buffer(), in TEST_F()
235 rtcp::TransportFeedback::kDeltaScaleFactor * ((1 << 8) - 1); in TEST_F()
237 rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
240 rtcp::TransportFeedback::kDeltaScaleFactor * in TEST_F()
272 rtc::scoped_ptr<rtcp::TransportFeedback> feedback( in TEST_F()
[all …]
Dtransport_feedback_adapter.cc26 rtcp::TransportFeedback::kDeltaScaleFactor * (1 << 8);
67 const rtcp::TransportFeedback& feedback) { in OnTransportFeedback()
99 if (symbol != rtcp::TransportFeedback::StatusSymbol::kNotReceived) { in OnTransportFeedback()
Dremote_estimator_proxy.h26 class TransportFeedback; variable
59 bool BuildFeedbackPacket(rtcp::TransportFeedback* feedback_packetket);
Dremote_estimator_proxy.cc90 rtcp::TransportFeedback feedback_packet; in Process()
125 rtcp::TransportFeedback* feedback_packet) { in BuildFeedbackPacket()
Dtransport_feedback_adapter.h42 void OnTransportFeedback(const rtcp::TransportFeedback& feedback) override;
/external/webrtc/webrtc/modules/pacing/
Dpacket_router.h28 class TransportFeedback; variable
54 virtual bool SendFeedback(rtcp::TransportFeedback* packet);
Dpacket_router.cc93 bool PacketRouter::SendFeedback(rtcp::TransportFeedback* packet) { in SendFeedback()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver_help.h26 class TransportFeedback; variable
92 rtc::scoped_ptr<rtcp::TransportFeedback> transport_feedback_;
Drtcp_sender.h151 bool SendFeedbackPacket(const rtcp::TransportFeedback& packet);
Drtp_rtcp_impl.h233 bool SendFeedbackPacket(const rtcp::TransportFeedback& packet) override;
Drtcp_receiver_unittest.cc1047 rtcp::TransportFeedback packet; in TEST_F()
1072 rtcp::TransportFeedback packet; in TEST_F()
Drtp_rtcp_impl.cc772 const rtcp::TransportFeedback& packet) { in SendFeedbackPacket()
Drtcp_sender.cc1042 bool RTCPSender::SendFeedbackPacket(const rtcp::TransportFeedback& packet) { in SendFeedbackPacket()
Drtcp_utility.cc1238 rtcp::TransportFeedback::ParseFrom(_ptrRTCPData - 12, length); in ParseFBCommon()
Drtcp_receiver.cc1266 static_cast<rtcp::TransportFeedback*>(packet)); in HandleTransportFeedback()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.h28 class TransportFeedback; variable
316 virtual void OnTransportFeedback(const rtcp::TransportFeedback& feedback) = 0;
Drtp_rtcp.h28 class TransportFeedback; variable
547 virtual bool SendFeedbackPacket(const rtcp::TransportFeedback& packet) = 0;
/external/webrtc/webrtc/modules/rtp_rtcp/mocks/
Dmock_rtp_rtcp.h218 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet));
/external/webrtc/webrtc/voice_engine/
Dchannel.cc73 void OnTransportFeedback(const rtcp::TransportFeedback& feedback) override { in OnTransportFeedback()