Lines Matching defs:timestamp
2036 int64_t dts = av_rescale(current_sample->timestamp * (int64_t)msc->time_rate,
2079 pkt->dts = sample->timestamp;
2095 st->index_entries[sc->current_sample].timestamp : st->duration;
2106 static int mov_seek_stream(AVStream *st, int64_t timestamp, int flags)
2112 sample = av_index_search_timestamp(st, timestamp, flags);
2113 dprintf(st->codec, "stream %d, timestamp %"PRId64", sample %d\n", st->index, timestamp, sample);
2137 int64_t seek_timestamp, timestamp;
2151 /* adjust seek timestamp to found sample timestamp */
2152 seek_timestamp = st->index_entries[sample].timestamp;
2159 timestamp = av_rescale_q(seek_timestamp, s->streams[stream_index]->time_base, st->time_base);
2160 mov_seek_stream(st, timestamp, flags);