Lines Matching defs:pos_min
1533 int64_t av_uninit(pos_min), av_uninit(pos_max), pos, pos_limit;
1557 pos_min= e->pos;
1559 av_dlog(s, "using cached pos_min=0x%"PRIx64" dts_min=%"PRId64"\n",
1560 pos_min,ts_min);
1578 pos= ff_gen_search(s, stream_index, target_ts, pos_min, pos_max, pos_limit, ts_min, ts_max, flags, &ts, avif->read_timestamp);
1593 int64_t pos_min, int64_t pos_max, int64_t pos_limit,
1597 return ff_gen_search(s, stream_index, target_ts, pos_min, pos_max,
1604 int64_t pos_min, int64_t pos_max, int64_t pos_limit,
1615 pos_min = s->data_offset;
1616 ts_min = read_timestamp(s, stream_index, &pos_min, INT64_MAX);
1649 pos_limit= pos_min;
1653 while (pos_min < pos_limit) {
1654 av_dlog(s, "pos_min=0x%"PRIx64" pos_max=0x%"PRIx64" dts_min=%"PRId64" dts_max=%"PRId64"\n",
1655 pos_min, pos_max, ts_min, ts_max);
1661 pos = av_rescale(target_ts - ts_min, pos_max - pos_min, ts_max - ts_min)
1662 + pos_min - approximate_keyframe_distance;
1665 pos = (pos_min + pos_limit)>>1;
1669 pos=pos_min;
1671 if(pos <= pos_min)
1672 pos= pos_min + 1;
1683 pos_min, pos, pos_max, ts_min, ts, ts_max, target_ts,
1696 pos_min = pos;
1701 pos = (flags & AVSEEK_FLAG_BACKWARD) ? pos_min : pos_max;
1703 pos_min = pos;
1704 ts_min = read_timestamp(s, stream_index, &pos_min, INT64_MAX);
1705 pos_min++;
1706 ts_max = read_timestamp(s, stream_index, &pos_min, INT64_MAX);
1714 int64_t pos_min, pos_max;
1724 pos_min = s->data_offset;
1727 if (pos < pos_min) pos= pos_min;