Home
last modified time | relevance | path

Searched refs:start_ts (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Df_sendcmd.c88 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/gstreamer/gstplugins_good/gst/audiofx/
Daudiofxbasefirfilter.c598 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 …]
Daudiofxbasefirfilter.h83 GstClockTime start_ts; /* start timestamp after a discont */ member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_perfetto.cc123 p->start_ts[stage] = ts_ns; in stage_start()
144 send_descriptors(tctx, p->start_ts[stage]); in stage_end()
152 packet->set_timestamp(p->start_ts[stage] + gpu_timestamp_offset); in stage_end()
158 event->set_duration(ts_ns - p->start_ts[stage]); in stage_end()
Dtu_perfetto.h68 uint64_t start_ts[NUM_STAGES]; member
/third_party/ffmpeg/tests/api/
Dapi-seek-test.c196 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/ds/
Dintel_driver_ds.h173 uint64_t start_ts);
183 uint64_t start_ts) in intel_ds_end_submit() argument
Dintel_driver_ds.cc454 uint64_t start_ts) in intel_ds_end_submit() argument
475 packet->set_timestamp(start_ts); in intel_ds_end_submit()
482 submit->set_duration_ns(end_ts - start_ts); in intel_ds_end_submit()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtsparse.c930 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/mesa3d/src/intel/common/
Dintel_measure.c449 buffered_result->start_ts = timestamps[i]; in intel_measure_push_result()
452 raw_timestamp_delta(prev_end_ts, buffered_result->start_ts); in intel_measure_push_result()
586 uint64_t duration_ts = raw_timestamp_delta(start_result->start_ts, in print_combined_results()
594 duration_ts += raw_timestamp_delta(current_result->start_ts, in print_combined_results()
607 start_result->start_ts, current_result->end_ts, in print_combined_results()
Dintel_measure.h118 uint64_t start_ts, end_ts, idle_duration; member
/third_party/ffmpeg/libavformat/
Dsbgdec.c116 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 …]
Dsmoothstreamingenc.c392 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()
Dhdsenc.c288 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/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_perfetto.cc131 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()
Dfreedreno_perfetto.h93 uint64_t start_ts[NUM_STAGES]; member
/third_party/gstreamer/gstplugins_bad/gst/debugutils/
Dfpsdisplaysink.c234 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()
Dfpsdisplaysink.h57 GstClockTime start_ts; member
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/
Dgstspu-vobsub.c281 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/gst/matroska/
Dmatroska-mux.h71 GstClockTime start_ts; member
Dmatroska-mux.c654 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_good/ext/shout2/
Dgstshout2.c560 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/
Dgstbaseparse.c357 GstClockTime start_ts; member
1313 next_dts = seek->start_ts; in gst_base_parse_sink_event_default()
4610 GstClockTime start_ts; in gst_base_parse_handle_seek() local
4672 gst_base_parse_find_offset (parse, seeksegment.position, TRUE, &start_ts); in gst_base_parse_handle_seek()
4673 if (seeksegment.position <= start_ts + TARGET_DIFFERENCE) { in gst_base_parse_handle_seek()
4694 seekpos = gst_base_parse_find_offset (parse, startpos, TRUE, &start_ts); in gst_base_parse_handle_seek()
4699 start_ts = seeksegment.position; in gst_base_parse_handle_seek()
4701 start_ts = start; in gst_base_parse_handle_seek()
4706 if (!gst_base_parse_convert (parse, format, start_ts, in gst_base_parse_handle_seek()
4716 start_ts, seekpos); in gst_base_parse_handle_seek()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_batch.c1059 uint64_t start_ts = intel_ds_begin_submit(batch->ds); in _iris_batch_flush() local
1062 intel_ds_end_submit(batch->ds, start_ts); in _iris_batch_flush()
/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_rtb.c1194 ngtcp2_tstamp start_ts; in rtb_detect_lost_pkt() local
1225 start_ts = ngtcp2_max(rtb->persistent_congestion_start_ts, in rtb_detect_lost_pkt()
1231 if (last_lost_pkt_num == ent->hd.pkt_num + 1 && ent->ts >= start_ts) { in rtb_detect_lost_pkt()

12