Lines Matching refs:in_segment
523 timestamp = st->in_segment.stop - GST_BUFFER_TIMESTAMP (inbuf); in gst_scaletempo_transform()
529 timestamp = GST_BUFFER_TIMESTAMP (inbuf) - st->in_segment.start; in gst_scaletempo_transform()
535 GST_BUFFER_TIMESTAMP (outbuf) = timestamp / st->scale + st->in_segment.start; in gst_scaletempo_transform()
553 if (scaletempo->in_segment.format == GST_FORMAT_TIME) { in gst_scaletempo_submit_input_buffer()
555 gst_audio_buffer_clip (input, &scaletempo->in_segment, in gst_scaletempo_submit_input_buffer()
627 scaletempo->in_segment = segment; in gst_scaletempo_sink_event()
653 gst_segment_init (&scaletempo->in_segment, GST_FORMAT_UNDEFINED); in gst_scaletempo_sink_event()
667 if (gap_ts > scaletempo->in_segment.stop) { in gst_scaletempo_sink_event()
672 gap_ts = scaletempo->in_segment.stop - gap_ts; in gst_scaletempo_sink_event()
675 if (scaletempo->in_segment.start > gap_ts) { in gst_scaletempo_sink_event()
680 gap_ts = gap_ts - scaletempo->in_segment.start; in gst_scaletempo_sink_event()
682 gap_ts = gap_ts / scaletempo->scale + scaletempo->in_segment.start; in gst_scaletempo_sink_event()
735 gst_segment_init (&scaletempo->in_segment, GST_FORMAT_UNDEFINED); in gst_scaletempo_start()
960 gst_segment_init (&scaletempo->in_segment, GST_FORMAT_UNDEFINED); in gst_scaletempo_init()