Searched refs:bitrate_observer_ (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/webrtc/modules/bitrate_controller/ |
D | bitrate_controller_unittest.cc | 65 BitrateController::CreateBitrateController(&clock_, &bitrate_observer_); in SetUp() 67 EXPECT_EQ(kStartBitrateBps, bitrate_observer_.last_bitrate_); in SetUp() 69 EXPECT_EQ(kStartBitrateBps, bitrate_observer_.last_bitrate_); in SetUp() 86 TestBitrateObserver bitrate_observer_; member in BitrateControllerTest 94 EXPECT_EQ(kStartBitrateBps, bitrate_observer_.last_bitrate_); in TEST_F() 96 EXPECT_EQ(kDefaultMinBitrateBps, bitrate_observer_.last_bitrate_); in TEST_F() 100 EXPECT_EQ(kDefaultMaxBitrateBps, bitrate_observer_.last_bitrate_); in TEST_F() 109 EXPECT_EQ(200000, bitrate_observer_.last_bitrate_); in TEST_F() 110 EXPECT_EQ(0, bitrate_observer_.last_fraction_loss_); in TEST_F() 111 EXPECT_EQ(0, bitrate_observer_.last_rtt_); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_unittest_helper.cc | 194 bitrate_observer_(new testing::TestBitrateObserver), in RemoteBitrateEstimatorTest() 252 bitrate_observer_->Reset(); in GenerateAndProcessFrame() 260 if (bitrate_observer_->updated()) { in GenerateAndProcessFrame() 264 EXPECT_LE(bitrate_observer_->latest_bitrate(), bitrate_bps); in GenerateAndProcessFrame() 291 EXPECT_LT(bitrate_observer_->latest_bitrate(), max_bitrate); in SteadyStateRun() 292 EXPECT_GT(bitrate_observer_->latest_bitrate(), min_bitrate); in SteadyStateRun() 293 bitrate_bps = bitrate_observer_->latest_bitrate(); in SteadyStateRun() 295 } else if (bitrate_observer_->updated()) { in SteadyStateRun() 296 bitrate_bps = bitrate_observer_->latest_bitrate(); in SteadyStateRun() 297 bitrate_observer_->Reset(); in SteadyStateRun() [all …]
|
D | remote_bitrate_estimator_abs_send_time_unittest.cc | 23 bitrate_observer_.get(), &clock_)); in SetUp() 126 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F() 127 EXPECT_GT(bitrate_observer_->latest_bitrate(), 1500000u); in TEST_F() 148 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F() 149 EXPECT_GT(bitrate_observer_->latest_bitrate(), 800000u); in TEST_F() 179 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F() 180 EXPECT_NEAR(bitrate_observer_->latest_bitrate(), 800000u, 10000); in TEST_F() 199 EXPECT_TRUE(bitrate_observer_->updated()); in TEST_F() 200 EXPECT_GT(bitrate_observer_->latest_bitrate(), 800000u); in TEST_F() 218 EXPECT_FALSE(bitrate_observer_->updated()); in TEST_F() [all …]
|
D | remote_bitrate_estimator_single_stream_unittest.cc | 23 bitrate_observer_.get(), &clock_)); in SetUp()
|
D | remote_bitrate_estimator_unittest_helper.h | 211 rtc::scoped_ptr<testing::TestBitrateObserver> bitrate_observer_; variable
|
/external/webrtc/webrtc/video/ |
D | vie_encoder.cc | 139 bitrate_observer_.reset(new ViEBitrateObserver(this)); in ViEEncoder() 169 bitrate_allocator_->RemoveBitrateObserver(bitrate_observer_.get()); in StopThreadsAndRemoveSharedMembers() 228 bitrate_observer_.get(), video_codec.minBitrate * 1000, in SetEncoder()
|
D | vie_encoder.h | 162 rtc::scoped_ptr<BitrateObserver> bitrate_observer_; variable
|
/external/webrtc/webrtc/audio/ |
D | audio_send_stream_unittest.cc | 59 &bitrate_observer_) { in ConfigHelper() 162 testing::NiceMock<MockBitrateObserver> bitrate_observer_; member
|
D | audio_receive_stream_unittest.cc | 71 &bitrate_observer_) { in ConfigHelper() 154 testing::NiceMock<MockBitrateObserver> bitrate_observer_; member
|