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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: 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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_ 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_
12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_ 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_
13 13
14 #include "webrtc/base/constructormagic.h"
14 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" 15 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h"
15 #include "webrtc/rtc_base/constructormagic.h"
16 16
17 namespace webrtc { 17 namespace webrtc {
18 18
19 // A rate control implementation based on additive increases of 19 // A rate control implementation based on additive increases of
20 // bitrate when no over-use is detected and multiplicative decreases when 20 // bitrate when no over-use is detected and multiplicative decreases when
21 // over-uses are detected. When we think the available bandwidth has changes or 21 // over-uses are detected. When we think the available bandwidth has changes or
22 // is unknown, we will switch to a "slow-start mode" where we increase 22 // is unknown, we will switch to a "slow-start mode" where we increase
23 // multiplicatively. 23 // multiplicatively.
24 class AimdRateControl { 24 class AimdRateControl {
25 public: 25 public:
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int64_t time_first_incoming_estimate_; 83 int64_t time_first_incoming_estimate_;
84 bool bitrate_is_initialized_; 84 bool bitrate_is_initialized_;
85 float beta_; 85 float beta_;
86 int64_t rtt_; 86 int64_t rtt_;
87 bool in_experiment_; 87 bool in_experiment_;
88 rtc::Optional<int> last_decrease_; 88 rtc::Optional<int> last_decrease_;
89 }; 89 };
90 } // namespace webrtc 90 } // namespace webrtc
91 91
92 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_ 92 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_AIMD_RATE_CONTROL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/pacing/packet_router_unittest.cc ('k') | webrtc/modules/remote_bitrate_estimator/aimd_rate_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698