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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h

Issue 1737013002: Reland of move ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 */
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 public: 64 public:
65 NadaBweSender(int kbps, BitrateObserver* observer, Clock* clock); 65 NadaBweSender(int kbps, BitrateObserver* observer, Clock* clock);
66 NadaBweSender(BitrateObserver* observer, Clock* clock); 66 NadaBweSender(BitrateObserver* observer, Clock* clock);
67 virtual ~NadaBweSender(); 67 virtual ~NadaBweSender();
68 68
69 int GetFeedbackIntervalMs() const override; 69 int GetFeedbackIntervalMs() const override;
70 // Updates the min_feedback_delay_ms_ and the min_round_trip_time_ms_. 70 // Updates the min_feedback_delay_ms_ and the min_round_trip_time_ms_.
71 void GiveFeedback(const FeedbackPacket& feedback) override; 71 void GiveFeedback(const FeedbackPacket& feedback) override;
72 void OnPacketsSent(const Packets& packets) override {} 72 void OnPacketsSent(const Packets& packets) override {}
73 int64_t TimeUntilNextProcess() override; 73 int64_t TimeUntilNextProcess() override;
74 int Process() override; 74 void Process() override;
75 void AcceleratedRampUp(const NadaFeedback& fb); 75 void AcceleratedRampUp(const NadaFeedback& fb);
76 void AcceleratedRampDown(const NadaFeedback& fb); 76 void AcceleratedRampDown(const NadaFeedback& fb);
77 void GradualRateUpdate(const NadaFeedback& fb, 77 void GradualRateUpdate(const NadaFeedback& fb,
78 float delta_s, 78 float delta_s,
79 double smoothing_factor); 79 double smoothing_factor);
80 80
81 int bitrate_kbps() const { return bitrate_kbps_; } 81 int bitrate_kbps() const { return bitrate_kbps_; }
82 void set_bitrate_kbps(int bitrate_kbps) { bitrate_kbps_ = bitrate_kbps; } 82 void set_bitrate_kbps(int bitrate_kbps) { bitrate_kbps_ = bitrate_kbps; }
83 bool original_operating_mode() const { return original_operating_mode_; } 83 bool original_operating_mode() const { return original_operating_mode_; }
84 void set_original_operating_mode(bool original_operating_mode) { 84 void set_original_operating_mode(bool original_operating_mode) {
(...skipping 15 matching lines...) Expand all
100 bool original_operating_mode_; 100 bool original_operating_mode_;
101 101
102 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(NadaBweSender); 102 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(NadaBweSender);
103 }; 103 };
104 104
105 } // namespace bwe 105 } // namespace bwe
106 } // namespace testing 106 } // namespace testing
107 } // namespace webrtc 107 } // namespace webrtc
108 108
109 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_NADA_H_ 109 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_NADA_H_
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/bwe.cc ('k') | webrtc/modules/remote_bitrate_estimator/test/estimators/nada.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698