Home
last modified time | relevance | path

Searched refs:kStartBitrate (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/congestion_controller/goog_cc/
Dprobe_controller_unittest.cc32 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 …]
Ddelay_based_bwe_unittest.cc179 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 …]
Ddelay_based_bwe_unittest_helper.cc412 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/
Dremote_bitrate_estimator_unittest_helper.cc431 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/
Dvideo_codec_unittest.cc26 static const int kStartBitrate = 300; variable
70 codec_settings_.startBitrate = kStartBitrate; in SetUp()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest.cc895 constexpr int32_t kStartBitrate = 1000000; in TEST_P() local
929 i, kStartBitrate + i * 1000)); in TEST_P()
/external/webrtc/video/
Dvideo_stream_encoder_unittest.cc106 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()