/external/webrtc/call/adaptation/ |
D | resource_adaptation_processor_unittest.cc | 54 VideoAdaptationCounters adaptation_counters() const { in adaptation_counters() function in webrtc::__anonff615aeb0111::VideoSourceRestrictionsListenerForTesting 66 const VideoAdaptationCounters& adaptation_counters, in OnVideoSourceRestrictionsUpdated() argument 72 adaptation_counters_ = adaptation_counters; in OnVideoSourceRestrictionsUpdated() 276 EXPECT_EQ(0, restrictions_listener_.adaptation_counters().Total()); in TEST_F() 278 EXPECT_EQ(1, restrictions_listener_.adaptation_counters().Total()); in TEST_F() 284 EXPECT_EQ(1, restrictions_listener_.adaptation_counters().Total()); in TEST_F() 292 EXPECT_EQ(1, restrictions_listener_.adaptation_counters().Total()); in TEST_F() 295 EXPECT_EQ(2, restrictions_listener_.adaptation_counters().Total()); in TEST_F() 300 EXPECT_EQ(2, restrictions_listener_.adaptation_counters().Total()); in TEST_F() 303 EXPECT_EQ(1, restrictions_listener_.adaptation_counters().Total()); in TEST_F() [all …]
|
D | video_stream_adapter_unittest.cc | 140 const VideoAdaptationCounters& adaptation_counters, in OnVideoSourceRestrictionsUpdated() argument 202 EXPECT_EQ(0, adapter_.adaptation_counters().Total()); in TEST_F() 219 EXPECT_EQ(1, adapter_.adaptation_counters().resolution_adaptations); in TEST_F() 246 EXPECT_EQ(2, adapter_.adaptation_counters().resolution_adaptations); in TEST_F() 256 EXPECT_EQ(1, adapter_.adaptation_counters().resolution_adaptations); in TEST_F() 268 EXPECT_EQ(1, adapter_.adaptation_counters().resolution_adaptations); in TEST_F() 271 EXPECT_EQ(0, adapter_.adaptation_counters().Total()); in TEST_F() 289 EXPECT_EQ(1, adapter_.adaptation_counters().fps_adaptations); in TEST_F() 303 EXPECT_EQ(1, adapter_.adaptation_counters().fps_adaptations); in TEST_F() 316 EXPECT_EQ(2, adapter_.adaptation_counters().fps_adaptations); in TEST_F() [all …]
|
D | resource_adaptation_processor.cc | 269 stream_adapter_->adaptation_counters().Total()) { in OnResourceUnderuse() 300 << stream_adapter_->adaptation_counters().ToString(); in OnResourceUnderuse() 331 << stream_adapter_->adaptation_counters().ToString(); in OnResourceOveruse() 384 const VideoAdaptationCounters& adaptation_counters, in OnVideoSourceRestrictionsUpdated() argument 390 adaptation_counters); in OnVideoSourceRestrictionsUpdated() 391 } else if (adaptation_counters.Total() == 0) { in OnVideoSourceRestrictionsUpdated()
|
D | video_stream_adapter.h | 46 const VideoAdaptationCounters& adaptation_counters, 135 const VideoAdaptationCounters& adaptation_counters() const;
|
D | resource_adaptation_processor.h | 82 const VideoAdaptationCounters& adaptation_counters,
|
D | video_stream_adapter.cc | 229 const VideoAdaptationCounters& VideoStreamAdapter::adaptation_counters() const { in adaptation_counters() function in webrtc::VideoStreamAdapter
|
/external/webrtc/video/adaptation/ |
D | video_stream_encoder_resource_manager.h | 135 const VideoAdaptationCounters& adaptation_counters,
|
D | video_stream_encoder_resource_manager.cc | 605 const VideoAdaptationCounters& adaptation_counters, in OnVideoSourceRestrictionsUpdated() argument 610 if (!reason && adaptation_counters.Total() == 0) { in OnVideoSourceRestrictionsUpdated()
|
/external/webrtc/video/ |
D | video_stream_encoder.h | 122 const VideoAdaptationCounters& adaptation_counters,
|
D | video_stream_encoder.cc | 1817 const VideoAdaptationCounters& adaptation_counters, in OnVideoSourceRestrictionsUpdated() argument
|
D | video_stream_encoder_unittest.cc | 208 const VideoAdaptationCounters& adaptation_counters, in OnVideoSourceRestrictionsUpdated() argument
|