Lines Matching refs:time_base
157 static int imf_time_to_ts(int64_t *ts, AVRational t, AVRational time_base)
163 r = av_div_q(t, time_base);
416 st->time_base))
419 AVRATIONAL_ARG(st->time_base), AVRATIONAL_ARG(track->current_timestamp));
590 first_resource_stream->time_base.num,
591 first_resource_stream->time_base.den);
593 av_inv_q(asset_stream->time_base)));
778 ", time_base=" AVRATIONAL_FORMAT "\n", pkt->pts, pkt->dts, pkt->duration,
779 pkt->stream_index, pkt->pos, AVRATIONAL_ARG(pkt->time_base));
791 ret = imf_time_to_ts(&delta_ts, resource->ts_offset, st->time_base);
802 AVRATIONAL_ARG(pkt->time_base));
808 av_mul_q(av_make_q((int)pkt->duration, 1), st->time_base));
820 st->time_base);
837 st->time_base,
936 ff_rescale_interval(s->streams[stream_index]->time_base,
956 st->time_base))
960 st->time_base.den * c->cpl->edit_rate.den,
961 st->time_base.num * c->cpl->edit_rate.num);
966 t->current_timestamp = av_mul_q(av_make_q(dts, 1), st->time_base);