#include "modules/remote_bitrate_estimator/overuse_estimator.h"
#include <math.h>
#include <string.h>
#include <algorithm>
#include "api/transport/bandwidth_usage.h"
#include "rtc_base/logging.h"
namespace webrtc {
namespace {
constexpr int kMinFramePeriodHistoryLength = …;
constexpr int kDeltaCounterMax = …;
}
OveruseEstimator::OveruseEstimator() = default;
void OveruseEstimator::Update(int64_t t_delta,
double ts_delta,
int size_delta,
BandwidthUsage current_hypothesis,
int64_t now_ms) { … }
double OveruseEstimator::UpdateMinFramePeriod(double ts_delta) { … }
void OveruseEstimator::UpdateNoiseEstimate(double residual,
double ts_delta,
bool stable_state) { … }
}