Searched refs:CanAdaptUpResolution (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/rtc_base/experiments/ |
D | balanced_degradation_settings_unittest.cc | 67 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 …]
|
D | balanced_degradation_settings.h | 120 bool CanAdaptUpResolution(VideoCodecType type,
|
D | balanced_degradation_settings.cc | 441 bool BalancedDegradationSettings::CanAdaptUpResolution( in CanAdaptUpResolution() function in webrtc::BalancedDegradationSettings
|
/external/webrtc/video/adaptation/ |
D | video_stream_encoder_resource_manager.cc | 253 !manager_->balanced_settings_.CanAdaptUpResolution( in IsAdaptationUpAllowed()
|