Searched refs:CanAdaptUp (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/rtc_base/experiments/ |
D | balanced_degradation_settings_unittest.cc | 65 EXPECT_TRUE(settings.CanAdaptUp(kVideoCodecVP8, 1, /*bitrate_bps*/ 1)); in TEST() 370 TEST(BalancedDegradationSettings, CanAdaptUp) { in TEST() argument 377 EXPECT_TRUE(s.CanAdaptUp(vp8, 1000, 0)); // No bitrate provided. in TEST() 378 EXPECT_FALSE(s.CanAdaptUp(vp8, 1000, 79000)); in TEST() 379 EXPECT_TRUE(s.CanAdaptUp(vp8, 1000, 80000)); in TEST() 380 EXPECT_TRUE(s.CanAdaptUp(vp8, 1001, 1)); // No limit configured. in TEST() 381 EXPECT_FALSE(s.CanAdaptUp(vp8, 3000, 89000)); in TEST() 382 EXPECT_TRUE(s.CanAdaptUp(vp8, 3000, 90000)); in TEST() 383 EXPECT_TRUE(s.CanAdaptUp(vp8, 3001, 1)); // No limit. in TEST() 393 EXPECT_FALSE(s.CanAdaptUp(kVideoCodecVP8, 1000, 29000)); in TEST() [all …]
|
D | balanced_degradation_settings.h | 119 bool CanAdaptUp(VideoCodecType type, int pixels, uint32_t bitrate_bps) const;
|
D | balanced_degradation_settings.cc | 431 bool BalancedDegradationSettings::CanAdaptUp(VideoCodecType type, in CanAdaptUp() function in webrtc::BalancedDegradationSettings
|
/external/webrtc/video/adaptation/ |
D | video_stream_encoder_resource_manager.cc | 245 !manager_->balanced_settings_.CanAdaptUp( in IsAdaptationUpAllowed()
|