Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpjitterbuffer.c874 GstClockTime ntprtptime, rtpsystime; in rtp_jitter_buffer_calculate_pts() local
890 ntprtptime = gst_util_uint64_scale (ntptime, jbuf->clock_rate, GST_SECOND); in rtp_jitter_buffer_calculate_pts()
891 ntprtptime += media_clock_offset; in rtp_jitter_buffer_calculate_pts()
892 ntprtptime &= 0xffffffff; in rtp_jitter_buffer_calculate_pts()
898 if (ntprtptime > rtptime_tmp && ntprtptime - rtptime_tmp >= 0x80000000) in rtp_jitter_buffer_calculate_pts()
900 else if (rtptime_tmp > ntprtptime && rtptime_tmp - ntprtptime >= 0x80000000) in rtp_jitter_buffer_calculate_pts()
901 ntprtptime += G_GUINT64_CONSTANT (0x100000000); in rtp_jitter_buffer_calculate_pts()
903 if (ntprtptime > rtptime_tmp) in rtp_jitter_buffer_calculate_pts()
905 gst_util_uint64_scale (ntprtptime - rtptime_tmp, GST_SECOND, in rtp_jitter_buffer_calculate_pts()
909 gst_util_uint64_scale (rtptime_tmp - ntprtptime, GST_SECOND, in rtp_jitter_buffer_calculate_pts()
[all …]