Searched refs:QualityRampupExperiment (Results 1 – 5 of 5) sorted by relevance
20 QualityRampupExperiment::QualityRampupExperiment( in QualityRampupExperiment() function in webrtc::QualityRampupExperiment30 QualityRampupExperiment QualityRampupExperiment::ParseSettings() { in ParseSettings()32 return QualityRampupExperiment(&field_trial_config); in ParseSettings()35 absl::optional<int> QualityRampupExperiment::MinPixels() const { in MinPixels()39 absl::optional<int> QualityRampupExperiment::MinDurationMs() const { in MinDurationMs()43 absl::optional<double> QualityRampupExperiment::MaxBitrateFactor() const { in MaxBitrateFactor()47 void QualityRampupExperiment::SetMaxBitrate(int pixels, in SetMaxBitrate()55 bool QualityRampupExperiment::BwHigh(int64_t now_ms, in BwHigh()73 bool QualityRampupExperiment::Enabled() const { in Enabled()
30 const auto settings = QualityRampupExperiment::ParseSettings(); in TEST_F()39 EXPECT_EQ(10000, QualityRampupExperiment::ParseSettings().MinPixels()); in TEST_F()45 EXPECT_EQ(987, QualityRampupExperiment::ParseSettings().MinDurationMs()); in TEST_F()51 EXPECT_EQ(1.23, QualityRampupExperiment::ParseSettings().MaxBitrateFactor()); in TEST_F()58 auto exp = QualityRampupExperiment::ParseSettings(); in TEST_F()75 auto exp = QualityRampupExperiment::ParseSettings(); in TEST_F()91 auto exp = QualityRampupExperiment::ParseSettings(); in TEST_F()105 auto exp = QualityRampupExperiment::ParseSettings(); in TEST_F()124 auto exp = QualityRampupExperiment::ParseSettings(); in TEST_F()
20 class QualityRampupExperiment final {22 static QualityRampupExperiment ParseSettings();39 explicit QualityRampupExperiment(
23 QualityRampupExperiment experiment) in QualityRampUpExperimentHelper()37 QualityRampupExperiment experiment = QualityRampupExperiment::ParseSettings(); in CreateIfEnabled()
58 QualityRampupExperiment experiment);61 QualityRampupExperiment quality_rampup_experiment_;