#include "video/adaptation/bandwidth_quality_scaler_resource.h"
#include <utility>
#include "rtc_base/checks.h"
#include "rtc_base/experiments/balanced_degradation_settings.h"
#include "rtc_base/logging.h"
#include "rtc_base/time_utils.h"
namespace webrtc {
rtc::scoped_refptr<BandwidthQualityScalerResource>
BandwidthQualityScalerResource::Create() { … }
BandwidthQualityScalerResource::BandwidthQualityScalerResource()
: … { … }
BandwidthQualityScalerResource::~BandwidthQualityScalerResource() { … }
bool BandwidthQualityScalerResource::is_started() const { … }
void BandwidthQualityScalerResource::StartCheckForOveruse(
const std::vector<VideoEncoder::ResolutionBitrateLimits>&
resolution_bitrate_limits) { … }
void BandwidthQualityScalerResource::StopCheckForOveruse() { … }
void BandwidthQualityScalerResource::OnReportUsageBandwidthHigh() { … }
void BandwidthQualityScalerResource::OnReportUsageBandwidthLow() { … }
void BandwidthQualityScalerResource::OnEncodeCompleted(
const EncodedImage& encoded_image,
int64_t time_sent_in_us,
int64_t encoded_image_size_bytes) { … }
}