Lines Matching refs:hpos
4410 gint64 lpos, hpos, newpos; in gst_base_parse_locate_time() local
4451 hpos = parse->priv->upstream_size; in gst_base_parse_locate_time()
4455 ", times %" GST_TIME_FORMAT " %" GST_TIME_FORMAT, lpos, hpos, in gst_base_parse_locate_time()
4461 if (parse->priv->pad_mode != GST_PAD_MODE_PULL || !hpos || in gst_base_parse_locate_time()
4475 *_offset = hpos; in gst_base_parse_locate_time()
4485 "hpos: %" G_GUINT64_FORMAT ", htime: %" GST_TIME_FORMAT, hpos, in gst_base_parse_locate_time()
4488 newpos = hpos; in gst_base_parse_locate_time()
4489 } else if (G_LIKELY (hpos > lpos)) { in gst_base_parse_locate_time()
4491 gst_util_uint64_scale (hpos - lpos, time - ltime, htime - ltime) + in gst_base_parse_locate_time()
4501 newpos = CLAMP (newpos, lpos, hpos); in gst_base_parse_locate_time()
4509 hpos = MAX (lpos, hpos - chunk); in gst_base_parse_locate_time()
4528 hpos = (newpos >= hpos) ? MAX (lpos, hpos - chunk) : MAX (lpos, newpos); in gst_base_parse_locate_time()
4542 lpos = CLAMP (newpos, lpos, hpos); in gst_base_parse_locate_time()