Searched refs:external_timestamp (Results 1 – 3 of 3) sorted by relevance
86 uint32_t external_timestamp = 0xFFFFFFFF - 5; in TEST() local87 uint32_t internal_timestamp = external_timestamp; in TEST()88 for (; external_timestamp != 5; ++external_timestamp) { in TEST()91 scaler.ToInternal(external_timestamp, kRtpPayloadType)); in TEST()93 EXPECT_EQ(external_timestamp, scaler.ToExternal(internal_timestamp)); in TEST()113 uint32_t external_timestamp = 0; in TEST() local115 external_timestamp = external_timestamp - 5 * kStep; in TEST()116 uint32_t internal_timestamp = external_timestamp; in TEST()117 for (; external_timestamp != 5 * kStep; external_timestamp += kStep) { in TEST()120 scaler.ToInternal(external_timestamp, kRtpPayloadType)); in TEST()[all …]
37 uint32_t TimestampScaler::ToInternal(uint32_t external_timestamp, in ToInternal() argument43 return external_timestamp; in ToInternal()59 external_ref_ = external_timestamp; in ToInternal()60 internal_ref_ = external_timestamp; in ToInternal()63 const int64_t external_diff = int64_t{external_timestamp} - external_ref_; in ToInternal()65 external_ref_ = external_timestamp; in ToInternal()70 return external_timestamp; in ToInternal()
49 virtual uint32_t ToInternal(uint32_t external_timestamp,