Home
last modified time | relevance | path

Searched refs:seeksegment (Results 1 – 21 of 21) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/midi/
Dmidiparse.c269 GstSegment seeksegment; in gst_midi_parse_perform_seek() local
313 memcpy (&seeksegment, &midiparse->segment, sizeof (GstSegment)); in gst_midi_parse_perform_seek()
317 gst_segment_do_seek (&seeksegment, rate, seek_format, flags, in gst_midi_parse_perform_seek()
325 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_midi_parse_perform_seek()
328 res = gst_midi_parse_do_seek (midiparse, &seeksegment); in gst_midi_parse_perform_seek()
343 memcpy (&midiparse->segment, &seeksegment, sizeof (GstSegment)); in gst_midi_parse_perform_seek()
346 if (seeksegment.flags & GST_SEGMENT_FLAG_SEGMENT) { in gst_midi_parse_perform_seek()
350 seeksegment.format, seeksegment.position); in gst_midi_parse_perform_seek()
357 if ((stop = seeksegment.stop) == -1) in gst_midi_parse_perform_seek()
358 stop = seeksegment.duration; in gst_midi_parse_perform_seek()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasesrc.c1506 GstSegment * seeksegment) in gst_base_src_prepare_seek_segment() argument
1514 result = bclass->prepare_seek_segment (src, event, seeksegment); in gst_base_src_prepare_seek_segment()
1686 GstSegment seeksegment; in gst_base_src_perform_seek() local
1708 gst_segment_init (&seeksegment, dest_format); in gst_base_src_perform_seek()
1710 if (!gst_base_src_prepare_seek_segment (src, event, &seeksegment)) in gst_base_src_perform_seek()
1756 memcpy (&seeksegment, &src->segment, sizeof (GstSegment)); in gst_base_src_perform_seek()
1760 if (seeksegment.format != seek_format) { in gst_base_src_perform_seek()
1764 if (!gst_base_src_prepare_seek_segment (src, event, &seeksegment)) { in gst_base_src_perform_seek()
1772 gst_segment_do_seek (&seeksegment, rate, seek_format, flags, in gst_base_src_perform_seek()
1783 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_base_src_perform_seek()
[all …]
Dgstbaseparse.c4569 GstSegment seeksegment = { 0, }; in gst_base_parse_handle_seek() local
4621 gst_segment_copy_into (&parse->segment, &seeksegment); in gst_base_parse_handle_seek()
4624 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_base_parse_handle_seek()
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()
4641 startpos = seeksegment.position; in gst_base_parse_handle_seek()
4651 if (seeksegment.stop == -1 && seeksegment.duration != -1) in gst_base_parse_handle_seek()
4652 seeksegment.stop = seeksegment.start + seeksegment.duration; in gst_base_parse_handle_seek()
4655 seekstop = gst_base_parse_find_offset (parse, seeksegment.stop, FALSE, in gst_base_parse_handle_seek()
4659 start_ts = seeksegment.position; in gst_base_parse_handle_seek()
[all …]
Dgstbasesink.c4410 GstSegment seeksegment; in gst_base_sink_perform_seek() local
4439 memcpy (&seeksegment, &sink->segment, sizeof (GstSegment)); in gst_base_sink_perform_seek()
4448 &seeksegment)) { in gst_base_sink_perform_seek()
4456 gst_segment_do_seek (&seeksegment, rate, seek_format, flags, in gst_base_sink_perform_seek()
4467 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_base_sink_perform_seek()
4470 res = gst_base_sink_default_do_seek (sink, &seeksegment); in gst_base_sink_perform_seek()
4486 if (res && seeksegment.format != dest_format) { in gst_base_sink_perform_seek()
4493 &seeksegment); in gst_base_sink_perform_seek()
4498 gst_segment_copy_into (&seeksegment, &sink->segment); in gst_base_sink_perform_seek()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-demux.c2782 GstSegment seeksegment = { 0, }; in gst_matroska_demux_handle_seek_event() local
2842 memcpy (&seeksegment, &demux->common.segment, sizeof (GstSegment)); in gst_matroska_demux_handle_seek_event()
2849 seeksegment.duration = GST_CLOCK_TIME_NONE; in gst_matroska_demux_handle_seek_event()
2855 seeksegment.start -= demux->stream_start_time; in gst_matroska_demux_handle_seek_event()
2856 seeksegment.position -= demux->stream_start_time; in gst_matroska_demux_handle_seek_event()
2857 if (GST_CLOCK_TIME_IS_VALID (seeksegment.stop)) in gst_matroska_demux_handle_seek_event()
2858 seeksegment.stop -= demux->stream_start_time; in gst_matroska_demux_handle_seek_event()
2860 seeksegment.stop = seeksegment.duration; in gst_matroska_demux_handle_seek_event()
2863 if (!gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_matroska_demux_handle_seek_event()
2871 seeksegment.position += demux->stream_start_time; in gst_matroska_demux_handle_seek_event()
[all …]
Dmatroska-parse.c1288 GstSegment seeksegment = { 0, }; in gst_matroska_parse_handle_seek_event() local
1308 memcpy (&seeksegment, &parse->common.segment, sizeof (GstSegment)); in gst_matroska_parse_handle_seek_event()
1312 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_matroska_parse_handle_seek_event()
1316 GST_DEBUG_OBJECT (parse, "New segment %" GST_SEGMENT_FORMAT, &seeksegment); in gst_matroska_parse_handle_seek_event()
1318 if (seeksegment.rate < 0) in gst_matroska_parse_handle_seek_event()
1326 seeksegment.position, &parse->seek_index, &parse->seek_entry, in gst_matroska_parse_handle_seek_event()
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.c1231 gst_ps_demux_do_seek (GstPsDemux * demux, GstSegment * seeksegment) in gst_ps_demux_do_seek() argument
1235 guint64 scr = GSTTIME_TO_MPEGTIME (seeksegment->position + demux->base_time); in gst_ps_demux_do_seek()
1290 GstSegment seeksegment; in gst_ps_demux_handle_seek_pull() local
1335 memcpy (&seeksegment, &demux->src_segment, sizeof (GstSegment)); in gst_ps_demux_handle_seek_pull()
1341 if (!gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_ps_demux_handle_seek_pull()
1346 &seeksegment); in gst_ps_demux_handle_seek_pull()
1348 if (flush || seeksegment.position != demux->src_segment.position) { in gst_ps_demux_handle_seek_pull()
1350 if (!gst_ps_demux_do_seek (demux, &seeksegment)) { in gst_ps_demux_handle_seek_pull()
1356 if (seeksegment.rate > 0.0 && first_pts != G_MAXUINT64 in gst_ps_demux_handle_seek_pull()
1357 && seeksegment.start < first_pts - demux->base_time) { in gst_ps_demux_handle_seek_pull()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/aiff/
Daiffparse.c319 GstSegment seeksegment = { 0, }; in gst_aiff_parse_perform_seek() local
424 memcpy (&seeksegment, &aiff->segment, sizeof (GstSegment)); in gst_aiff_parse_perform_seek()
430 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_aiff_parse_perform_seek()
436 if ((stop = seeksegment.stop) == -1) in gst_aiff_parse_perform_seek()
437 stop = seeksegment.duration; in gst_aiff_parse_perform_seek()
446 gst_util_uint64_scale_ceil (seeksegment.position, in gst_aiff_parse_perform_seek()
449 aiff->offset = seeksegment.position; in gst_aiff_parse_perform_seek()
489 aiff->offset, aiff->end_offset, GST_TIME_ARGS (seeksegment.start), in gst_aiff_parse_perform_seek()
500 memcpy (&aiff->segment, &seeksegment, sizeof (GstSegment)); in gst_aiff_parse_perform_seek()
/third_party/gstreamer/gstplugins_good/gst/flv/
Dgstflvdemux.c2931 GstSegment seeksegment; in flv_demux_handle_seek_push() local
2942 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in flv_demux_handle_seek_push()
2948 gst_segment_do_seek (&seeksegment, rate, format, flags, in flv_demux_handle_seek_push()
2952 &seeksegment); in flv_demux_handle_seek_push()
2954 if (flush || seeksegment.position != demux->segment.position) { in flv_demux_handle_seek_push()
2956 guint64 offset = gst_flv_demux_find_offset (demux, &seeksegment, flags); in flv_demux_handle_seek_push()
2960 event = gst_event_new_seek (seeksegment.rate, GST_FORMAT_BYTES, in flv_demux_handle_seek_push()
2979 memcpy (&demux->segment, &seeksegment, sizeof (GstSegment)); in flv_demux_handle_seek_push()
3092 GstSegment seeksegment; in gst_flv_demux_handle_seek_pull() local
3139 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in gst_flv_demux_handle_seek_pull()
[all …]
/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstdvdemux.c1055 GstSegment seeksegment; in gst_dvdemux_handle_pull_seek() local
1103 memcpy (&seeksegment, &demux->time_segment, sizeof (GstSegment)); in gst_dvdemux_handle_pull_seek()
1107 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_dvdemux_handle_pull_seek()
1113 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_dvdemux_handle_pull_seek()
1116 res = gst_dvdemux_do_seek (demux, &seeksegment); in gst_dvdemux_handle_pull_seek()
1130 memcpy (&demux->time_segment, &seeksegment, sizeof (GstSegment)); in gst_dvdemux_handle_pull_seek()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgsttypefindelement.c519 GstSegment seeksegment = { 0, }; in gst_type_find_element_seek() local
532 memcpy (&seeksegment, &typefind->segment, sizeof (GstSegment)); in gst_type_find_element_seek()
535 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_type_find_element_seek()
540 GST_DEBUG_OBJECT (typefind, "New segment %" GST_SEGMENT_FORMAT, &seeksegment); in gst_type_find_element_seek()
565 memcpy (&typefind->segment, &seeksegment, sizeof (GstSegment)); in gst_type_find_element_seek()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavdemux.c547 GstSegment seeksegment; in gst_ffmpegdemux_perform_seek() local
632 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in gst_ffmpegdemux_perform_seek()
636 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_ffmpegdemux_perform_seek()
642 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_ffmpegdemux_perform_seek()
654 res = gst_ffmpegdemux_do_seek (demux, &seeksegment); in gst_ffmpegdemux_perform_seek()
665 memcpy (&demux->segment, &seeksegment, sizeof (GstSegment)); in gst_ffmpegdemux_perform_seek()
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfdemux.c4839 GstSegment seeksegment; local
4857 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment));
4863 gst_segment_do_seek (&seeksegment, rate, format, flags,
4867 &seeksegment);
4869 if (flush || seeksegment.position != demux->segment.position) {
4905 e = gst_event_new_seek (seeksegment.rate, GST_FORMAT_BYTES,
4906 seeksegment.flags | GST_SEEK_FLAG_ACCURATE, GST_SEEK_TYPE_SET,
4929 memcpy (&demux->segment, &seeksegment, sizeof (GstSegment));
5122 GstSegment seeksegment; local
5179 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment));
[all …]
/third_party/gstreamer/gstplugins_good/gst/wavparse/
Dgstwavparse.c395 GstSegment seeksegment = { 0, }; in gst_wavparse_perform_seek() local
510 memcpy (&seeksegment, &wav->segment, sizeof (GstSegment)); in gst_wavparse_perform_seek()
516 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_wavparse_perform_seek()
522 if ((stop = seeksegment.stop) == -1) in gst_wavparse_perform_seek()
523 stop = seeksegment.duration; in gst_wavparse_perform_seek()
530 if (!gst_wavparse_time_to_bytepos (wav, seeksegment.position, in gst_wavparse_perform_seek()
532 wav->offset = seeksegment.position; in gst_wavparse_perform_seek()
572 wav->end_offset, GST_TIME_ARGS (seeksegment.start), GST_TIME_ARGS (stop)); in gst_wavparse_perform_seek()
589 memcpy (&wav->segment, &seeksegment, sizeof (GstSegment)); in gst_wavparse_perform_seek()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgsttagdemux.c832 GstSegment seeksegment = { 0, }; in gst_tag_demux_seek_pull() local
886 memcpy (&seeksegment, &tagdemux->priv->segment, sizeof (GstSegment)); in gst_tag_demux_seek_pull()
889 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_tag_demux_seek_pull()
894 GST_DEBUG_OBJECT (tagdemux, "New segment %" GST_SEGMENT_FORMAT, &seeksegment); in gst_tag_demux_seek_pull()
921 memcpy (&tagdemux->priv->segment, &seeksegment, sizeof (GstSegment)); in gst_tag_demux_seek_pull()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dtsdemux.c926 GstSegment seeksegment; in gst_ts_demux_do_seek() local
952 memcpy (&seeksegment, &base->out_segment, sizeof (GstSegment)); in gst_ts_demux_do_seek()
954 &seeksegment); in gst_ts_demux_do_seek()
958 if (!gst_segment_do_seek (&seeksegment, rate, format, flags, start_type, in gst_ts_demux_do_seek()
966 &seeksegment); in gst_ts_demux_do_seek()
971 GstClockTime target = seeksegment.start; in gst_ts_demux_do_seek()
1010 gst_event_new_segment (&seeksegment)); in gst_ts_demux_do_seek()
1021 memcpy (&base->out_segment, &seeksegment, sizeof (GstSegment)); in gst_ts_demux_do_seek()
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavidemux.c4587 GstSegment seeksegment = { 0, }; in gst_avi_demux_handle_seek() local
4649 memcpy (&seeksegment, &avi->segment, sizeof (GstSegment)); in gst_avi_demux_handle_seek()
4653 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_avi_demux_handle_seek()
4658 gst_avi_demux_do_seek (avi, &seeksegment, flags); in gst_avi_demux_handle_seek()
4672 memcpy (&avi->segment, &seeksegment, sizeof (GstSegment)); in gst_avi_demux_handle_seek()
4731 GstSegment seeksegment; in avi_demux_handle_seek_push() local
4762 memcpy (&seeksegment, &avi->segment, sizeof (GstSegment)); in avi_demux_handle_seek_push()
4763 gst_segment_do_seek (&seeksegment, rate, format, flags, in avi_demux_handle_seek_push()
4767 cur = seeksegment.position; in avi_demux_handle_seek_push()
4787 if (seeksegment.rate < 0) in avi_demux_handle_seek_push()
/third_party/gstreamer/gstplugins_good/gst/rtsp/
Dgstrtspsrc.c2856 GstSegment seeksegment = { 0, }; in gst_rtspsrc_perform_seek() local
2916 seeksegment = src->segment; in gst_rtspsrc_perform_seek()
2921 rate_change_same_direction = (rate * seeksegment.rate) > 0; in gst_rtspsrc_perform_seek()
2922 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_rtspsrc_perform_seek()
2952 src->segment = seeksegment; in gst_rtspsrc_perform_seek()
2993 gst_rtspsrc_play (src, &seeksegment, FALSE, seek_style); in gst_rtspsrc_perform_seek()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c1503 GstSegment seeksegment; in gst_qtdemux_do_seek() local
1569 memcpy (&seeksegment, &qtdemux->segment, sizeof (GstSegment)); in gst_qtdemux_do_seek()
1573 if (!gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_qtdemux_do_seek()
1579 ret = gst_qtdemux_perform_seek (qtdemux, &seeksegment, seqnum, flags); in gst_qtdemux_do_seek()
1593 memcpy (&qtdemux->segment, &seeksegment, sizeof (GstSegment)); in gst_qtdemux_do_seek()
/third_party/gstreamer/gstreamer/
DChangeLog28233 baseparse: Fix extrapolation of seeksegment.stop
/third_party/gstreamer/gstplugins_bad/
DChangeLog112027 The seeksegment was no longer used since the switch to calculating segments