Lines Matching refs:time_base
758 AVRational time_base;
788 time_base = ast->sub_ctx->streams[0]->time_base;
789 avpriv_set_pts_info(st, 64, time_base.num, time_base.den);
808 next_ts = av_rescale_q(next_ast->frame_offset, next_st->time_base,
815 ts = av_rescale_q(ast->sub_pkt.dts, st->time_base, AV_TIME_BASE_Q);
1006 ts = av_rescale_q(ts, st->time_base, (AVRational){FFMAX(1, ast->sample_size), AV_TIME_BASE});
1008 // av_log(s, AV_LOG_DEBUG, "%"PRId64" %d/%d %"PRId64"\n", ts, st->time_base.num, st->time_base.den, ast->frame_offset);
1019 best_ts = av_rescale_q(best_ts, (AVRational){FFMAX(1, best_ast->sample_size), AV_TIME_BASE}, best_st->time_base);
1267 int64_t ts2 = av_rescale_q(timestamp, st->time_base, st2->time_base);
1332 assert((int64_t)st2->time_base.num*ast2->rate == (int64_t)st2->time_base.den*ast2->scale);
1335 av_rescale_q(timestamp, st->time_base, st2->time_base) * FFMAX(ast2->sample_size, 1),