Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: webrtc/modules/congestion_controller/acknowledge_bitrate_estimator.h

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_ACKNOWLEDGE_BITRATE_ESTIMATOR_H_ 11 #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_ACKNOWLEDGE_BITRATE_ESTIMATOR_H_
12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_ACKNOWLEDGE_BITRATE_ESTIMATOR_H_ 12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_ACKNOWLEDGE_BITRATE_ESTIMATOR_H_
13 13
14 #include <vector> 14 #include <vector>
15 15
16 #include "webrtc/base/optional.h" 16 #include "webrtc/rtc_base/optional.h"
17 17
18 namespace webrtc { 18 namespace webrtc {
19 19
20 struct PacketFeedback; 20 struct PacketFeedback;
21 21
22 // Computes a bayesian estimate of the throughput given acks containing 22 // Computes a bayesian estimate of the throughput given acks containing
23 // the arrival time and payload size. Samples which are far from the current 23 // the arrival time and payload size. Samples which are far from the current
24 // estimate or are based on few packets are given a smaller weight, as they 24 // estimate or are based on few packets are given a smaller weight, as they
25 // are considered to be more likely to have been caused by, e.g., delay spikes 25 // are considered to be more likely to have been caused by, e.g., delay spikes
26 // unrelated to congestion. 26 // unrelated to congestion.
(...skipping 12 matching lines...) Expand all
39 int sum_; 39 int sum_;
40 int64_t current_win_ms_; 40 int64_t current_win_ms_;
41 int64_t prev_time_ms_; 41 int64_t prev_time_ms_;
42 float bitrate_estimate_; 42 float bitrate_estimate_;
43 float bitrate_estimate_var_; 43 float bitrate_estimate_var_;
44 }; 44 };
45 45
46 } // namespace webrtc 46 } // namespace webrtc
47 47
48 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_ACKNOWLEDGE_BITRATE_ESTIMATOR_H_ 48 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_ACKNOWLEDGE_BITRATE_ESTIMATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698