Home
last modified time | relevance | path

Searched refs:ts_tb (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavutil/
Dmathematics.c191 int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc) in av_add_stable() argument
198 m = inc_tb.num * (int64_t)ts_tb.den; in av_add_stable()
199 d = inc_tb.den * (int64_t)ts_tb.num; in av_add_stable()
207 int64_t old = av_rescale_q(ts, ts_tb, inc_tb); in av_add_stable()
208 int64_t old_ts = av_rescale_q(old, inc_tb, ts_tb); in av_add_stable()
213 return av_sat_add64(av_rescale_q(old + 1, inc_tb, ts_tb), ts - old_ts); in av_add_stable()
Dmathematics.h236 int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc);