Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpstats.c40 guint64 new_ts, diff_ts; in gst_rtp_packet_rate_ctx_update() local
70 diff_ts = new_ts - ctx->last_ts; in gst_rtp_packet_rate_ctx_update()
71 diff_ts = gst_util_uint64_scale_int (diff_ts, GST_SECOND, ctx->clock_rate); in gst_rtp_packet_rate_ctx_update()
72 new_packet_rate = gst_util_uint64_scale (diff_seqnum, GST_SECOND, diff_ts); in gst_rtp_packet_rate_ctx_update()
/third_party/ffmpeg/libavcodec/
Ddecode.c399 int64_t diff_ts = av_rescale_q(avci->skip_samples, in decode_simple_internal() local
403 frame->pts += diff_ts; in decode_simple_internal()
407 frame->pkt_pts += diff_ts; in decode_simple_internal()
411 frame->pkt_dts += diff_ts; in decode_simple_internal()
412 if (frame->pkt_duration >= diff_ts) in decode_simple_internal()
413 frame->pkt_duration -= diff_ts; in decode_simple_internal()
432 int64_t diff_ts = av_rescale_q(frame->nb_samples - discard_padding, in decode_simple_internal() local
435 frame->pkt_duration = diff_ts; in decode_simple_internal()