Lines Matching refs:dts_shift
3269 av_log(logctx, AV_LOG_WARNING, "mov_update_dts_shift(): dts_shift set to %d\n", INT_MAX);
3272 sc->dts_shift = FFMAX(sc->dts_shift, -duration);
3350 av_log(c->fc, AV_LOG_TRACE, "dts shift %d\n", sc->dts_shift);
3538 // If dts_shift > 0, then all the index timestamps will have to be offset by
3539 // at least dts_shift amount to obtain PTS.
3540 // Hence we decrement the searched timestamp_pts by dts_shift to find the closest index element.
3541 if (msc->dts_shift > 0) {
3542 timestamp_pts -= msc->dts_shift;
3580 // No need to add dts_shift to the timestamp here becase timestamp_pts has already been
3581 // compensated by dts_shift above.
3871 // If the dts_shift is positive (in case of negative ctts values in mov),
3872 // then negate the DTS by dts_shift
3873 if (msc->dts_shift > 0) {
3874 edit_list_dts_entry_end -= msc->dts_shift;
3875 av_log(mov->fc, AV_LOG_DEBUG, "Shifting DTS by %d because of negative CTTS.\n", msc->dts_shift);
3948 curr_cts = current->timestamp + msc->dts_shift;
4018 msc->min_corrected_pts = edit_list_dts_counter + curr_ctts + msc->dts_shift;
4020 msc->min_corrected_pts = FFMIN(msc->min_corrected_pts, edit_list_dts_counter + curr_ctts + msc->dts_shift);
4256 current_dts -= sc->dts_shift;
4496 st->start_time = sti->index_entries[0].timestamp + sc->dts_shift;
5342 dts = pts - sc->dts_shift;
5350 " sc->dts_shift %d ctts.duration %d"
5354 sc->dts_shift, ctts_duration,
9140 pkt->pts = pkt->dts + sc->dts_shift + sc->ctts_data[sc->ctts_index].duration;
9245 key_sample_pts = key_sample_dts + sc->sample_offsets[sample] + sc->dts_shift;
9267 timestamp -= (sc->min_corrected_pts + sc->dts_shift);