Searched refs:kStartBitrate (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/modules/congestion_controller/goog_cc/ |
D | probe_controller_unittest.cc | 32 constexpr DataRate kStartBitrate = DataRate::BitsPerSec(300); variable 66 kMinBitrate, kStartBitrate, kMaxBitrate, fixture.CurrentTime()); in TEST() 75 kMinBitrate, kStartBitrate, kMaxBitrate, fixture.CurrentTime()); in TEST() 90 kMinBitrate, kStartBitrate, kMaxBitrate, fixture.CurrentTime()); in TEST() 103 probes = probe_controller->SetBitrates(kMinBitrate, kStartBitrate, in TEST() 116 kMinBitrate, kStartBitrate, kMaxBitrate, fixture.CurrentTime()); in TEST() 118 EXPECT_EQ(probes[0].target_data_rate, kStartBitrate * 2); in TEST() 119 EXPECT_EQ(probes[1].target_data_rate, kStartBitrate * 3); in TEST() 127 kMinBitrate, kStartBitrate, kMaxBitrate, fixture.CurrentTime()); in TEST() 129 EXPECT_EQ(probes[0].target_data_rate, kStartBitrate * 2); in TEST() [all …]
|
D | delay_based_bwe_unittest.cc | 179 const DataRate kStartBitrate = DataRate::KilobitsPerSec(300); in TEST_F() local 185 stream_generator_->AddStream(new test::RtpStream(kFps, kStartBitrate.bps())); in TEST_F() 189 bitrate_estimator_->SetStartBitrate(kStartBitrate); in TEST_F() 192 int64_t bitrate_bps = kStartBitrate.bps(); in TEST_F() 202 EXPECT_NEAR(bitrate_observer_.latest_bitrate(), kStartBitrate.bps() / 2, in TEST_F() 213 EXPECT_NEAR(bitrate_observer_.latest_bitrate(), kStartBitrate.bps() / 2, in TEST_F() 262 const DataRate kStartBitrate = DataRate::KilobitsPerSec(300); in TEST_F() local 268 stream_generator_->AddStream(new test::RtpStream(kFps, kStartBitrate.bps())); in TEST_F() 272 bitrate_estimator_->SetStartBitrate(kStartBitrate); in TEST_F() 275 int64_t bitrate_bps = kStartBitrate.bps(); in TEST_F() [all …]
|
D | delay_based_bwe_unittest_helper.cc | 412 const int kStartBitrate = 900e3; in CapacityDropTestHelper() local 429 int bitrate = kStartBitrate / 2; in CapacityDropTestHelper() 431 bitrate = (kStartBitrate * i + kBitrateDenom / 2) / kBitrateDenom; in CapacityDropTestHelper() 436 ASSERT_EQ(bitrate_sum, kStartBitrate); in CapacityDropTestHelper() 442 kDefaultSsrc, steady_state_time * kFramerate, kStartBitrate, in CapacityDropTestHelper()
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_unittest_helper.cc | 431 const int kStartBitrate = 900e3; in CapacityDropTestHelper() local 448 int bitrate = kStartBitrate / 2; in CapacityDropTestHelper() 450 bitrate = (kStartBitrate * i + kBitrateDenom / 2) / kBitrateDenom; in CapacityDropTestHelper() 462 ASSERT_EQ(bitrate_sum, kStartBitrate); in CapacityDropTestHelper() 473 kDefaultSsrc, steady_state_time * kFramerate, kStartBitrate, in CapacityDropTestHelper()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | video_codec_unittest.cc | 26 static const int kStartBitrate = 300; variable 70 codec_settings_.startBitrate = kStartBitrate; in SetUp()
|
/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_log_unittest.cc | 895 constexpr int32_t kStartBitrate = 1000000; in TEST_P() local 929 i, kStartBitrate + i * 1000)); in TEST_P()
|
/external/webrtc/video/ |
D | video_stream_encoder_unittest.cc | 106 const DataRate kStartBitrate = DataRate::KilobitsPerSec(600); variable 1954 video_stream_encoder_->SetStartBitrate(kStartBitrate.bps()); in TEST_F() 1966 EXPECT_EQ(kStartBitrate.bps(), in TEST_F() 1972 video_stream_encoder_->SetStartBitrate(kStartBitrate.bps() * 2); in TEST_F() 1984 EXPECT_EQ(kStartBitrate.bps() * 2, in TEST_F()
|