Lines Matching defs:timestamp
375 avio_wb32(pb, 0); /* last SR timestamp */
382 avio_wb32(pb, middle_32_bits); /* last SR timestamp */
634 static int rtp_set_prft(RTPDemuxContext *s, AVPacket *pkt, uint32_t timestamp) {
644 delta_timestamp = (int64_t)timestamp - (int64_t)s->last_rtcp_timestamp;
656 static void finalize_packet(RTPDemuxContext *s, AVPacket *pkt, uint32_t timestamp)
660 if (timestamp == RTP_NOTS_VALUE)
664 if (rtp_set_prft(s, pkt, timestamp) < 0) {
673 /* compute pts from timestamp with received ntp_time */
674 delta_timestamp = timestamp - s->last_rtcp_timestamp;
685 s->base_timestamp = timestamp;
687 * but allow the first timestamp to exceed INT32_MAX */
688 if (!s->timestamp)
689 s->unwrapped_timestamp += timestamp;
691 s->unwrapped_timestamp += (int32_t)(timestamp - s->timestamp);
692 s->timestamp = timestamp;
704 uint32_t timestamp;
713 timestamp = AV_RB32(buf + 4);
763 s->st, pkt, ×tamp, buf, len, seq,
774 // now perform timestamp things....
775 finalize_packet(s, pkt, timestamp);
862 uint32_t timestamp;
873 /* timestamp should be overwritten by parse_packet, if not,
875 timestamp = RTP_NOTS_VALUE;
877 s->st, pkt, ×tamp, NULL, 0, 0,
879 finalize_packet(s, pkt, timestamp);
897 timestamp = AV_RB32(buf + 4);
900 rtcp_update_jitter(&s->statistics, timestamp, arrival_ts);