Lines Matching refs:ts_max
2150 int64_t ts_min, ts_max, ts; in ff_seek_frame_binary() local
2160 ts_max = in ff_seek_frame_binary()
2191 ts_max = e->timestamp; in ff_seek_frame_binary()
2194 " dts_max=%s\n", pos_max, pos_limit, av_ts2str(ts_max)); in ff_seek_frame_binary()
2199 ts_min, ts_max, flags, &ts, avif->read_timestamp); in ff_seek_frame_binary()
2217 int64_t limit, ts_max; in ff_find_last_ts() local
2223 ts_max = ff_read_timestamp(s, stream_index, in ff_find_last_ts()
2226 } while (ts_max == AV_NOPTS_VALUE && 2*limit > step); in ff_find_last_ts()
2227 if (ts_max == AV_NOPTS_VALUE) in ff_find_last_ts()
2237 ts_max = tmp_ts; in ff_find_last_ts()
2244 *ts = ts_max; in ff_find_last_ts()
2253 int64_t ts_min, int64_t ts_max, in ff_gen_search() argument
2277 if (ts_max == AV_NOPTS_VALUE) { in ff_gen_search()
2278 if ((ret = ff_find_last_ts(s, stream_index, &ts_max, &pos_max, read_timestamp)) < 0) in ff_gen_search()
2283 if (ts_max <= target_ts) { in ff_gen_search()
2284 *ts_ret = ts_max; in ff_gen_search()
2288 av_assert0(ts_min < ts_max); in ff_gen_search()
2294 pos_min, pos_max, av_ts2str(ts_min), av_ts2str(ts_max)); in ff_gen_search()
2301 ts_max - ts_min) + in ff_gen_search()
2326 av_ts2str(ts_min), av_ts2str(ts), av_ts2str(ts_max), av_ts2str(target_ts), in ff_gen_search()
2335 ts_max = ts; in ff_gen_search()
2344 ts = (flags & AVSEEK_FLAG_BACKWARD) ? ts_min : ts_max; in ff_gen_search()
2349 ts_max = ff_read_timestamp(s, stream_index, &pos_min, INT64_MAX, read_timestamp); in ff_gen_search()
2351 pos, av_ts2str(ts_min), av_ts2str(target_ts), av_ts2str(ts_max)); in ff_gen_search()