Home
last modified time | relevance | path

Searched refs:next_ts (Results 1 – 25 of 34) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst/videorate/
Dgstvideorate.c617 videorate->next_ts = GST_CLOCK_TIME_NONE; in gst_video_rate_reset()
672 push_ts = videorate->next_ts; in gst_video_rate_push_buffer()
679 GstClockTimeDiff next_ts = in gst_video_rate_push_buffer() local
686 videorate->next_ts = next_ts < 0 ? GST_CLOCK_TIME_NONE : next_ts; in gst_video_rate_push_buffer()
696 videorate->next_ts = next_intime; in gst_video_rate_push_buffer()
703 videorate->next_ts = in gst_video_rate_push_buffer()
709 GST_BUFFER_DURATION (outbuf) = videorate->next_ts - push_ts; in gst_video_rate_push_buffer()
717 videorate->next_ts in gst_video_rate_push_buffer()
818 && GST_CLOCK_TIME_IS_VALID (videorate->next_ts) in gst_video_rate_sink_event()
819 && videorate->next_ts - videorate->segment.base < in gst_video_rate_sink_event()
[all …]
Dgstvideorate.h44 guint64 next_ts; /* Timestamp of next buffer to output */ member
/third_party/gstreamer/gstplugins_base/gst/audiorate/
Dgstaudiorate.c210 audiorate->next_ts = -1; in gst_audio_rate_reset()
236 gst_util_uint64_scale_int_round (audiorate->next_ts, in gst_audio_rate_setcaps()
280 ", filling to %" GST_TIME_FORMAT, GST_TIME_ARGS (audiorate->next_ts), in gst_audio_rate_fill_to_time()
284 !GST_CLOCK_TIME_IS_VALID (audiorate->next_ts)) in gst_audio_rate_fill_to_time()
334 audiorate->next_ts = -1; in gst_audio_rate_sink_event()
490 audiorate->next_ts = in gst_audio_rate_chain()
501 audiorate->next_ts = GST_BUFFER_TIMESTAMP (buf); in gst_audio_rate_chain()
508 in_time = audiorate->next_ts; in gst_audio_rate_chain()
527 GST_TIME_ARGS (audiorate->next_ts)); in gst_audio_rate_chain()
529 diff = in_time - audiorate->next_ts; in gst_audio_rate_chain()
[all …]
Dgstaudiorate.h53 guint64 next_ts; member
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgstinterpolationcontrolsource.c78 GstClockTime * next_ts) in _get_nearest_control_points2() argument
102 *next_ts = (*cp2)->timestamp; in _get_nearest_control_points2()
104 *next_ts = GST_CLOCK_TIME_NONE; in _get_nearest_control_points2()
146 GstClockTime next_ts = 0; in interpolate_none_get_value_array() local
153 i, GST_TIME_ARGS (ts), GST_TIME_ARGS (next_ts)); in interpolate_none_get_value_array()
154 if (ts >= next_ts) { in interpolate_none_get_value_array()
155 _get_nearest_control_points2 (self, ts, &cp1, &cp2, &next_ts); in interpolate_none_get_value_array()
218 GstClockTime next_ts = 0; in interpolate_linear_get_value_array() local
225 i, GST_TIME_ARGS (ts), GST_TIME_ARGS (next_ts)); in interpolate_linear_get_value_array()
226 if (ts >= next_ts) { in interpolate_linear_get_value_array()
[all …]
Dgsttriggercontrolsource.c116 GstClockTime next_ts = 0; in interpolate_trigger_get_value_array() local
124 if (ts >= next_ts) { in interpolate_trigger_get_value_array()
139 next_ts = cp->timestamp; in interpolate_trigger_get_value_array()
141 next_ts = GST_CLOCK_TIME_NONE; in interpolate_trigger_get_value_array()
/third_party/ffmpeg/libavformat/
Dsccdec.c67 int64_t pos, ts, next_ts = AV_NOPTS_VALUE; in scc_read_header() local
80 while (!ff_text_eof(&tr) || next_ts == AV_NOPTS_VALUE || line2[0]) { in scc_read_header()
85 if (next_ts == AV_NOPTS_VALUE) { in scc_read_header()
120 next_ts = (hh * 3600LL + mm * 60LL + ss) * 1000LL + fs * 33LL; in scc_read_header()
171 sub->duration = next_ts - ts; in scc_read_header()
172 ts = next_ts; in scc_read_header()
/third_party/gstreamer/gstplugins_good/gst/monoscope/
Dgstmonoscope.c136 monoscope->next_ts = GST_CLOCK_TIME_NONE; in gst_monoscope_init()
166 monoscope->next_ts = GST_CLOCK_TIME_NONE; in gst_monoscope_reset()
366 monoscope->next_ts = GST_CLOCK_TIME_NONE; in gst_monoscope_chain()
371 monoscope->next_ts = GST_BUFFER_TIMESTAMP (inbuf); in gst_monoscope_chain()
397 if (monoscope->next_ts != -1) { in gst_monoscope_chain()
402 GST_FORMAT_TIME, monoscope->next_ts); in gst_monoscope_chain()
445 GST_BUFFER_TIMESTAMP (outbuf) = monoscope->next_ts; in gst_monoscope_chain()
454 if (GST_CLOCK_TIME_IS_VALID (monoscope->next_ts)) in gst_monoscope_chain()
455 monoscope->next_ts += monoscope->frame_duration; in gst_monoscope_chain()
Dgstmonoscope.h49 guint64 next_ts; /* expected timestamp of the next frame */ member
/third_party/gstreamer/gstplugins_bad/gst/jpegformat/
Dgstjpegparse.c128 parse->next_ts = GST_CLOCK_TIME_NONE; in gst_jpeg_parse_init()
725 && !GST_CLOCK_TIME_IS_VALID (parse->next_ts)) in gst_jpeg_parse_pre_push_frame()
726 parse->next_ts = bparse->segment.start; in gst_jpeg_parse_pre_push_frame()
728 GST_BUFFER_TIMESTAMP (outbuf) = parse->next_ts; in gst_jpeg_parse_pre_push_frame()
730 if (parse->has_fps && GST_CLOCK_TIME_IS_VALID (parse->next_ts) in gst_jpeg_parse_pre_push_frame()
732 parse->next_ts += parse->duration; in gst_jpeg_parse_pre_push_frame()
735 parse->next_ts = GST_CLOCK_TIME_NONE; in gst_jpeg_parse_pre_push_frame()
765 if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (parse->next_ts))) in gst_jpeg_parse_handle_frame()
766 parse->next_ts = timestamp; in gst_jpeg_parse_handle_frame()
830 parse->next_ts = GST_CLOCK_TIME_NONE; in gst_jpeg_parse_sink_event()
[all …]
Dgstjpegparse.h71 guint64 next_ts; member
/third_party/gstreamer/gstplugins_bad/ext/opus/
Dgstopusparse.c123 parse->next_ts = 0; in gst_opus_parse_start()
422 GST_BUFFER_TIMESTAMP (frame->buffer) = parse->next_ts; in gst_opus_parse_parse_frame()
427 parse->next_ts += duration; in gst_opus_parse_parse_frame()
431 gst_util_uint64_scale (parse->next_ts, 48000, GST_SECOND); in gst_opus_parse_parse_frame()
432 GST_BUFFER_OFFSET (frame->buffer) = parse->next_ts; in gst_opus_parse_parse_frame()
Dgstopusparse.h49 GstClockTime next_ts; member
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpg729pay.c170 payload_len, GST_TIME_ARGS (rtpg729pay->next_ts)); in gst_rtp_g729_pay_push()
183 GST_BUFFER_PTS (outbuf) = rtpg729pay->next_ts; in gst_rtp_g729_pay_push()
186 rtpg729pay->next_ts += duration; in gst_rtp_g729_pay_push()
329 rtpg729pay->next_ts = timestamp; in gst_rtp_g729_pay_handle_buffer()
Dgstrtpg729pay.h48 GstClockTime next_ts; member
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/
Dgstdvdspu.c265 state->next_ts = GST_CLOCK_TIME_NONE; in gst_dvd_spu_flush_spu_info()
578 GstClockTime next_ts = dvdspu->video_seg.position; in dvdspu_handle_vid_buffer() local
580 next_ts += gst_util_uint64_scale_int (GST_SECOND, in dvdspu_handle_vid_buffer()
586 dvdspu->video_seg.position = next_ts; in dvdspu_handle_vid_buffer()
595 GST_TIME_ARGS (next_ts)); in dvdspu_handle_vid_buffer()
598 GST_BUFFER_TIMESTAMP (buf) = next_ts; in dvdspu_handle_vid_buffer()
784 while (state->next_ts == GST_CLOCK_TIME_NONE || state->next_ts <= new_ts) { in gst_dvd_spu_advance_spu()
787 GST_TIME_ARGS (state->next_ts), GST_TIME_ARGS (new_ts)); in gst_dvd_spu_advance_spu()
Dgstspu-vobsub.c250 state->next_ts = state->vobsub.base_ts = GST_CLOCK_TIME_NONE; in gst_dvd_spu_finish_spu_buf()
270 state->next_ts = state->vobsub.base_ts + STM_TO_GST (delay); in gst_dvd_spu_setup_cmd_blk()
274 state->vobsub.cur_cmd_blk, GST_TIME_ARGS (state->next_ts)); in gst_dvd_spu_setup_cmd_blk()
379 " @ offset %u", GST_TIME_ARGS (state->next_ts), in gstspu_vobsub_execute_event()
Dgstdvdspu.h69 GstClockTime next_ts; /* Next event TS in running time */ member
/third_party/ffmpeg/libavcodec/
Dffwavesynth.c94 int64_t next_ts; member
216 ws->next_ts = i < ws->nb_inter ? ws->inter[i].ts_start : INF_TS; in wavesynth_seek()
411 ws->next_ts = i < ws->nb_inter ? ws->inter[i].ts_start : INF_TS; in wavesynth_enter_intervals()
442 if (ts >= ws->next_ts) in wavesynth_decode()
/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstogmparse.c797 GstClockTime ts, next_ts; in gst_ogm_parse_data_packet() local
809 next_ts = gst_util_uint64_scale (ogm->next_granulepos + samples, in gst_ogm_parse_data_packet()
813 GST_BUFFER_DURATION (sbuf) = next_ts - ts; in gst_ogm_parse_data_packet()
823 GstClockTime ts, next_ts; in gst_ogm_parse_data_packet() local
828 next_ts = gst_util_uint64_scale_int (ogm->next_granulepos + xsize, in gst_ogm_parse_data_packet()
832 GST_BUFFER_DURATION (sbuf) = next_ts - ts; in gst_ogm_parse_data_packet()
Dgstoggmux.h111 GstClockTime next_ts; member
/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackenc.h83 GstClockTime next_ts; member
/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstdvdemux.c1492 GstClockTime next_ts; in gst_dvdemux_demux_frame() local
1544 next_ts = gst_util_uint64_scale_int ( in gst_dvdemux_demux_frame()
1548 duration = dvdemux->time_segment.position - next_ts; in gst_dvdemux_demux_frame()
1550 next_ts = gst_util_uint64_scale_int ( in gst_dvdemux_demux_frame()
1553 duration = next_ts - dvdemux->time_segment.position; in gst_dvdemux_demux_frame()
1586 dvdemux->time_segment.position = next_ts; in gst_dvdemux_demux_frame()
1600 && next_ts > dvdemux->time_segment.stop) in gst_dvdemux_demux_frame()
1602 && dvdemux->time_segment.start > next_ts)) in gst_dvdemux_demux_frame()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioencoder.c822 GstClockTime old_ts, next_ts; in gst_audio_encoder_finish_frame() local
826 next_ts = ts + in gst_audio_encoder_finish_frame()
830 diff = GST_CLOCK_DIFF (next_ts, old_ts); in gst_audio_encoder_finish_frame()
1312 GstClockTime next_ts = 0; in gst_audio_encoder_chain() local
1320 next_ts = priv->base_ts + in gst_audio_encoder_chain()
1325 GST_TIME_ARGS (priv->base_ts), GST_TIME_ARGS (next_ts)); in gst_audio_encoder_chain()
1326 diff = GST_CLOCK_DIFF (next_ts, GST_BUFFER_PTS (buffer)); in gst_audio_encoder_chain()
1344 GST_TIME_FORMAT ". Clipping buffer", GST_TIME_ARGS (next_ts)); in gst_audio_encoder_chain()
/third_party/gstreamer/gstreamer/tools/
Dgst-stats.c96 GstClockTime first_ts, last_ts, next_ts; member
259 stats->first_ts = stats->last_ts = stats->next_ts = GST_CLOCK_TIME_NONE; in new_pad_stats()
385 stats->next_ts = buffer_ts + buffer_dur; in do_pad_stats()
387 stats->next_ts = GST_CLOCK_TIME_NONE; in do_pad_stats()

12