Lines Matching refs:time_base
215 if (!st->time_base.num) {
373 den = (int64_t)st->time_base.num * st->codecpar->sample_rate;
376 den = (int64_t)st->time_base.num * st->time_base.den;
380 den = (int64_t)st->time_base.num * st->time_base.den;
580 frac_add(sti->priv_pts, (int64_t)st->time_base.den * frame_size);
584 frac_add(sti->priv_pts, (int64_t)st->time_base.den * st->time_base.num);
607 st->time_base);
608 } else if (st->time_base.num * 1000LL > st->time_base.den)
616 st->time_base);
635 AVRational tb = sti->pub.time_base;
644 AVRational cmp_tb = s->streams[pktl->pkt.stream_index]->time_base;
662 st2->time_base,
716 int64_t offset = av_rescale_q(s->output_ts_offset, AV_TIME_BASE_Q, st->time_base);
850 uint64_t max= av_rescale_q_rnd(s->max_chunk_duration, AV_TIME_BASE_Q, st->time_base, AV_ROUND_UP);
898 int comp = av_compare_ts(next->dts, st2->time_base, pkt->dts,
899 st->time_base);
907 ts = av_rescale_q(pkt ->dts, st ->time_base, AV_TIME_BASE_Q) - preload;
908 ts2= av_rescale_q(next->dts, st2->time_base, AV_TIME_BASE_Q) - preload2;
910 ts = ((uint64_t)pkt ->dts*st ->time_base.num*AV_TIME_BASE - (uint64_t)preload *st ->time_base.den)*st2->time_base.den
911 - ((uint64_t)next->dts*st2->time_base.num*AV_TIME_BASE - (uint64_t)preload2*st2->time_base.den)*st ->time_base.den;
961 s->streams[top_pkt->stream_index]->time_base,
974 st->time_base,
995 s->streams[top_pkt->stream_index]->time_base,
1005 int64_t top_dts = av_rescale_q(top_pkt->dts, st->time_base,
1056 *offset += av_rescale_q(s->output_ts_offset, AV_TIME_BASE_Q, st->time_base);
1159 av_packet_rescale_ts(pkt, bsfc->time_base_out, st->time_base);
1329 bsfc->time_base_in = st->time_base;
1360 AVRational time_base = pkt->time_base;
1366 src->streams[stream_index]->time_base,
1367 dst->streams[dst_stream]->time_base);
1378 pkt->time_base = time_base;