/third_party/gstreamer/gstreamer/tools/ |
D | gst-stats.c | 46 static GstClockTime last_ts = G_GUINT64_CONSTANT (0); variable 96 GstClockTime first_ts, last_ts, next_ts; member 115 GstClockTime first_ts, last_ts; member 259 stats->first_ts = stats->last_ts = stats->next_ts = GST_CLOCK_TIME_NONE; in new_pad_stats() 358 if (!GST_CLOCK_TIME_IS_VALID (stats->last_ts)) in do_pad_stats() 360 stats->last_ts = ts; in do_pad_stats() 428 last_ts = MAX (last_ts, ts); in do_buffer_stats() 464 last_ts = MAX (last_ts, ts); in do_event_stats() 487 last_ts = MAX (last_ts, ts); in do_message_stats() 505 last_ts = MAX (last_ts, ts); in do_query_stats() [all …]
|
/third_party/node/test/parallel/ |
D | test-timers-ordering.js | 33 let last_ts = 0; variable 43 assert(now >= last_ts + 1, 44 `current ts ${now} < prev ts ${last_ts} + 1`); 45 last_ts = now;
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | splitmuxsrc.c | 35 GstClockTime last_ts; variable 146 first_ts = last_ts = GST_CLOCK_TIME_NONE; in seek_pipeline() 193 if (GST_CLOCK_TIME_IS_VALID (last_ts)) in receive_sample() 194 fail_unless (end >= last_ts, in receive_sample() 196 " < %" GST_TIME_FORMAT, GST_TIME_ARGS (end), GST_TIME_ARGS (last_ts)); in receive_sample() 201 fail_unless (end <= last_ts, in receive_sample() 203 GST_TIME_FORMAT, GST_TIME_ARGS (end), GST_TIME_ARGS (last_ts)); in receive_sample() 209 if (!GST_CLOCK_TIME_IS_VALID (last_ts) || end > last_ts) in receive_sample() 210 last_ts = end; in receive_sample() 262 fail_unless (last_ts == exp_last_time, in test_playback() [all …]
|
D | splitmuxsinktimecode.c | 41 GstClockTime last_ts; variable 152 first_ts = last_ts = GST_CLOCK_TIME_NONE; in seek_pipeline() 199 if (GST_CLOCK_TIME_IS_VALID (last_ts)) in receive_sample() 200 fail_unless (end >= last_ts, in receive_sample() 202 " < %" GST_TIME_FORMAT, GST_TIME_ARGS (end), GST_TIME_ARGS (last_ts)); in receive_sample() 207 fail_unless (end <= last_ts, in receive_sample() 209 GST_TIME_FORMAT, GST_TIME_ARGS (end), GST_TIME_ARGS (last_ts)); in receive_sample() 215 if (!GST_CLOCK_TIME_IS_VALID (last_ts) || end > last_ts) in receive_sample() 216 last_ts = end; in receive_sample() 274 fail_unless (last_ts == exp_last_time, in test_playback() [all …]
|
D | splitmuxsink.c | 35 GstClockTime last_ts; variable 146 first_ts = last_ts = GST_CLOCK_TIME_NONE; in seek_pipeline() 193 if (GST_CLOCK_TIME_IS_VALID (last_ts)) in receive_sample() 194 fail_unless (end >= last_ts, in receive_sample() 196 " < %" GST_TIME_FORMAT, GST_TIME_ARGS (end), GST_TIME_ARGS (last_ts)); in receive_sample() 201 fail_unless (end <= last_ts, in receive_sample() 203 GST_TIME_FORMAT, GST_TIME_ARGS (end), GST_TIME_ARGS (last_ts)); in receive_sample() 209 if (!GST_CLOCK_TIME_IS_VALID (last_ts) || end > last_ts) in receive_sample() 210 last_ts = end; in receive_sample() 268 fail_unless (last_ts == exp_last_time, in test_playback() [all …]
|
/third_party/gstreamer/gstreamer/plugins/tracers/ |
D | gststats.c | 63 GstClockTime last_ts; member 73 GstClockTime last_ts; member 350 this_stats->treal += GST_CLOCK_DIFF (this_stats->last_ts, elapsed2) - elapsed; in do_element_stats() 352 this_stats->last_ts = elapsed2; in do_element_stats() 353 peer_stats->last_ts = elapsed2; in do_element_stats() 377 do_element_stats (self, pad, stats->last_ts, ts); in do_push_buffer_post() 420 do_element_stats (self, pad, stats->last_ts, ts); in do_push_buffer_list_post() 427 stats->last_ts = ts; in do_pull_range_pre() 435 guint64 last_ts = this_pad_stats->last_ts; in do_pull_range_post() local 443 do_element_stats (self, this_pad, last_ts, ts); in do_pull_range_post() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/ |
D | mpegpsmux.c | 161 mux->last_ts = 0; /* XXX: or -1? */ in mpegpsmux_init() 428 ps_data->last_ts = ps_data->queued.ts; in mpegpsmux_queue_buffer_for_stream() 470 if (ps_data->last_ts == GST_CLOCK_TIME_NONE || in mpegpsmux_choose_best_stream() 471 (best->last_ts != GST_CLOCK_TIME_NONE && in mpegpsmux_choose_best_stream() 472 ps_data->last_ts < best->last_ts)) { in mpegpsmux_choose_best_stream() 574 mux->last_ts = best->last_ts; in mpegpsmux_collected() 614 pad_data->last_ts = GST_CLOCK_TIME_NONE; in mpegpsmux_request_new_pad() 679 GST_BUFFER_TIMESTAMP (buf) = mux->last_ts; in new_packet_cb()
|
D | mpegpsmux.h | 80 GstClockTime last_ts; member 106 GstClockTime last_ts; member
|
/third_party/gstreamer/gstplugins_base/gst/videorate/ |
D | gstvideorate.c | 593 videorate->last_ts = GST_CLOCK_TIME_NONE; in gst_video_rate_setcaps() 618 videorate->last_ts = GST_CLOCK_TIME_NONE; in gst_video_rate_reset() 1161 GST_FORMAT_TIME, videorate->last_ts / rate)); in gst_video_rate_query() 1243 if (GST_CLOCK_TIME_IS_VALID (videorate->last_ts)) { in gst_video_rate_trans_ip_max_avg() 1246 0 ? videorate->last_ts - ts : ts - videorate->last_ts; in gst_video_rate_trans_ip_max_avg() 1275 videorate->last_ts = ts; in gst_video_rate_trans_ip_max_avg() 1364 videorate->last_ts = GST_CLOCK_TIME_NONE; in gst_video_rate_switch_mode_if_needed() 1468 GstClockTime intime, in_ts, in_dur, last_ts; in gst_video_rate_transform_ip() local 1505 in_ts = videorate->last_ts; in gst_video_rate_transform_ip() 1512 last_ts = videorate->last_ts; in gst_video_rate_transform_ip() [all …]
|
D | gstvideorate.h | 53 guint64 last_ts; /* Timestamp of last input buffer */ member
|
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/ |
D | gstrtmp2src.c | 87 GstClockTime last_ts; member 471 self->last_ts = GST_CLOCK_TIME_NONE; in gst_rtmp2_src_start() 645 GstClockTime last_ts = self->last_ts, ts = GST_BUFFER_DTS (message); in gst_rtmp2_src_create() local 647 if (GST_CLOCK_TIME_IS_VALID (last_ts) && last_ts > ts) { in gst_rtmp2_src_create() 649 " > %" GST_TIME_FORMAT, GST_TIME_ARGS (last_ts), GST_TIME_ARGS (ts)); in gst_rtmp2_src_create() 652 self->last_ts = ts; in gst_rtmp2_src_create() 686 GST_BUFFER_DTS (buffer) = self->last_ts; in gst_rtmp2_src_create()
|
D | gstrtmp2sink.c | 92 guint64 last_ts, base_ts; /* timestamp fixup */ member 536 self->last_ts = 0; in gst_rtmp2_sink_start() 703 if (timestamp + self->base_ts + G_MAXINT32 < self->last_ts) { in buffer_to_message() 705 " -> %" G_GUINT64_FORMAT "; assuming overflow", self->last_ts, in buffer_to_message() 709 } else if (timestamp + self->base_ts > self->last_ts + G_MAXINT32) { in buffer_to_message() 711 " -> %" G_GUINT64_FORMAT "; assuming underflow", self->last_ts, in buffer_to_message() 723 self->last_ts = timestamp; in buffer_to_message()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | mpegvideoparse.c | 239 GstClockTime last_ts = 0; in GST_START_TEST() local 286 fail_unless (GST_BUFFER_DTS (buf) > last_ts); in GST_START_TEST() 288 last_ts = GST_BUFFER_DTS (buf); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtpstats.c | 33 ctx->last_ts = -1; in gst_rtp_packet_rate_ctx_reset() 49 new_ts = ctx->last_ts; in gst_rtp_packet_rate_ctx_update() 67 if (diff_seqnum <= 0 || new_ts <= ctx->last_ts) in gst_rtp_packet_rate_ctx_update() 70 diff_ts = new_ts - ctx->last_ts; in gst_rtp_packet_rate_ctx_update() 97 ctx->last_ts = new_ts; in gst_rtp_packet_rate_ctx_update()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | videotestsrc.c | 370 GstClockTime last_ts; member 391 if (GST_CLOCK_TIME_IS_VALID (pdata->last_ts) && in backward_check_probe() 392 pdata->last_ts < GST_BUFFER_TIMESTAMP (buf)) { in backward_check_probe() 395 pdata->last_ts = GST_BUFFER_TIMESTAMP (buf); in backward_check_probe() 417 pdata.last_ts = GST_CLOCK_TIME_NONE; in GST_START_TEST()
|
/third_party/ffmpeg/libavformat/ |
D | hdsenc.c | 52 int64_t frag_start_ts, last_ts; member 169 duration = c->streams[0].last_ts * av_q2d(s->streams[0]->time_base); in write_manifest() 233 cur_media_time = os->last_ts; in write_abst() 523 os->last_ts = pkt->dts; in hds_write_packet() 535 hds_flush(s, &c->streams[i], 1, c->streams[i].last_ts); in hds_write_trailer()
|
D | flvenc.c | 124 int64_t last_ts; ///< last timestamp for each stream member 729 sc->last_ts = -1; in flv_init() 848 put_avc_eos_tag(pb, sc->last_ts); in flv_write_trailer() 981 if (par->codec_id == AV_CODEC_ID_SPEEX && ts - sc->last_ts > 160) in flv_write_packet() 986 if (sc->last_ts < ts) in flv_write_packet() 987 sc->last_ts = ts; in flv_write_packet()
|
/third_party/gstreamer/gstplugins_bad/ext/resindvd/ |
D | gstmpegdemux.c | 529 if (stream->last_ts == GST_CLOCK_TIME_NONE || in gst_flups_demux_send_data() 530 stream->last_ts < cur_scr_time) { in gst_flups_demux_send_data() 535 stream->last_ts = cur_scr_time; in gst_flups_demux_send_data() 861 stream->last_ts = GST_CLOCK_TIME_NONE; in gst_flups_demux_clear_times() 885 if (stream->last_ts == GST_CLOCK_TIME_NONE || in gst_flups_demux_send_gap_updates() 886 stream->last_ts < demux->src_segment.start) in gst_flups_demux_send_gap_updates() 887 stream->last_ts = demux->src_segment.start; in gst_flups_demux_send_gap_updates() 888 if (stream->last_ts + gap_threshold < new_time) { in gst_flups_demux_send_gap_updates() 892 GST_TIME_ARGS (stream->last_ts), GST_TIME_ARGS (new_time)); in gst_flups_demux_send_gap_updates() 893 event = gst_event_new_gap (stream->last_ts, new_time - stream->last_ts); in gst_flups_demux_send_gap_updates() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/debugutils/ |
D | fpsdisplaysink.c | 235 self->interval_ts = self->last_ts = self->start_ts = ts; in on_video_sink_data_flow() 363 time_diff = (gdouble) (current_ts - self->last_ts) / GST_SECOND; in display_current_fps() 420 self->last_ts = current_ts; in display_current_fps() 439 self->last_ts = self->start_ts = self->interval_ts = GST_CLOCK_TIME_NONE; in fps_display_sink_start()
|
D | fpsdisplaysink.h | 58 GstClockTime last_ts; member
|
/third_party/gstreamer/gstplugins_good/gst/multipart/ |
D | multipartdemux.c | 324 mppad->last_ts = GST_CLOCK_TIME_NONE; in gst_multipart_find_pad_by_mime() 685 if (srcpad->last_ts == GST_CLOCK_TIME_NONE || srcpad->last_ts != ts) { in gst_multipart_demux_chain() 687 srcpad->last_ts = ts; in gst_multipart_demux_chain()
|
D | multipartdemux.h | 54 GstClockTime last_ts; /* last timestamp to make sure we don't send member
|
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/ |
D | gstmpegdemux.c | 726 if (ts != GST_CLOCK_TIME_NONE && (stream->last_ts == GST_CLOCK_TIME_NONE in gst_ps_demux_send_data() 727 || stream->last_ts < ts)) { in gst_ps_demux_send_data() 733 stream->last_ts = ts; in gst_ps_demux_send_data() 735 || stream->last_ts > demux->src_segment.position) in gst_ps_demux_send_data() 737 stream->last_ts); in gst_ps_demux_send_data() 988 stream->last_ts = GST_CLOCK_TIME_NONE; in gst_ps_demux_clear_times() 1019 if (stream->last_ts == GST_CLOCK_TIME_NONE || in gst_ps_demux_send_gap_updates() 1020 stream->last_ts < demux->src_segment.start + base_time) in gst_ps_demux_send_gap_updates() 1021 stream->last_ts = demux->src_segment.start + base_time; in gst_ps_demux_send_gap_updates() 1023 if (stream->last_ts + stream->segment_thresh < new_start) { in gst_ps_demux_send_gap_updates() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph264depay.h | 57 GstClockTime last_ts; member
|
/third_party/gstreamer/gstplugins_bad/ext/teletextdec/ |
D | gstteletextdec.h | 73 float last_ts; member
|