av_rescale_rnd 313 doc/examples/muxing.c dst_nb_samples = av_rescale_rnd(swr_get_delay(ost->swr_ctx, c->sample_rate) + frame->nb_samples, av_rescale_rnd 151 doc/examples/resampling_audio.c av_rescale_rnd(src_nb_samples, dst_rate, src_rate, AV_ROUND_UP); av_rescale_rnd 168 doc/examples/resampling_audio.c dst_nb_samples = av_rescale_rnd(swr_get_delay(swr_ctx, src_rate) + av_rescale_rnd 317 libavcodec/libvpxenc.c enccfg.rc_target_bitrate = av_rescale_rnd(avctx->bit_rate, 1, 1000, av_rescale_rnd 622 libavfilter/vsrc_testsrc.c second = av_rescale_rnd(test->nb_frame * test->time_base.num, p10decimals, test->time_base.den, AV_ROUND_ZERO); av_rescale_rnd 40 libavformat/astenc.c ast->loop ## type = av_rescale_rnd(ast->loop ## type, enc->sample_rate, 1000, AV_ROUND_DOWN); \ av_rescale_rnd 149 libavformat/dvenc.c ct = c->start_time + av_rescale_rnd(c->frames, c->sys->time_base.num, av_rescale_rnd 165 libavformat/dvenc.c ct = c->start_time + av_rescale_rnd(c->frames, c->sys->time_base.num, av_rescale_rnd 911 libavformat/gxfenc.c field_nb = av_rescale_rnd(pkt->dts, gxf->time_base.den, av_rescale_rnd 1003 libavformat/gxfenc.c field_nb[i] = av_rescale_rnd(pkt[i]->dts, gxf->time_base.den, av_rescale_rnd 1567 libavformat/hls.c ts_diff = av_rescale_rnd(pls->pkt.dts, AV_TIME_BASE, av_rescale_rnd 1639 libavformat/hls.c seek_timestamp = av_rescale_rnd(timestamp, AV_TIME_BASE, av_rescale_rnd 291 libavformat/librtmp.c timestamp = av_rescale_rnd(timestamp, 1000, AV_TIME_BASE, av_rescale_rnd 2286 libavformat/movenc.c int64_t duration = av_rescale_rnd(track->track_duration, MOV_TIMESCALE, av_rescale_rnd 2407 libavformat/movenc.c int64_t duration = av_rescale_rnd(track->track_duration, MOV_TIMESCALE, av_rescale_rnd 2426 libavformat/movenc.c delay = av_rescale_rnd(start_dts + start_ct, MOV_TIMESCALE, av_rescale_rnd 2462 libavformat/movenc.c av_assert0(av_rescale_rnd(start_dts, MOV_TIMESCALE, track->timescale, AV_ROUND_DOWN) <= 0); av_rescale_rnd 2694 libavformat/movenc.c int64_t max_track_len_temp = av_rescale_rnd(mov->tracks[i].track_duration, av_rescale_rnd 960 libavformat/mpeg.c min_ts = av_rescale_rnd(min_ts, time_base.den, av_rescale_rnd 963 libavformat/mpeg.c max_ts = av_rescale_rnd(max_ts, time_base.den, av_rescale_rnd 227 libavformat/nut.c av_rescale_rnd(val, av_rescale_rnd 1007 libavformat/nutenc.c int64_t dts_tb = av_rescale_rnd(pkt->dts, av_rescale_rnd 64 libavformat/pcm.c pos = av_rescale_rnd(timestamp * byte_rate, av_rescale_rnd 1061 libavformat/utils.c pkt->duration = av_rescale_rnd(1, av_rescale_rnd 2170 libavformat/utils.c min_ts = av_rescale_rnd(min_ts, time_base.den, av_rescale_rnd 2173 libavformat/utils.c max_ts = av_rescale_rnd(max_ts, time_base.den, av_rescale_rnd 2442 libavformat/utils.c pkt->duration = av_rescale_rnd(1, av_rescale_rnd 268 libavformat/vqf.c pos = av_rescale_rnd(timestamp * st->codec->bit_rate, av_rescale_rnd 757 libavresample/utils.c samples = av_rescale_rnd(samples, av_rescale_rnd 255 libavutil/imgutils.c scaled_dim = av_rescale_rnd(w, sar.num, sar.den, AV_ROUND_ZERO); av_rescale_rnd 257 libavutil/imgutils.c scaled_dim = av_rescale_rnd(h, sar.den, sar.num, AV_ROUND_ZERO); av_rescale_rnd 80 libavutil/mathematics.c return -av_rescale_rnd(-a, b, c, rnd ^ ((rnd >> 1) & 1)); av_rescale_rnd 129 libavutil/mathematics.c return av_rescale_rnd(a, b, c, AV_ROUND_NEAR_INF); av_rescale_rnd 137 libavutil/mathematics.c return av_rescale_rnd(a, b, c, rnd); av_rescale_rnd 151 libavutil/mathematics.c if (av_rescale_rnd(ts_a, a, b, AV_ROUND_DOWN) < ts_b) av_rescale_rnd 153 libavutil/mathematics.c if (av_rescale_rnd(ts_b, b, a, AV_ROUND_DOWN) < ts_a) av_rescale_rnd 99 libavutil/mathematics.h int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_const; av_rescale_rnd 133 libavutil/rational.c int64_t x_up = av_rescale_rnd(a, q.den, b, AV_ROUND_UP); av_rescale_rnd 136 libavutil/rational.c int64_t x_down = av_rescale_rnd(a, q.den, b, AV_ROUND_DOWN); av_rescale_rnd 566 tools/ismindex.c av_rescale_rnd(track->duration, AV_TIME_BASE, av_rescale_rnd 189 tools/sidxindex.c av_rescale_rnd(track->duration, AV_TIME_BASE, av_rescale_rnd 221 tools/sidxindex.c fractions = av_rescale_rnd(fractions, pow(10, decimals), AV_TIME_BASE, round);