Lines Matching refs:dts
635 next_dts = track->cluster[cluster_idx + 1].dts;
637 next_dts -= track->cluster[cluster_idx].dts;
1903 delay = av_rescale_rnd(track->cluster[0].dts + start_ct, MOV_TIMESCALE,
1930 av_assert0(av_rescale_rnd(track->cluster[0].dts, MOV_TIMESCALE, track->timescale, AV_ROUND_DOWN) <= 0);
1931 start_ct = -FFMIN(track->cluster[0].dts, 0); //FFMIN needed due to rounding
2835 track->cluster[0].dts);
3258 mov->tracks[i].cluster[0].dts;
3289 track->cluster[0].dts;
3354 int64_t duration = pkt->dts - trk->cluster[trk->entry - 1].dts;
3357 duration, pkt->dts
3360 pkt->dts = trk->cluster[trk->entry - 1].dts + 1;
3470 trk->cluster[trk->entry].dts = pkt->dts;
3474 * which might not exactly match our dts. Therefore adjust the dts
3476 trk->cluster[trk->entry].dts = trk->start_dts + trk->track_duration;
3479 trk->cluster[trk->entry].dts = trk->start_dts = 0;
3482 trk->start_dts = pkt->dts;
3483 trk->track_duration = pkt->dts - trk->start_dts + pkt->duration;
3488 pkt->pts = pkt->dts;
3490 if (pkt->dts != pkt->pts)
3492 trk->cluster[trk->entry].cts = pkt->pts - pkt->dts;
3531 frag_duration = av_rescale_q(pkt->dts - trk->cluster[0].dts,
3549 int64_t dts) {
3557 end.pts = dts;
3558 end.dts = dts;
3583 * dts == 0, which is rarely true for subtitles. So, as soon
3584 * as we see any packet with dts > 0, write an empty subtitle
3585 * at dts == 0 for any subtitle track with no samples in it.
3588 * dts is past the duration of the last subtitle sample. If
3603 trk->track_duration < pkt->dts &&
3690 pkt.pts = pkt.dts = av_rescale_q(c->start, c->time_base, (AVRational){1,MOV_TIMESCALE});
3691 pkt.duration = end - pkt.dts;