Searched refs:external_timestamp (Results 1 – 3 of 3) sorted by relevance
81 uint32_t external_timestamp = 0xFFFFFFFF - 5; in TEST() local82 uint32_t internal_timestamp = external_timestamp; in TEST()83 for (; external_timestamp != 5; ++external_timestamp) { in TEST()86 scaler.ToInternal(external_timestamp, kRtpPayloadType)); in TEST()88 EXPECT_EQ(external_timestamp, scaler.ToExternal(internal_timestamp)); in TEST()106 uint32_t external_timestamp = 0; in TEST() local108 external_timestamp = external_timestamp - 5 * kStep; in TEST()109 uint32_t internal_timestamp = external_timestamp; in TEST()110 for (; external_timestamp != 5 * kStep; external_timestamp += kStep) { in TEST()113 scaler.ToInternal(external_timestamp, kRtpPayloadType)); in TEST()[all …]
38 uint32_t TimestampScaler::ToInternal(uint32_t external_timestamp, in ToInternal() argument44 return external_timestamp; in ToInternal()74 external_ref_ = external_timestamp; in ToInternal()75 internal_ref_ = external_timestamp; in ToInternal()78 int32_t external_diff = external_timestamp - external_ref_; in ToInternal()80 external_ref_ = external_timestamp; in ToInternal()85 return external_timestamp; in ToInternal()
50 virtual uint32_t ToInternal(uint32_t external_timestamp,