av_rescale 1327 ffmpeg.c int64_t pts = av_rescale(ist->pts, 1000000, AV_TIME_BASE); av_rescale 99 libavdevice/libdc1394.c int frame_rate = !ap->time_base.num ? 30000 : av_rescale(1000, ap->time_base.den, ap->time_base.num); av_rescale 137 libavdevice/libdc1394.c vst->codec->bit_rate = av_rescale(dc1394->packet.size * 8, fps->frame_rate, 1000); av_rescale 1010 libavformat/asfdec.c index_pts=av_rescale(itime, i, 10000); av_rescale 376 libavformat/avidec.c s->duration = av_rescale(dv_dur, ast->scale, ast->rate); av_rescale 678 libavformat/avidec.c ts= av_rescale(ts, AV_TIME_BASE * (int64_t)st->time_base.num, st->time_base.den); av_rescale 691 libavformat/avidec.c best_ts= av_rescale(best_ts, best_st->time_base.den, AV_TIME_BASE * (int64_t)best_st->time_base.num); //FIXME a little ugly av_rescale 1071 libavformat/avidec.c av_rescale(timestamp, st2->time_base.den*(int64_t)st->time_base.num, st->time_base.den * (int64_t)st2->time_base.num), av_rescale 1450 libavformat/mov.c st->codec->frame_size = av_rescale(sc->stts_data[0].duration, av_rescale 2036 libavformat/mov.c int64_t dts = av_rescale(current_sample->timestamp * (int64_t)msc->time_rate, av_rescale 1028 libavformat/mpegenc.c const int64_t max_delay= av_rescale(ctx->max_delay, 90000, AV_TIME_BASE); av_rescale 1151 libavformat/mpegenc.c const int preload= av_rescale(ctx->preload, 90000, AV_TIME_BASE); av_rescale 697 libavformat/mpegtsenc.c const uint64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE); av_rescale 997 libavformat/mxfdec.c seconds = av_rescale(sample_time, st->time_base.num, st->time_base.den); av_rescale 459 libavformat/nsvdec.c st->duration = av_rescale(nsv->duration, framerate.num, 1000*framerate.den); av_rescale 296 libavformat/r3d.c pkt->duration = av_rescale(samples, st->time_base.den, st->codec->sample_rate); av_rescale 244 libavformat/raw.c st->cur_dts = av_rescale(pos, st->time_base.den, byte_rate * (int64_t)st->time_base.num); av_rescale 382 libavformat/rtpdec.c addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time, s->st->time_base.den, (uint64_t)s->st->time_base.num << 32); av_rescale 819 libavformat/utils.c pkt->duration = av_rescale(1, num * (int64_t)st->time_base.den, den * (int64_t)st->time_base.num); av_rescale 830 libavformat/utils.c offset = av_rescale(pc->offset, pkt->duration, pkt->size); av_rescale 1193 libavformat/utils.c st->cur_dts = av_rescale(timestamp, av_rescale 1413 libavformat/utils.c pos = av_rescale(target_ts - ts_min, pos_max - pos_min, ts_max - ts_min) av_rescale 1562 libavformat/utils.c timestamp = av_rescale(timestamp, st->time_base.den, AV_TIME_BASE * (int64_t)st->time_base.num); av_rescale 1692 libavformat/utils.c duration= av_rescale(8*filesize, st->time_base.den, ic->bit_rate*(int64_t)st->time_base.num); av_rescale 2553 libavformat/utils.c pkt->duration = av_rescale(1, num * (int64_t)st->time_base.den * st->codec->ticks_per_frame, den * (int64_t)st->time_base.num); av_rescale 2876 libavformat/utils.c secs, (int)av_rescale(us, 1000000, AV_TIME_BASE)); av_rescale 107 libavformat/wav.c number_of_samples = av_rescale(wav->maxpts - wav->minpts + wav->last_duration, av_rescale 142 libavutil/mathematics.c e= av_rescale(a,b,c); av_rescale 59 libavutil/mathematics.h int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;