Home
last modified time | relevance | path

Searched refs:CanAdaptUpResolution (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/rtc_base/experiments/
Dbalanced_degradation_settings_unittest.cc67 settings.CanAdaptUpResolution(kVideoCodecVP8, 1, /*bitrate_bps*/ 1)); in TEST()
406 TEST(BalancedDegradationSettings, CanAdaptUpResolution) { in TEST() argument
413 EXPECT_TRUE(s.CanAdaptUpResolution(vp8, 1000, 0)); // No bitrate provided. in TEST()
414 EXPECT_FALSE(s.CanAdaptUpResolution(vp8, 1000, 79000)); in TEST()
415 EXPECT_TRUE(s.CanAdaptUpResolution(vp8, 1000, 80000)); in TEST()
416 EXPECT_TRUE(s.CanAdaptUpResolution(vp8, 1001, 1)); // No limit configured. in TEST()
417 EXPECT_FALSE(s.CanAdaptUpResolution(vp8, 3000, 89000)); in TEST()
418 EXPECT_TRUE(s.CanAdaptUpResolution(vp8, 3000, 90000)); in TEST()
419 EXPECT_TRUE(s.CanAdaptUpResolution(vp8, 3001, 1)); // No limit. in TEST()
429 EXPECT_FALSE(s.CanAdaptUpResolution(kVideoCodecVP8, 1000, 29000)); in TEST()
[all …]
Dbalanced_degradation_settings.h120 bool CanAdaptUpResolution(VideoCodecType type,
Dbalanced_degradation_settings.cc441 bool BalancedDegradationSettings::CanAdaptUpResolution( in CanAdaptUpResolution() function in webrtc::BalancedDegradationSettings
/external/webrtc/video/adaptation/
Dvideo_stream_encoder_resource_manager.cc253 !manager_->balanced_settings_.CanAdaptUpResolution( in IsAdaptationUpAllowed()