Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/neteq/
Dpacket_buffer_unittest.cc742 void TestIsObsoleteTimestamp(uint32_t limit_timestamp) { in TestIsObsoleteTimestamp() argument
749 limit_timestamp, limit_timestamp, kZeroHorizon)); in TestIsObsoleteTimestamp()
751 EXPECT_TRUE(PacketBuffer::IsObsoleteTimestamp(limit_timestamp - 1, in TestIsObsoleteTimestamp()
752 limit_timestamp, kZeroHorizon)); in TestIsObsoleteTimestamp()
754 EXPECT_TRUE(PacketBuffer::IsObsoleteTimestamp(limit_timestamp - k2Pow31Minus1, in TestIsObsoleteTimestamp()
755 limit_timestamp, kZeroHorizon)); in TestIsObsoleteTimestamp()
758 limit_timestamp + 1, limit_timestamp, kZeroHorizon)); in TestIsObsoleteTimestamp()
760 uint32_t other_timestamp = limit_timestamp + (1 << 31); in TestIsObsoleteTimestamp()
761 uint32_t lowest_timestamp = std::min(limit_timestamp, other_timestamp); in TestIsObsoleteTimestamp()
762 uint32_t highest_timestamp = std::max(limit_timestamp, other_timestamp); in TestIsObsoleteTimestamp()
[all …]