webrtc/modules/remote_bitrate_estimator
Danil Chapovalov 52c7fd6be5 Modernize style in RemoteBitrateEstimatorAbsSendTime implementation
Use dedicated DataSize/DataRate/Time classes instead plain integers
this avoid subtle overflows and makes code easier to follow.

Hide helper structs Probe and Cluster as private structs.
User foreach loops where possible.
Make private constants constexpr instead of using enum hack

Bug: None
Change-Id: I3e71dc1254d7ff8ce71e051de53f0459bfa5264d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219795
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34222}
2021-06-03 14:37:33 +00:00
..
include Remove REMB throttling funcionality from PacketRouter 2021-05-12 11:24:58 +00:00
test Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS 2020-09-29 10:19:20 +00:00
tools Make the RtpHeaderParserImpl available to tests and tools only. 2019-08-29 15:56:40 +00:00
aimd_rate_control.cc Cleanup of bwe_defines.h 2020-11-26 12:26:02 +00:00
aimd_rate_control.h Cleanup of bwe_defines.h 2020-11-26 12:26:02 +00:00
aimd_rate_control_unittest.cc Cleanup: Removes unused AimdRateControl field trials. 2020-03-10 12:00:19 +00:00
BUILD.gn Modernize style in RemoteBitrateEstimatorAbsSendTime implementation 2021-06-03 14:37:33 +00:00
bwe_defines.cc Replace DataSize and DataRate factories with newer versions 2020-02-18 16:09:50 +00:00
DEPS Remove direct use of FieldTrials from modules/remote_bitrate_estimator 2019-04-16 13:23:12 +00:00
inter_arrival.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
inter_arrival.h Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS 2020-09-29 10:19:20 +00:00
inter_arrival_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
overuse_detector.cc Cleanup of bwe_defines.h 2020-11-26 12:26:02 +00:00
overuse_detector.h Cleanup of bwe_defines.h 2020-11-26 12:26:02 +00:00
overuse_detector_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
overuse_estimator.cc Cleanup of bwe_defines.h 2020-11-26 12:26:02 +00:00
overuse_estimator.h Cleanup of bwe_defines.h 2020-11-26 12:26:02 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00
packet_arrival_map.cc Use a std::deque in RemoteEstimatorProxy 2021-05-11 10:19:06 +00:00
packet_arrival_map.h Use a std::deque in RemoteEstimatorProxy 2021-05-11 10:19:06 +00:00
packet_arrival_map_test.cc Use a std::deque in RemoteEstimatorProxy 2021-05-11 10:19:06 +00:00
remote_bitrate_estimator_abs_send_time.cc Modernize style in RemoteBitrateEstimatorAbsSendTime implementation 2021-06-03 14:37:33 +00:00
remote_bitrate_estimator_abs_send_time.h Modernize style in RemoteBitrateEstimatorAbsSendTime implementation 2021-06-03 14:37:33 +00:00
remote_bitrate_estimator_abs_send_time_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
remote_bitrate_estimator_single_stream.cc Migrate modules/remote_bitrate_estimator to webrtc::Mutex. 2020-07-07 18:00:39 +00:00
remote_bitrate_estimator_single_stream.h Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS 2020-09-29 10:19:20 +00:00
remote_bitrate_estimator_single_stream_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
remote_bitrate_estimator_unittest_helper.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
remote_bitrate_estimator_unittest_helper.h Delete use of WebRtcRTPHeader from FEC test code 2019-03-12 09:40:02 +00:00
remote_estimator_proxy.cc Use a std::deque in RemoteEstimatorProxy 2021-05-11 10:19:06 +00:00
remote_estimator_proxy.h Use a std::deque in RemoteEstimatorProxy 2021-05-11 10:19:06 +00:00
remote_estimator_proxy_unittest.cc Replace interfaces for sending RTCP with std::functions in ReceiveSideCongestionController 2021-04-21 13:10:44 +00:00