av_rescale       2108 ffmpeg.c                   end = av_rescale(subtitle.pts - ist->prev_sub.subtitle.pts,
av_rescale       3462 ffmpeg.c                   int64_t pts = av_rescale(ist->dts, 1000000, AV_TIME_BASE);
av_rescale        127 libavdevice/alsa-audio-dec.c     dts -= av_rescale(delay + res, 1000000, s->sample_rate);
av_rescale        146 libavdevice/libdc1394.c     dc1394->frame_rate = av_rescale(1000, framerate.num, framerate.den);
av_rescale        186 libavdevice/libdc1394.c     vst->codec->bit_rate = av_rescale(dc1394->packet.size * 8, fps->frame_rate, 1000);
av_rescale        692 libavdevice/opengl_enc.c         opengl->picture_height = av_rescale(opengl->picture_width, dar.den, dar.num);
av_rescale        696 libavdevice/opengl_enc.c         opengl->picture_width = av_rescale(opengl->picture_height, dar.num, dar.den);
av_rescale        109 libavdevice/sdl.c             overlay_rect->h = av_rescale(overlay_rect->w, dar.den, dar.num);
av_rescale        113 libavdevice/sdl.c             overlay_rect->w = av_rescale(overlay_rect->h, dar.num, dar.den);
av_rescale        118 libavdevice/sdl.c             overlay_rect->h = av_rescale(overlay_rect->w, dar.den, dar.num);
av_rescale        121 libavdevice/sdl.c             overlay_rect->w = av_rescale(overlay_rect->h, dar.num, dar.den);
av_rescale        143 libavdevice/xv.c                 xv->window_width = av_rescale(xv->window_width, sar.num, sar.den);
av_rescale        145 libavdevice/xv.c                 xv->window_height = av_rescale(xv->window_height, sar.den, sar.num);
av_rescale        243 libavdevice/xv.c         xv->dest_h = av_rescale(xv->dest_w, dar.den, dar.num);
av_rescale        250 libavdevice/xv.c         xv->dest_w = av_rescale(xv->dest_h, dar.num, dar.den);
av_rescale        262 libavfilter/aeval.c     int64_t t = av_rescale(eval->n, AV_TIME_BASE, eval->sample_rate);
av_rescale        220 libavfilter/af_afade.c         s->nb_samples = av_rescale(s->duration, inlink->sample_rate, AV_TIME_BASE);
av_rescale        222 libavfilter/af_afade.c         s->start_sample = av_rescale(s->start_time, inlink->sample_rate, AV_TIME_BASE);
av_rescale        204 libavfilter/af_aresample.c         int64_t inpts = av_rescale(insamplesref->pts, inlink->time_base.num * (int64_t)outlink->sample_rate * inlink->sample_rate, inlink->time_base.den);
av_rescale         87 libavfilter/af_asetrate.c         frame->pts = av_rescale(frame->pts, inlink->sample_rate,
av_rescale        194 libavfilter/af_ladspa.c     t = av_rescale(s->pts, AV_TIME_BASE, s->sample_rate);
av_rescale        270 libavfilter/af_resample.c                                av_rescale(delay, outlink->sample_rate,
av_rescale        123 libavfilter/af_silenceremove.c     s->start_duration = av_rescale(s->start_duration, inlink->sample_rate,
av_rescale        125 libavfilter/af_silenceremove.c     s->stop_duration  = av_rescale(s->stop_duration, inlink->sample_rate,
av_rescale        166 libavfilter/asrc_sine.c     sine->duration = av_rescale(sine->duration, sine->sample_rate, AV_TIME_BASE);
av_rescale        181 libavfilter/avf_concat.c         in->pts = av_rescale(in->pts, in->nb_frames, in->nb_frames - 1);
av_rescale        184 libavfilter/avf_showwaves.c     const int h = height/2 - av_rescale(sample, height/2, INT16_MAX);
av_rescale        193 libavfilter/avf_showwaves.c     const int h = height/2 - av_rescale(sample, height/2, INT16_MAX);
av_rescale        206 libavfilter/avf_showwaves.c     const int h = height/2 - av_rescale(sample, height/2, INT16_MAX);
av_rescale        225 libavfilter/avf_showwaves.c     const int h     = av_rescale(abs(sample), height, INT16_MAX);
av_rescale         69 libavfilter/vf_idet.c     value = av_rescale(value, print_precision, PRECISION);
av_rescale        197 libavfilter/vf_idet.c         idet->repeats[i]  = av_rescale(idet->repeats [i], idet->decay_coefficient, PRECISION);
av_rescale        200 libavfilter/vf_idet.c         idet->prestat [i] = av_rescale(idet->prestat [i], idet->decay_coefficient, PRECISION);
av_rescale        201 libavfilter/vf_idet.c         idet->poststat[i] = av_rescale(idet->poststat[i], idet->decay_coefficient, PRECISION);
av_rescale        304 libavfilter/vf_scale.c         w = av_rescale(h, inlink->w, inlink->h * factor_w) * factor_w;
av_rescale        306 libavfilter/vf_scale.c         h = av_rescale(w, inlink->h, inlink->w * factor_h) * factor_h;
av_rescale        311 libavfilter/vf_scale.c         int tmp_w = av_rescale(h, inlink->w, inlink->h);
av_rescale        312 libavfilter/vf_scale.c         int tmp_h = av_rescale(w, inlink->h, inlink->w);
av_rescale        100 libavformat/act.c     st->duration = av_rescale(1000*(min*60+sec)+msec, st->codec->sample_rate, 1000 * st->codec->frame_size);
av_rescale       1536 libavformat/asfdec.c             int64_t index_pts = FFMAX(av_rescale(itime, i, 10000) - asf->hdr.preroll, 0);
av_rescale        460 libavformat/avidec.c         st->codec->bit_rate = av_rescale(8*len, st->time_base.den, duration * st->time_base.num);
av_rescale        622 libavformat/avidec.c                     s->duration = av_rescale(dv_dur, ast->scale, ast->rate);
av_rescale        695 libavformat/avidec.c                     st->duration = av_rescale(st->duration, avi->io_fsize, avi->riff_end);
av_rescale       1625 libavformat/avidec.c                                    av_rescale(dts - min_dts,
av_rescale        465 libavformat/dump.c                    secs, (int) av_rescale(us, 1000000, AV_TIME_BASE));
av_rescale       1867 libavformat/matroskadec.c             avio_wl32(&b, av_rescale((matroska->duration * matroska->time_scale),
av_rescale        967 libavformat/matroskaenc.c             int64_t d_width = av_rescale(codec->width, st->sample_aspect_ratio.num, st->sample_aspect_ratio.den);
av_rescale        928 libavformat/mov.c         c->fc->duration = av_rescale(c->duration, AV_TIME_BASE, c->time_scale);
av_rescale       2391 libavformat/mov.c                 empty_duration = av_rescale(empty_duration, sc->time_scale, mov->time_scale);
av_rescale       4187 libavformat/mov.c             int64_t dts = av_rescale(current_sample->timestamp, AV_TIME_BASE, msc->time_scale);
av_rescale       1801 libavformat/movenc.c     int frame_duration = av_rescale(track->timescale, track->enc->time_base.num, track->enc->time_base.den);
av_rescale       2374 libavformat/movenc.c     int32_t width = av_rescale(track->enc->sample_aspect_ratio.num, track->enc->width,
av_rescale       3196 libavformat/movenc.c             mov->tracks[i].track_duration = av_rescale(mov->tracks[src_trk].track_duration,
av_rescale        123 libavformat/mp3dec.c                            av_rescale(b, filesize, 256),
av_rescale        124 libavformat/mp3dec.c                            av_rescale(i, duration, XING_TOC_COUNT),
av_rescale        192 libavformat/mp3dec.c     peak = av_rescale(v, 100000, 1 << 23);
av_rescale        324 libavformat/mp3dec.c         st->codec->bit_rate = av_rescale(mp3->header_filesize, 8 * c.sample_rate, mp3->frames * (int64_t)spf);
av_rescale        437 libavformat/mp3dec.c         duration = av_rescale(st->duration, filesize, mp3->header_filesize - s->internal->data_offset);
av_rescale        441 libavformat/mp3dec.c         ie->pos       = av_rescale(timestamp, filesize, duration) + s->internal->data_offset;
av_rescale        406 libavformat/mp3enc.c                 av_rescale(rg->track_peak, 1 << 23, 100000));
av_rescale        966 libavformat/mpegenc.c     const int64_t max_delay = av_rescale(ctx->max_delay, 90000, AV_TIME_BASE);
av_rescale       1114 libavformat/mpegenc.c     preload = av_rescale(s->preload, 90000, AV_TIME_BASE);
av_rescale       1122 libavformat/mpegenc.c                 s->preload += av_rescale(-dts, AV_TIME_BASE, 90000);
av_rescale       1128 libavformat/mpegenc.c         preload = av_rescale(s->preload, 90000, AV_TIME_BASE);
av_rescale        580 libavformat/mpegtsenc.c     return av_rescale(avio_tell(pb) + 11, 8 * PCR_TIME_BASE, ts->mux_rate) +
av_rescale        762 libavformat/mpegtsenc.c             ts->first_pcr = av_rescale(s->max_delay, PCR_TIME_BASE, AV_TIME_BASE);
av_rescale        971 libavformat/mpegtsenc.c     int64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE);
av_rescale       1242 libavformat/mpegtsenc.c     const int64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE) * 2;
av_rescale        458 libavformat/mux.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        710 libavformat/mux.c                 int64_t syncto = av_rescale(pkt->dts + syncoffset, 1, max)*max - syncoffset;
av_rescale       3037 libavformat/mxfdec.c     seconds = av_rescale(sample_time, st->time_base.num, st->time_base.den);
av_rescale        446 libavformat/nsvdec.c             st->duration = av_rescale(nsv->duration, framerate.num, 1000*framerate.den);
av_rescale        453 libavformat/nsvdec.c                     int64_t ts = av_rescale(i*nsv->duration/nsv->index_entries, framerate.num, 1000*framerate.den);
av_rescale         71 libavformat/oggparseopus.c                                   av_rescale(OPUS_SEEK_PREROLL_MS,
av_rescale        435 libavformat/omadec.c         pkt->dts = av_rescale(pos - oc->content_start, st->time_base.den,
av_rescale         71 libavformat/pcm.c     st->cur_dts = av_rescale(pos, st->time_base.den, byte_rate * (int64_t)st->time_base.num);
av_rescale        318 libavformat/r3d.c         pkt->duration = av_rescale(samples, st->time_base.den, st->codec->sample_rate);
av_rescale        553 libavformat/rmdec.c             s->duration = av_rescale(duration, AV_TIME_BASE, 1000);
av_rescale        113 libavformat/rtp.h #define NTP_TO_RTP_FORMAT(x) av_rescale((x), INT64_C(1) << 32, 1000000)
av_rescale        338 libavformat/rtpdec.c         uint32_t delay_since_last = av_rescale(av_gettime_relative() - s->last_rtcp_reception_time,
av_rescale        573 libavformat/rtpdec.c         addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time,
av_rescale       2147 libavformat/rtsp.c                     s->start_time_realtime = av_rescale (rtpctx->first_rtcp_ntp_time - (NTP_OFFSET << 32), 1000000, 1LL << 32);
av_rescale       2150 libavformat/rtsp.c                             av_rescale (rtpctx->rtcp_ts_offset,
av_rescale       1302 libavformat/sbgdec.c         ev1->ts_int   = av_rescale(ev1->ts_int,   sample_rate, AV_TIME_BASE);
av_rescale       1303 libavformat/sbgdec.c         ev1->ts_trans = av_rescale(ev1->ts_trans, sample_rate, AV_TIME_BASE);
av_rescale       1304 libavformat/sbgdec.c         ev1->ts_next  = av_rescale(ev1->ts_next,  sample_rate, AV_TIME_BASE);
av_rescale       1423 libavformat/sbgdec.c     st->start_time    = av_rescale(script.start_ts,
av_rescale       1426 libavformat/sbgdec.c                         av_rescale(script.end_ts - script.start_ts,
av_rescale        588 libavformat/utils.c     pts_wrap_reference = ref - av_rescale(60, st->time_base.den, st->time_base.num);
av_rescale        591 libavformat/utils.c         (ref < (1LL << st->pts_wrap_bits) - av_rescale(60, st->time_base.den, st->time_base.num)) ?
av_rescale       1075 libavformat/utils.c         offset = av_rescale(pc->offset, pkt->duration, pkt->size);
av_rescale       1303 libavformat/utils.c     return av_rescale(ts, st->time_base.num * st->codec->sample_rate, st->time_base.den);
av_rescale       1653 libavformat/utils.c             av_rescale(timestamp,
av_rescale       1943 libavformat/utils.c             pos = av_rescale(target_ts - ts_min, pos_max - pos_min,
av_rescale       2104 libavformat/utils.c         timestamp = av_rescale(timestamp, st->time_base.den,
av_rescale       2368 libavformat/utils.c                     duration = av_rescale(8 * filesize, st->time_base.den,
av_rescale        222 libavformat/vivo.c         s->duration = av_rescale(duration, 1000, 1);
av_rescale        275 libavformat/vqf.c     st->cur_dts = av_rescale(pos, st->time_base.den,
av_rescale        451 libavformat/wavenc.c         number_of_samples = av_rescale(wav->maxpts - wav->minpts + wav->last_duration,
av_rescale        608 libavformat/wavenc.c             number_of_samples = av_rescale(wav->maxpts - wav->minpts + wav->last_duration,
av_rescale         90 libavutil/mathematics.h int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
av_rescale        345 libswresample/resample.c     return av_rescale(num, base, s->in_sample_rate*(int64_t)c->src_incr << c->phase_shift);