Home
last modified time | relevance | path

Searched refs:last_fraction_loss_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/modules/bitrate_controller/
Dsend_side_bandwidth_estimation.cc55 last_fraction_loss_(0), in SendSideBandwidthEstimation()
97 *loss = last_fraction_loss_; in CurrentEstimate()
130 last_fraction_loss_ = lost_packets_since_last_loss_update_Q8_ / in UpdateReceiverBlock()
178 if (last_fraction_loss_ == 0 && IsInStartPhase(now_ms) && in UpdateEstimate()
190 if (last_fraction_loss_ <= 5) { in UpdateEstimate()
210 bitrate_, last_fraction_loss_, in UpdateEstimate()
213 } else if (last_fraction_loss_ <= 26) { in UpdateEstimate()
227 (bitrate_ * static_cast<double>(512 - last_fraction_loss_)) / in UpdateEstimate()
233 bitrate_, last_fraction_loss_, in UpdateEstimate()
Dbitrate_controller_unittest.cc42 last_fraction_loss_(0), in TestBitrateObserver()
50 last_fraction_loss_ = fraction_loss; in OnNetworkChanged()
54 uint8_t last_fraction_loss_; member in TestBitrateObserver
110 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F()
123 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F()
131 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F()
168 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F()
192 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F()
204 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F()
262 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F()
[all …]
Dbitrate_controller_impl.cc93 last_fraction_loss_(0), in BitrateControllerImpl()
200 if (*bitrate != last_bitrate_bps_ || *fraction_loss != last_fraction_loss_ || in GetNetworkParameters()
204 last_fraction_loss_ = *fraction_loss; in GetNetworkParameters()
Dbitrate_controller_impl.h81 uint8_t last_fraction_loss_ GUARDED_BY(critsect_);
Dsend_side_bandwidth_estimation.h79 uint8_t last_fraction_loss_; variable
/external/webrtc/webrtc/call/
Dbitrate_allocator_unittest.cc23 : last_bitrate_(0), last_fraction_loss_(0), last_rtt_(0) {} in TestBitrateObserver()
29 last_fraction_loss_ = fraction_loss; in OnNetworkChanged()
33 uint8_t last_fraction_loss_; member in webrtc::TestBitrateObserver
85 EXPECT_EQ(0, bitrate_observer_1.last_fraction_loss_); in TEST_F()
88 EXPECT_EQ(0, bitrate_observer_2.last_fraction_loss_); in TEST_F()
Dbitrate_allocator.cc32 last_fraction_loss_(0), in BitrateAllocator()
40 last_fraction_loss_ = fraction_loss; in OnNetworkChanged()
45 kv.first->OnNetworkChanged(kv.second, last_fraction_loss_, last_rtt_); in OnNetworkChanged()
91 kv.first->OnNetworkChanged(kv.second, last_fraction_loss_, last_rtt_); in AddBitrateObserver()
Dbitrate_allocator.h98 uint8_t last_fraction_loss_ GUARDED_BY(crit_sect_);
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
Dnada_unittest.cc86 : last_bitrate_(0), last_fraction_loss_(0), last_rtt_(0) {} in TestBitrateObserver()
92 last_fraction_loss_ = fraction_loss; in OnNetworkChanged()
96 uint8_t last_fraction_loss_; member in webrtc::testing::bwe::TestBitrateObserver