webrtc/system_wrappers/source
Chen Xing 6094953ed1 Add helper functions to convert between integer milliseconds and fixed-point seconds.
This change adds the following helper functions to convert between "integer milliseconds"-style timestamps and durations, and "UQ32.32 and Q32.32"-style NTP timestamps and durations:
- Int64MsToQ32x32
- UInt64MsToUQ32x32
- Q32x32ToInt64Ms
- UQ32x32ToUInt64Ms

The Q-format NTP timestamps and durations are used by some RTP/RTCP packets.

Bug: webrtc:10739
Change-Id: I89123d2dba7370f26e239d722a4975bf5ac6e668
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/148444
Commit-Queue: Chen Xing <chxg@google.com>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28878}
2019-08-16 14:49:46 +00:00
..
clock.cc Adds unit based interface to Clock class. 2019-06-11 12:53:20 +00:00
clock_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
cpu_features.cc Format almost everything. 2019-07-08 13:45:15 +00:00
cpu_features_android.c Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
cpu_features_linux.c Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
cpu_info.cc Ensure CpuInfo::DetectNumberOfCores is > 0 and thread safe. 2019-05-24 12:59:14 +00:00
event.cc Add default constructor for rtc::Event 2018-11-07 08:57:50 +00:00
field_trial.cc Sanity-check field trial string at initialization. 2019-06-11 14:11:06 +00:00
field_trial_unittest.cc Sanity-check field trial string at initialization. 2019-06-11 14:11:06 +00:00
metrics.cc Add metrics::Samples to facilitate easier testing 2019-03-05 17:51:14 +00:00
metrics_default_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
metrics_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
ntp_time_unittest.cc Add helper functions to convert between integer milliseconds and fixed-point seconds. 2019-08-16 14:49:46 +00:00
rtp_to_ntp_estimator.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_to_ntp_estimator_unittest.cc Fix -Wextra-semi warnings. 2019-02-25 09:22:51 +00:00
sleep.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00