Home
last modified time | relevance | path

Searched refs:resource_adaptation_queue_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/video/adaptation/
Dvideo_stream_encoder_resource.cc22 resource_adaptation_queue_(nullptr), in VideoStreamEncoderResource()
41 RTC_DCHECK(!resource_adaptation_queue_); in RegisterAdaptationTaskQueue()
43 resource_adaptation_queue_ = resource_adaptation_queue; in RegisterAdaptationTaskQueue()
48 RTC_DCHECK(resource_adaptation_queue_); in UnregisterAdaptationTaskQueue()
49 RTC_DCHECK_RUN_ON(resource_adaptation_queue_); in UnregisterAdaptationTaskQueue()
50 resource_adaptation_queue_ = nullptr; in UnregisterAdaptationTaskQueue()
80 RTC_DCHECK(resource_adaptation_queue_); in resource_adaptation_queue()
81 RTC_DCHECK_RUN_ON(resource_adaptation_queue_); in resource_adaptation_queue()
82 return resource_adaptation_queue_; in resource_adaptation_queue()
Dvideo_stream_encoder_resource_manager.cc134 resource_adaptation_queue_(nullptr), in BitrateConstraint()
140 resource_adaptation_queue_ = resource_adaptation_queue; in SetAdaptationQueue()
146 resource_adaptation_queue_->PostTask( in OnEncoderSettingsUpdated()
149 RTC_DCHECK_RUN_ON(this_ref->resource_adaptation_queue_); in OnEncoderSettingsUpdated()
158 resource_adaptation_queue_->PostTask( in OnEncoderTargetBitrateUpdated()
161 RTC_DCHECK_RUN_ON(this_ref->resource_adaptation_queue_); in OnEncoderTargetBitrateUpdated()
171 RTC_DCHECK_RUN_ON(resource_adaptation_queue_); in IsAdaptationUpAllowed()
205 resource_adaptation_queue_(nullptr), in BalancedConstraint()
214 resource_adaptation_queue_ = resource_adaptation_queue; in SetAdaptationQueue()
221 resource_adaptation_queue_->PostTask( in OnEncoderTargetBitrateUpdated()
[all …]
Dvideo_stream_encoder_resource_manager.h195 TaskQueueBase* resource_adaptation_queue_; variable
197 RTC_GUARDED_BY(resource_adaptation_queue_);
199 RTC_GUARDED_BY(resource_adaptation_queue_);
227 TaskQueueBase* resource_adaptation_queue_; variable
229 RTC_GUARDED_BY(resource_adaptation_queue_);
240 rtc::TaskQueue* resource_adaptation_queue_; variable
244 RTC_GUARDED_BY(resource_adaptation_queue_);
246 RTC_GUARDED_BY(resource_adaptation_queue_);
Dvideo_stream_encoder_resource.h64 if (!resource_adaptation_queue_) in MaybePostTaskToResourceAdaptationQueue()
66 resource_adaptation_queue_->PostTask(ToQueuedTask(closure)); in MaybePostTaskToResourceAdaptationQueue()
74 TaskQueueBase* resource_adaptation_queue_ RTC_GUARDED_BY(lock_);
Dquality_scaler_resource_unittest.cc80 resource_adaptation_queue_(task_queue_factory_->CreateTaskQueue( in QualityScalerResourceTest()
91 resource_adaptation_queue_.Get()); in QualityScalerResourceTest()
112 rtc::TaskQueue resource_adaptation_queue_; member in webrtc::QualityScalerResourceTest
/external/webrtc/call/adaptation/
Dresource_adaptation_processor.h103 TaskQueueBase* resource_adaptation_queue_;
105 RTC_GUARDED_BY(resource_adaptation_queue_);
133 RTC_RUN_ON(resource_adaptation_queue_);
142 FindMostLimitedResources() const RTC_RUN_ON(resource_adaptation_queue_);
147 TaskQueueBase* resource_adaptation_queue_; variable
151 RTC_GUARDED_BY(resource_adaptation_queue_);
156 RTC_GUARDED_BY(resource_adaptation_queue_);
161 RTC_GUARDED_BY(resource_adaptation_queue_);
164 RTC_GUARDED_BY(resource_adaptation_queue_);
166 RTC_GUARDED_BY(resource_adaptation_queue_);
[all …]
Dresource_adaptation_processor.cc30 : resource_adaptation_queue_(nullptr), processor_(processor) {} in ResourceListenerDelegate()
34 RTC_DCHECK(!resource_adaptation_queue_); in SetResourceAdaptationQueue()
36 resource_adaptation_queue_ = resource_adaptation_queue; in SetResourceAdaptationQueue()
37 RTC_DCHECK_RUN_ON(resource_adaptation_queue_); in SetResourceAdaptationQueue()
42 RTC_DCHECK_RUN_ON(resource_adaptation_queue_); in OnProcessorDestroyed()
49 if (!resource_adaptation_queue_->IsCurrent()) { in OnResourceUsageStateMeasured()
50 resource_adaptation_queue_->PostTask(ToQueuedTask( in OnResourceUsageStateMeasured()
57 RTC_DCHECK_RUN_ON(resource_adaptation_queue_); in OnResourceUsageStateMeasured()
74 : resource_adaptation_queue_(nullptr), in ResourceAdaptationProcessor()
87 RTC_DCHECK_RUN_ON(resource_adaptation_queue_); in ~ResourceAdaptationProcessor()
[all …]
/external/webrtc/video/
Dvideo_stream_encoder.h117 return &resource_adaptation_queue_; in resource_adaptation_queue()
415 RTC_GUARDED_BY(&resource_adaptation_queue_);
424 RTC_GUARDED_BY(&resource_adaptation_queue_);
444 rtc::TaskQueue resource_adaptation_queue_; variable
Dvideo_stream_encoder.cc359 resource_adaptation_queue_(task_queue_factory->CreateTaskQueue(
369 &resource_adaptation_queue_);
372 resource_adaptation_queue_.PostTask([this, &initialize_processor_event] { in __anon9322e9290302()
373 RTC_DCHECK_RUN_ON(&resource_adaptation_queue_); in __anon9322e9290302()
375 resource_adaptation_queue_.Get()); in __anon9322e9290302()
383 resource_adaptation_queue_.Get()); in __anon9322e9290302()
419 resource_adaptation_queue_.PostTask([this, in Stop()
421 RTC_DCHECK_RUN_ON(&resource_adaptation_queue_); in Stop()
1820 RTC_DCHECK_RUN_ON(&resource_adaptation_queue_); in OnVideoSourceRestrictionsUpdated()
2106 resource_adaptation_queue_.PostTask([this, adaptation_constraint, &event] { in InjectAdaptationConstraint()
[all …]