/third_party/ffmpeg/libavfilter/ |
D | f_sendcmd.c | 88 int64_t start_ts; ///< start timestamp expressed as microseconds units member 302 if ((ret = av_parse_time(&interval->start_ts, start, 1)) < 0) { in parse_interval() 319 if (interval->end_ts < interval->start_ts) { in parse_interval() 398 return 2 * FFDIFFSIGN(i1->start_ts, i2->start_ts) + FFDIFFSIGN(i1->index, i2->index); in cmp_intervals() 448 … (double)interval->start_ts/1000000, (double)interval->end_ts/1000000, interval->index); in init() 490 #define WITHIN_INTERVAL(ts, start_ts, end_ts) ((ts) >= (start_ts) && (ts) < (end_ts)) in filter_frame() argument 496 if (!interval->enabled && WITHIN_INTERVAL(ts, interval->start_ts, interval->end_ts)) { in filter_frame() 500 if (interval->enabled && !WITHIN_INTERVAL(ts, interval->start_ts, interval->end_ts)) { in filter_frame() 512 (double)interval->start_ts/1000000, (double)interval->end_ts/1000000, in filter_frame() 523 double start = TS2T(interval->start_ts, AV_TIME_BASE_Q); in filter_frame()
|
/third_party/flutter/skia/third_party/externals/sdl/src/timer/unix/ |
D | SDL_systimer.c | 62 static struct timespec start_ts; variable 81 if (clock_gettime(SDL_MONOTONIC_CLOCK, &start_ts) == 0) { in SDL_TicksInit() 114 ticks = (now.tv_sec - start_ts.tv_sec) * 1000 + (now.tv_nsec - in SDL_GetTicks() 115 start_ts.tv_nsec) / 1000000; in SDL_GetTicks()
|
/third_party/gstreamer/gstplugins_good/gst/audiofx/ |
D | audiofxbasefirfilter.c | 598 self->start_ts = GST_CLOCK_TIME_NONE; in gst_audio_fx_base_fir_filter_init() 693 if (GST_CLOCK_TIME_IS_VALID (self->start_ts)) in gst_audio_fx_base_fir_filter_push_residue() 694 GST_BUFFER_TIMESTAMP (outbuf) = self->start_ts; in gst_audio_fx_base_fir_filter_push_residue() 744 self->start_ts = GST_CLOCK_TIME_NONE; in gst_audio_fx_base_fir_filter_setup() 807 && !GST_CLOCK_TIME_IS_VALID (self->start_ts)) { in gst_audio_fx_base_fir_filter_transform() 825 if (GST_CLOCK_TIME_IS_VALID (self->start_ts)) in gst_audio_fx_base_fir_filter_transform() 827 self->start_ts + gst_util_uint64_scale_int (self->nsamples_in, in gst_audio_fx_base_fir_filter_transform() 843 self->start_ts = timestamp; in gst_audio_fx_base_fir_filter_transform() 847 } else if (!GST_CLOCK_TIME_IS_VALID (self->start_ts)) { in gst_audio_fx_base_fir_filter_transform() 848 self->start_ts = timestamp; in gst_audio_fx_base_fir_filter_transform() [all …]
|
D | audiofxbasefirfilter.h | 83 GstClockTime start_ts; /* start timestamp after a discont */ member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_perfetto.cc | 132 p->start_ts[stage] = ts_ns; in stage_start() 153 send_descriptors(tctx, p->start_ts[stage]); in stage_end() 159 packet->set_timestamp(p->start_ts[stage]); in stage_end() 165 event->set_duration(ts_ns - p->start_ts[stage]); in stage_end()
|
D | tu_perfetto.h | 86 uint64_t start_ts[NUM_STAGES]; member
|
/third_party/ffmpeg/tests/api/ |
D | api-seek-test.c | 196 long int start_ts, end_ts; in seek_test() local 215 start_ts = read_seek_range(start); in seek_test() 217 if ((start_ts < 0) || (end_ts < 0)) { in seek_test() 276 for (i = start_ts; i < end_ts; i += 100) { in seek_test()
|
/third_party/mesa3d/src/intel/common/ |
D | intel_measure.c | 444 buffered_result->start_ts = timestamps[i]; in intel_measure_push_result() 447 raw_timestamp_delta(prev_end_ts, buffered_result->start_ts); in intel_measure_push_result() 581 uint64_t duration_ts = raw_timestamp_delta(start_result->start_ts, in print_combined_results() 589 duration_ts += raw_timestamp_delta(current_result->start_ts, in print_combined_results() 598 start_result->start_ts, current_result->end_ts, in print_combined_results()
|
D | intel_measure.h | 118 uint64_t start_ts, end_ts, idle_duration; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_perfetto.cc | 131 p->start_ts[stage] = ts_ns; in stage_start() 149 send_descriptors(tctx, p->start_ts[stage]); in stage_end() 155 packet->set_timestamp(p->start_ts[stage]); in stage_end() 161 event->set_duration(ts_ns - p->start_ts[stage]); in stage_end()
|
D | freedreno_perfetto.h | 89 uint64_t start_ts[NUM_STAGES]; member
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/ |
D | mpegtsparse.c | 930 GstClockTime start_ts; in drain_pending_buffers() local 982 start_ts = GST_CLOCK_TIME_NONE; in drain_pending_buffers() 984 start_ts = GST_BUFFER_PTS (GST_BUFFER (end->data)); in drain_pending_buffers() 985 if (start_ts > pcr_diff) in drain_pending_buffers() 986 start_ts -= pcr_diff; in drain_pending_buffers() 989 start_ts = parse->previous_pcr; in drain_pending_buffers() 992 start_ts = parse->previous_pcr; in drain_pending_buffers() 993 if (GST_CLOCK_TIME_IS_VALID (pcr) && pcr > start_ts) in drain_pending_buffers() 994 pcr_diff = GST_CLOCK_DIFF (start_ts, pcr); in drain_pending_buffers() 1003 GST_TIME_ARGS (start_ts), GST_TIME_ARGS (pcr_diff), pcr_bytes); in drain_pending_buffers() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | sbgdec.c | 116 int64_t start_ts; member 395 r = str_to_time(oarg.s, &p->scs.start_ts); in parse_options() 811 .start_ts = AV_NOPTS_VALUE, in parse_script() 904 if (s->start_ts != AV_NOPTS_VALUE) in expand_timestamps() 907 } else if (nb_rel == 0 && s->start_ts != AV_NOPTS_VALUE || in expand_timestamps() 910 if (s->start_ts == AV_NOPTS_VALUE) in expand_timestamps() 911 s->start_ts = s->tseq[0].ts.t; in expand_timestamps() 912 now = s->start_ts; in expand_timestamps() 936 if (s->start_ts == AV_NOPTS_VALUE) in expand_timestamps() 937 s->start_ts = (s->opt_start_at_first && s->tseq) ? s->tseq[0].ts.t : now; in expand_timestamps() [all …]
|
D | smoothstreamingenc.c | 392 static int parse_fragment(AVFormatContext *s, const char *filename, int64_t *start_ts, int64_t *dur… in parse_fragment() argument 429 *start_ts = avio_rb64(in); in parse_fragment() 506 int64_t start_ts, duration, moof_size; in ism_flush() local 523 if ((ret = parse_fragment(s, filename, &start_ts, &duration, &moof_size, size)) < 0) in ism_flush() 545 …eof(header_filename), "%s/FragmentInfo(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts); in ism_flush() 546 …sizeof(target_filename), "%s/Fragments(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts); in ism_flush() 551 add_fragment(os, target_filename, header_filename, start_ts, duration, in ism_flush()
|
D | hdsenc.c | 288 static int init_file(AVFormatContext *s, OutputStream *os, int64_t start_ts) in init_file() argument 297 AV_WB24(os->extra_packets[i] + 4, start_ts); in init_file() 298 os->extra_packets[i][7] = (start_ts >> 24) & 0x7f; in init_file()
|
/third_party/gstreamer/gstplugins_bad/gst/debugutils/ |
D | fpsdisplaysink.c | 234 if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (self->start_ts))) { in on_video_sink_data_flow() 235 self->interval_ts = self->last_ts = self->start_ts = ts; in on_video_sink_data_flow() 364 time_elapsed = (gdouble) (current_ts - self->start_ts) / GST_SECOND; 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 | 57 GstClockTime start_ts; member
|
/third_party/gstreamer/gstplugins_good/gst/matroska/ |
D | matroska-mux.h | 71 GstClockTime start_ts; member
|
D | matroska-mux.c | 654 collect_pad->start_ts = GST_CLOCK_TIME_NONE; in gst_matroska_pad_reset() 2681 if (GST_CLOCK_TIME_IS_VALID (collect_pad->start_ts) && in gst_matroska_mux_release_pad() 2684 GST_CLOCK_DIFF (collect_pad->start_ts, collect_pad->end_ts); in gst_matroska_mux_release_pad() 3778 GST_TIME_ARGS (collect_pad->start_ts), in gst_matroska_mux_finish() 3781 if (GST_CLOCK_TIME_IS_VALID (collect_pad->start_ts) && in gst_matroska_mux_finish() 3784 GST_CLOCK_DIFF (collect_pad->start_ts, collect_pad->end_ts); in gst_matroska_mux_finish() 4341 GstClockTime start_ts = buffer_timestamp; in gst_matroska_mux_handle_buffer() local 4342 GstClockTime end_ts = start_ts; in gst_matroska_mux_handle_buffer() 4352 if (G_UNLIKELY (best->start_ts == GST_CLOCK_TIME_NONE || in gst_matroska_mux_handle_buffer() 4353 start_ts < best->start_ts)) in gst_matroska_mux_handle_buffer() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/ |
D | gstspu-vobsub.c | 281 GstClockTime start_ts, GstBuffer * spu_buf) in gst_dvd_spu_dump_dcsq() argument 298 GST_TIME_ARGS (start_ts), next_blk); in gst_dvd_spu_dump_dcsq() 311 cmd_blk_ts = start_ts + STM_TO_GST (GST_READ_UINT16_BE (data)); in gst_dvd_spu_dump_dcsq()
|
/third_party/gstreamer/gstplugins_good/ext/shout2/ |
D | gstshout2.c | 560 GstClockTime start_ts; local 575 start_ts = gst_util_get_timestamp (); 586 if (gst_util_get_timestamp () - start_ts > sink->timeout * GST_MSECOND) {
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbaseparse.c | 353 GstClockTime start_ts; member 1296 next_dts = seek->start_ts; in gst_base_parse_sink_event_default() 4570 GstClockTime start_ts; in gst_base_parse_handle_seek() local 4632 gst_base_parse_find_offset (parse, seeksegment.position, TRUE, &start_ts); in gst_base_parse_handle_seek() 4633 if (seeksegment.position <= start_ts + TARGET_DIFFERENCE) { in gst_base_parse_handle_seek() 4654 seekpos = gst_base_parse_find_offset (parse, startpos, TRUE, &start_ts); in gst_base_parse_handle_seek() 4659 start_ts = seeksegment.position; in gst_base_parse_handle_seek() 4661 start_ts = start; in gst_base_parse_handle_seek() 4666 if (!gst_base_parse_convert (parse, format, start_ts, in gst_base_parse_handle_seek() 4676 start_ts, seekpos); in gst_base_parse_handle_seek() [all …]
|