Home
last modified time | relevance | path

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

/external/webrtc/modules/congestion_controller/goog_cc/
Ddelay_based_bwe_unittest.cc38 EXPECT_TRUE(bitrate_observer_.updated()); in TEST_F()
47 EXPECT_TRUE(bitrate_observer_.updated()); in TEST_F()
48 EXPECT_GT(bitrate_observer_.latest_bitrate(), 1500000u); in TEST_F()
64 EXPECT_TRUE(bitrate_observer_.updated()); in TEST_F()
65 EXPECT_GT(bitrate_observer_.latest_bitrate(), 800000u); in TEST_F()
80 EXPECT_FALSE(bitrate_observer_.updated()); in TEST_F()
97 EXPECT_TRUE(bitrate_observer_.updated()); in TEST_F()
98 EXPECT_NEAR(bitrate_observer_.latest_bitrate(), in TEST_F()
116 EXPECT_TRUE(bitrate_observer_.updated()); in TEST_F()
117 EXPECT_NEAR(bitrate_observer_.latest_bitrate(), in TEST_F()
[all …]
Ddelay_based_bwe_unittest_helper.cc216 bitrate_observer_.OnReceiveBitrateChanged(result.target_bitrate.bps()); in IncomingFeedback()
237 bitrate_observer_.Reset(); in GenerateAndProcessFrame()
260 bitrate_observer_.OnReceiveBitrateChanged(result.target_bitrate.bps()); in GenerateAndProcessFrame()
286 EXPECT_LT(bitrate_observer_.latest_bitrate(), max_bitrate); in SteadyStateRun()
287 EXPECT_GT(bitrate_observer_.latest_bitrate(), min_bitrate); in SteadyStateRun()
288 bitrate_bps = bitrate_observer_.latest_bitrate(); in SteadyStateRun()
290 } else if (bitrate_observer_.updated()) { in SteadyStateRun()
291 bitrate_bps = bitrate_observer_.latest_bitrate(); in SteadyStateRun()
292 bitrate_observer_.Reset(); in SteadyStateRun()
314 EXPECT_FALSE(bitrate_observer_.updated()); in InitialBehaviorTestHelper()
[all …]
Ddelay_based_bwe_unittest_helper.h171 test::TestBitrateObserver bitrate_observer_; variable
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time_unittest.cc25 bitrate_observer_.get(), &clock_)); in SetUp()
131 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F()
132 EXPECT_GT(bitrate_observer_->latest_bitrate(), 1500000u); in TEST_F()
151 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F()
152 EXPECT_GT(bitrate_observer_->latest_bitrate(), 800000u); in TEST_F()
182 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F()
183 EXPECT_NEAR(bitrate_observer_->latest_bitrate(), 800000u, 10000); in TEST_F()
202 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F()
203 EXPECT_GT(bitrate_observer_->latest_bitrate(), 800000u); in TEST_F()
221 EXPECT_FALSE(bitrate_observer_->updated()); in TEST_F()
[all …]
Dremote_bitrate_estimator_unittest_helper.cc201 bitrate_observer_(new testing::TestBitrateObserver), in RemoteBitrateEstimatorTest()
261 bitrate_observer_->Reset(); in GenerateAndProcessFrame()
269 if (bitrate_observer_->updated()) { in GenerateAndProcessFrame()
270 if (bitrate_observer_->latest_bitrate() < bitrate_bps) in GenerateAndProcessFrame()
298 EXPECT_LT(bitrate_observer_->latest_bitrate(), max_bitrate); in SteadyStateRun()
299 EXPECT_GT(bitrate_observer_->latest_bitrate(), min_bitrate); in SteadyStateRun()
300 bitrate_bps = bitrate_observer_->latest_bitrate(); in SteadyStateRun()
302 } else if (bitrate_observer_->updated()) { in SteadyStateRun()
303 bitrate_bps = bitrate_observer_->latest_bitrate(); in SteadyStateRun()
304 bitrate_observer_->Reset(); in SteadyStateRun()
[all …]
Dremote_bitrate_estimator_single_stream_unittest.cc24 bitrate_observer_.get(), &clock_)); in SetUp()
Dremote_bitrate_estimator_unittest_helper.h212 std::unique_ptr<testing::TestBitrateObserver> bitrate_observer_; variable
/external/webrtc/video/
Dvideo_stream_encoder.cc328 bitrate_observer_(nullptr),
448 bitrate_observer_ = nullptr; in Stop()
460 RTC_DCHECK(!bitrate_observer_); in SetBitrateAllocationObserver()
461 bitrate_observer_ = bitrate_observer; in SetBitrateAllocationObserver()
1083 if (bitrate_observer_ && new_allocation.get_sum_bps() > 0) { in UpdateBitrateAllocationAndNotifyObserver()
1091 bitrate_observer_->OnBitrateAllocationUpdated( in UpdateBitrateAllocationAndNotifyObserver()
1096 bitrate_observer_->OnBitrateAllocationUpdated(new_allocation); in UpdateBitrateAllocationAndNotifyObserver()
Dvideo_stream_encoder.h307 VideoBitrateAllocationObserver* bitrate_observer_