Home
last modified time | relevance | path

Searched refs:error_us (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/cast/streaming/
Drtp_time_unittest.cc39 for (int error_us = -3; error_us <= +3; ++error_us) { in TEST() local
42 RtpTimeDelta::FromDuration(microseconds(0 + error_us), kTimebase)); in TEST()
45 RtpTimeDelta::FromDuration(microseconds(21 + error_us), kTimebase)); in TEST()
48 RtpTimeDelta::FromDuration(microseconds(42 + error_us), kTimebase)); in TEST()
51 RtpTimeDelta::FromDuration(microseconds(63 + error_us), kTimebase)); in TEST()
54 RtpTimeDelta::FromDuration(microseconds(83 + error_us), kTimebase)); in TEST()
58 microseconds(INT64_C(233333333333333) + error_us), kTimebase)); in TEST()
/external/webrtc/rtc_base/
Dtimestamp_aligner.cc85 int64_t error_us = diff_us - offset_us_; in UpdateOffset() local
97 if (std::abs(error_us) > kResetThresholdUs) { in UpdateOffset()
109 offset_us_ += error_us / frames_seen_; in UpdateOffset()