Searched refs:quality_scaler_ (Results 1 – 3 of 3) sorted by relevance
93 : quality_scaler_(quality_scaler), in CheckQpTask()108 RTC_DCHECK_RUN_ON(&quality_scaler_->task_checker_); in StartDelayedTask()109 switch (quality_scaler_->CheckQp()) { in StartDelayedTask()128 quality_scaler_->fast_rampup_ = false; in StartDelayedTask()130 quality_scaler_->handler_->OnReportQpUsageHigh(callback); in StartDelayedTask()140 quality_scaler_->handler_->OnReportQpUsageLow(callback); in StartDelayedTask()152 quality_scaler_->ClearSamples(); in OnQpUsageHandled()178 RTC_DCHECK_RUN_ON(&quality_scaler_->task_checker_); in GetCheckingQpDelayMs()179 if (quality_scaler_->fast_rampup_) { in GetCheckingQpDelayMs()180 return quality_scaler_->sampling_period_ms_; in GetCheckingQpDelayMs()[all …]
38 quality_scaler_(nullptr), in QualityScalerResource()48 RTC_DCHECK(!quality_scaler_); in ~QualityScalerResource()54 return quality_scaler_.get(); in is_started()61 quality_scaler_ = in StartCheckForOveruse()70 quality_scaler_.reset(); in StopCheckForOveruse()77 quality_scaler_->SetQpThresholds(std::move(qp_thresholds)); in SetQpThresholds()83 return quality_scaler_->QpFastFilterLow(); in QpFastFilterLow()89 if (quality_scaler_ && encoded_image.qp_ >= 0) { in OnEncodeCompleted()90 quality_scaler_->ReportQp(encoded_image.qp_, time_sent_in_us); in OnEncodeCompleted()91 } else if (!quality_scaler_) { in OnEncodeCompleted()[all …]
78 std::unique_ptr<QualityScaler> quality_scaler_