Searched refs:ntp_time (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Drtpenc.c37 static uint64_t ntp_time(void) function
119 static void rtcp_send_sr(AVFormatContext *s1, int64_t ntp_time) argument
124 dprintf(s1, "RTCP: %02x %"PRIx64" %x\n", s->payload_type, ntp_time, s->timestamp);
126 if (s->first_rtcp_ntp_time == AV_NOPTS_VALUE) s->first_rtcp_ntp_time = ntp_time;
127 s->last_rtcp_ntp_time = ntp_time;
128 rtp_ts = av_rescale_q(ntp_time - s->first_rtcp_ntp_time, (AVRational){1, 1000000},
134 put_be32(s1->pb, ntp_time / 1000000);
135 put_be32(s1->pb, ((ntp_time % 1000000) << 32) / 1000000);
306 (ntp_time() - s->last_rtcp_ntp_time > 5000000))) {
307 rtcp_send_sr(s1, ntp_time());
[all...]
H A Drtpdec.c182 uint64_t ntp_time= s->last_rtcp_ntp_time; // TODO: Get local ntp time? local
232 uint32_t delay_since_last= ntp_time - s->last_rtcp_ntp_time;
379 /* compute pts from timestamp with received ntp_time */

Completed in 27 milliseconds