12 #ifndef ROC_RTCP_NTP_H_
13 #define ROC_RTCP_NTP_H_
uint64_t ntp_timestamp_t
NTP timestamp.
packet::ntp_timestamp_t ntp_clamp_32(packet::ntp_timestamp_t value, packet::ntp_timestamp_t max_value)
Clamp 64-bit NTP timestamp so that it fits into middle 32-bits. Value is rounded to the new resolutio...
packet::ntp_timestamp_t ntp_clamp_64(packet::ntp_timestamp_t value, packet::ntp_timestamp_t max_value)
Clamp 64-bit NTP timestamp so that it does not exceed maximum.
packet::ntp_timestamp_t ntp_extend(packet::ntp_timestamp_t base, packet::ntp_timestamp_t value)
Restore full 64-bit NTP timestamp from middle 32 bits.
Utitilies for NTP timestamp.