diff options
Diffstat (limited to 'chromium/third_party/webrtc/modules/remote_bitrate_estimator/overuse_detector.h')
-rw-r--r-- | chromium/third_party/webrtc/modules/remote_bitrate_estimator/overuse_detector.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/chromium/third_party/webrtc/modules/remote_bitrate_estimator/overuse_detector.h b/chromium/third_party/webrtc/modules/remote_bitrate_estimator/overuse_detector.h index 57f4ddf04f7..9c565e45f18 100644 --- a/chromium/third_party/webrtc/modules/remote_bitrate_estimator/overuse_detector.h +++ b/chromium/third_party/webrtc/modules/remote_bitrate_estimator/overuse_detector.h @@ -16,10 +16,6 @@ #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" #include "webrtc/typedefs.h" -#ifdef WEBRTC_BWE_MATLAB -#include "webrtc/modules/rtp_rtcp/test/BWEStandAlone/MatlabPlot.h" -#endif - namespace webrtc { enum RateControlRegion; @@ -32,11 +28,10 @@ class OveruseDetector { void Update(uint16_t packet_size, int64_t timestamp_ms, uint32_t rtp_timestamp, - int64_t now_ms); + int64_t arrival_time_ms); BandwidthUsage State() const; double NoiseVar() const; void SetRateControlRegion(RateControlRegion region); - int64_t time_of_last_received_packet() const; private: struct FrameSample { @@ -52,16 +47,6 @@ class OveruseDetector { int64_t timestamp_ms; }; - struct DebugPlots { -#ifdef WEBRTC_BWE_MATLAB - DebugPlots() : plot1(NULL), plot2(NULL), plot3(NULL), plot4(NULL) {} - MatlabPlot* plot1; - MatlabPlot* plot2; - MatlabPlot* plot3; - MatlabPlot* plot4; -#endif - }; - // Returns true if |timestamp| represent a time which is later than // |prev_timestamp|. static bool InOrderTimestamp(uint32_t timestamp, uint32_t prev_timestamp); @@ -103,10 +88,6 @@ class OveruseDetector { double time_over_using_; uint16_t over_use_counter_; BandwidthUsage hypothesis_; - int64_t time_of_last_received_packet_; -#ifdef WEBRTC_BWE_MATLAB - DebugPlots plots_; -#endif }; } // namespace webrtc |