Lines Matching refs:ts_min
1324 int64_t ts_min, ts_max, ts;
1336 ts_min= AV_NOPTS_VALUE;
1349 ts_min= e->timestamp;
1352 pos_min,ts_min);
1373 pos= av_gen_search(s, stream_index, target_ts, pos_min, pos_max, pos_limit, ts_min, ts_max, flags, &ts, avif->read_timestamp);
1385 int64_t av_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts, int64_t pos_min, int64_t pos_max, int64_t pos_limit, int64_t ts_min, int64_t ts_max, int flags, int64_t *ts_ret, int64_t (*read_timestamp)(struct AVFormatContext *, int , int64_t *, int64_t )){
1394 if(ts_min == AV_NOPTS_VALUE){
1396 ts_min = read_timestamp(s, stream_index, &pos_min, INT64_MAX);
1397 if (ts_min == AV_NOPTS_VALUE)
1426 if(ts_min > ts_max){
1428 }else if(ts_min == ts_max){
1437 ts_min, ts_max);
1444 pos = av_rescale(target_ts - ts_min, pos_max - pos_min, ts_max - ts_min)
1466 av_log(s, AV_LOG_DEBUG, "%"PRId64" %"PRId64" %"PRId64" / %"PRId64" %"PRId64" %"PRId64" target:%"PRId64" limit:%"PRId64" start:%"PRId64" noc:%d\n", pos_min, pos, pos_max, ts_min, ts, ts_max, target_ts, pos_limit, start_pos, no_change);
1480 ts_min = ts;
1485 ts = (flags & AVSEEK_FLAG_BACKWARD) ? ts_min : ts_max;
1488 ts_min = read_timestamp(s, stream_index, &pos_min, INT64_MAX);
1492 pos, ts_min, target_ts, ts_max);