Index: webrtc/modules/remote_bitrate_estimator/overuse_estimator.h |
diff --git a/webrtc/modules/remote_bitrate_estimator/overuse_estimator.h b/webrtc/modules/remote_bitrate_estimator/overuse_estimator.h |
index d671f39166f29200eed05429bb1276f6c2bd6776..da3bfe997f240715ae410f0ad650d88c3c7ab084 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/overuse_estimator.h |
+++ b/webrtc/modules/remote_bitrate_estimator/overuse_estimator.h |
@@ -20,14 +20,15 @@ namespace webrtc { |
class OveruseEstimator { |
public: |
- explicit OveruseEstimator(const OverUseDetectorOptions& options); |
+ OveruseEstimator(); |
~OveruseEstimator(); |
// Update the estimator with a new sample. The deltas should represent deltas |
// between timestamp groups as defined by the InterArrival class. |
// |current_hypothesis| should be the hypothesis of the over-use detector at |
// this time. |
- void Update(int64_t t_delta, double ts_delta, int size_delta, |
+ void Update(int64_t t_delta, |
+ double ts_delta, |
BandwidthUsage current_hypothesis); |
// Returns the estimated noise/jitter variance in ms^2. |
@@ -52,13 +53,11 @@ class OveruseEstimator { |
// Must be first member variable. Cannot be const because we need to be |
// copyable. |
- OverUseDetectorOptions options_; |
uint16_t num_of_deltas_; |
- double slope_; |
double offset_; |
double prev_offset_; |
- double E_[2][2]; |
- double process_noise_[2]; |
+ double e_; |
+ double process_noise_; |
double avg_noise_; |
double var_noise_; |
std::list<double> ts_delta_hist_; |