Lines Matching refs:adaptation
250 Adaptation adaptation = stream_adapter_->GetAdaptationUp(reason_resource); in OnResourceUnderuse() local
251 if (adaptation.status() != Adaptation::Status::kValid) { in OnResourceUnderuse()
255 << Adaptation::StatusToString(adaptation.status()); in OnResourceUnderuse()
285 UpdateResourceLimitations(reason_resource, adaptation.restrictions(), in OnResourceUnderuse()
286 adaptation.counters()); in OnResourceUnderuse()
296 stream_adapter_->ApplyAdaptation(adaptation, reason_resource); in OnResourceUnderuse()
312 Adaptation adaptation = stream_adapter_->GetAdaptationDown(); in OnResourceOveruse() local
313 if (adaptation.min_pixel_limit_reached()) { in OnResourceOveruse()
316 if (adaptation.status() != Adaptation::Status::kValid) { in OnResourceOveruse()
320 << Adaptation::StatusToString(adaptation.status()); in OnResourceOveruse()
325 UpdateResourceLimitations(reason_resource, adaptation.restrictions(), in OnResourceOveruse()
326 adaptation.counters()); in OnResourceOveruse()
327 stream_adapter_->ApplyAdaptation(adaptation, reason_resource); in OnResourceOveruse()