av_rescale       2474 fftools/ffmpeg.c             end = av_rescale(subtitle.pts - ist->prev_sub.subtitle.pts,
av_rescale       4100 fftools/ffmpeg.c             int64_t pts = av_rescale(ist->dts, 1000000, AV_TIME_BASE);
av_rescale        880 fftools/ffplay.c     width = av_rescale(height, aspect_ratio.num, aspect_ratio.den) & ~1;
av_rescale        883 fftools/ffplay.c         height = av_rescale(width, aspect_ratio.den, aspect_ratio.num) & ~1;
av_rescale        337 libavcodec/dca_parser.c         s->duration = av_rescale(duration, avctx->sample_rate, sample_rate);
av_rescale        628 libavcodec/h264_parser.c                 p->reference_dts = s->dts - av_rescale(s->dts_ref_dts_delta, num, den);
av_rescale        631 libavcodec/h264_parser.c                 s->dts = p->reference_dts + av_rescale(s->dts_ref_dts_delta, num, den);
av_rescale        635 libavcodec/h264_parser.c                 s->pts = s->dts + av_rescale(s->pts_dts_delta, num, den);
av_rescale        253 libavcodec/libaribb24.c                        av_rescale(region->i_fontwidth, 100,
av_rescale        255 libavcodec/libaribb24.c                        av_rescale(region->i_fontheight, 100,
av_rescale        970 libavcodec/vc2enc.c     s->frame_max_bytes = (av_rescale(r_bitrate, s->avctx->time_base.num,
av_rescale        972 libavcodec/vc2enc.c     s->slice_max_bytes = slice_ceil = av_rescale(s->frame_max_bytes, 1, s->num_x*s->num_y);
av_rescale        130 libavdevice/alsa_dec.c     dts -= av_rescale(delay + res, 1000000, s->sample_rate);
av_rescale       1155 libavdevice/decklink_dec.cpp         st->codecpar->bit_rate    = av_rescale(ctx->bmd_width * ctx->bmd_height * 16, st->time_base.den, st->time_base.num);
av_rescale       1160 libavdevice/decklink_dec.cpp         st->codecpar->bit_rate    = av_rescale(ctx->bmd_width * ctx->bmd_height * 64, st->time_base.den, st->time_base.num * 3);
av_rescale       1167 libavdevice/decklink_dec.cpp         st->codecpar->bit_rate    = av_rescale(ctx->bmd_width * ctx->bmd_height * 32, st->time_base.den, st->time_base.num);
av_rescale       1173 libavdevice/decklink_dec.cpp         st->codecpar->bit_rate    = av_rescale(ctx->bmd_width * ctx->bmd_height * 32, st->time_base.den, st->time_base.num);
av_rescale       1179 libavdevice/decklink_dec.cpp         st->codecpar->bit_rate    = av_rescale(ctx->bmd_width * ctx->bmd_height * 30, st->time_base.den, st->time_base.num);
av_rescale        123 libavdevice/libdc1394.c     dc1394->frame_rate = av_rescale(1000, framerate.num, framerate.den);
av_rescale        159 libavdevice/libdc1394.c     vst->codecpar->bit_rate = av_rescale(dc1394->size * 8,
av_rescale        684 libavdevice/opengl_enc.c         opengl->picture_height = av_rescale(opengl->picture_width, dar.den, dar.num);
av_rescale        688 libavdevice/opengl_enc.c         opengl->picture_width = av_rescale(opengl->picture_height, dar.num, dar.den);
av_rescale        115 libavdevice/sdl2.c             texture_rect->h = av_rescale(texture_rect->w, dar.den, dar.num);
av_rescale        119 libavdevice/sdl2.c             texture_rect->w = av_rescale(texture_rect->h, dar.num, dar.den);
av_rescale        124 libavdevice/sdl2.c             texture_rect->h = av_rescale(texture_rect->w, dar.den, dar.num);
av_rescale        127 libavdevice/sdl2.c             texture_rect->w = av_rescale(texture_rect->h, dar.num, dar.den);
av_rescale        607 libavdevice/xcbgrab.c     st->codecpar->bit_rate   = av_rescale(frame_size_bits, st->avg_frame_rate.num, st->avg_frame_rate.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        279 libavfilter/aeval.c     int64_t t = av_rescale(eval->n, AV_TIME_BASE, eval->sample_rate);
av_rescale        286 libavfilter/aeval.c         nb_samples = FFMIN(eval->nb_samples, av_rescale(eval->duration, eval->sample_rate, AV_TIME_BASE) - eval->pts);
av_rescale        225 libavfilter/af_afade.c         s->nb_samples = av_rescale(s->duration, outlink->sample_rate, AV_TIME_BASE);
av_rescale        227 libavfilter/af_afade.c         s->start_sample = av_rescale(s->start_time, outlink->sample_rate, AV_TIME_BASE);
av_rescale        156 libavfilter/af_anlmdn.c     s->K = av_rescale(s->pd, outlink->sample_rate, AV_TIME_BASE);
av_rescale        157 libavfilter/af_anlmdn.c     s->S = av_rescale(s->rd, outlink->sample_rate, AV_TIME_BASE);
av_rescale        142 libavfilter/af_apad.c         s->pad_len = av_rescale(s->pad_dur, outlink->sample_rate, AV_TIME_BASE);
av_rescale        144 libavfilter/af_apad.c         s->whole_len = av_rescale(s->whole_dur, outlink->sample_rate, AV_TIME_BASE);
av_rescale        210 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         86 libavfilter/af_asetrate.c         frame->pts = av_rescale(frame->pts, inlink->sample_rate,
av_rescale        201 libavfilter/af_ladspa.c     t = av_rescale(s->pts, AV_TIME_BASE, s->sample_rate);
av_rescale        239 libavfilter/af_lv2.c     t = av_rescale(s->pts, AV_TIME_BASE, s->sample_rate);
av_rescale        284 libavfilter/af_resample.c                                    av_rescale(delay, outlink->sample_rate,
av_rescale        146 libavfilter/af_silencedetect.c     s->duration = av_rescale(s->duration, inlink->sample_rate, AV_TIME_BASE);
av_rescale        217 libavfilter/af_silenceremove.c     s->start_duration = av_rescale(s->start_duration_opt, inlink->sample_rate,
av_rescale        219 libavfilter/af_silenceremove.c     s->start_silence  = av_rescale(s->start_silence_opt, inlink->sample_rate,
av_rescale        221 libavfilter/af_silenceremove.c     s->stop_duration  = av_rescale(s->stop_duration_opt, inlink->sample_rate,
av_rescale        223 libavfilter/af_silenceremove.c     s->stop_silence   = av_rescale(s->stop_silence_opt, inlink->sample_rate,
av_rescale        188 libavfilter/asrc_anoisesrc.c     s->duration = av_rescale(s->duration, s->sample_rate, AV_TIME_BASE);
av_rescale        213 libavfilter/asrc_sine.c     sine->duration = av_rescale(sine->duration, sine->sample_rate, AV_TIME_BASE);
av_rescale         99 libavfilter/avf_abitscope.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
av_rescale        123 libavfilter/avf_ahistogram.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
av_rescale        109 libavfilter/avf_aphasemeter.c         nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
av_rescale        214 libavfilter/avf_avectorscope.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
av_rescale        193 libavfilter/avf_concat.c         in->pts = av_rescale(in->pts, in->nb_frames, in->nb_frames - 1);
av_rescale        168 libavfilter/avf_showvolume.c     s->nb_samples = FFMAX(1, av_rescale(inlink->sample_rate, s->frame_rate.den, s->frame_rate.num));
av_rescale        178 libavfilter/avf_showwaves.c     return height/2 - av_rescale(sample, height/2, INT16_MAX);
av_rescale        183 libavfilter/avf_showwaves.c     return av_rescale(FFABS(sample), height, INT16_MAX);
av_rescale        143 libavfilter/scale_eval.c         w = av_rescale(h, inlink->w, inlink->h * factor_w) * factor_w;
av_rescale        145 libavfilter/scale_eval.c         h = av_rescale(w, inlink->h, inlink->w * factor_h) * factor_h;
av_rescale        151 libavfilter/scale_eval.c         int tmp_w = av_rescale(h, inlink->w, inlink->h);
av_rescale        152 libavfilter/scale_eval.c         int tmp_h = av_rescale(w, inlink->h, inlink->w);
av_rescale        340 libavfilter/vf_detelecine.c                      av_rescale(outlink->frame_count_in, s->ts_unit.num,
av_rescale        178 libavfilter/vf_framerate.c         interpolate = av_rescale(work_pts - s->pts0, s->blend_factor_max, s->delta);
av_rescale        179 libavfilter/vf_framerate.c         interpolate8 = av_rescale(work_pts - s->pts0, 256, s->delta);
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       1088 libavfilter/vf_minterpolate.c     pts = av_rescale(avf_out->pts, (int64_t) ALPHA_MAX * outlink->time_base.num * inlink->time_base.den,
av_rescale        152 libavfilter/vf_pad.c         if (s->h < av_rescale(s->w, adjusted_aspect.den, adjusted_aspect.num)) {
av_rescale        153 libavfilter/vf_pad.c             s->h = var_values[VAR_OUT_H] = var_values[VAR_OH] = av_rescale(s->w, adjusted_aspect.den, adjusted_aspect.num);
av_rescale        155 libavfilter/vf_pad.c             s->w = var_values[VAR_OUT_W] = var_values[VAR_OW] = av_rescale(s->h, adjusted_aspect.num, adjusted_aspect.den);
av_rescale        291 libavfilter/vf_pad_opencl.c         if (ctx->h < av_rescale(ctx->w, adjusted_aspect.den, adjusted_aspect.num)) {
av_rescale        292 libavfilter/vf_pad_opencl.c             ctx->h = var_values[VAR_OUT_H] = var_values[VAR_OH] = av_rescale(ctx->w, adjusted_aspect.den, adjusted_aspect.num);
av_rescale        294 libavfilter/vf_pad_opencl.c             ctx->w = var_values[VAR_OUT_W] = var_values[VAR_OW] = av_rescale(ctx->h, adjusted_aspect.num, adjusted_aspect.den);
av_rescale        515 libavfilter/vf_scale_qsv.c         w = av_rescale(h, inlink->w, inlink->h);
av_rescale        517 libavfilter/vf_scale_qsv.c         h = av_rescale(w, inlink->h, inlink->w);
av_rescale        255 libavfilter/vf_telecine.c                      av_rescale(outlink->frame_count_in, s->ts_unit.num,
av_rescale        265 libavfilter/vf_zscale.c         w = av_rescale(h, inlink->w, inlink->h * factor_w) * factor_w;
av_rescale        267 libavfilter/vf_zscale.c         h = av_rescale(w, inlink->h, inlink->w * factor_h) * factor_h;
av_rescale        272 libavfilter/vf_zscale.c         int tmp_w = av_rescale(h, inlink->w, inlink->h);
av_rescale        273 libavfilter/vf_zscale.c         int tmp_h = av_rescale(w, inlink->h, inlink->w);
av_rescale        744 libavfilter/vsrc_testsrc.c             x2 = av_rescale(i, s->w, 6);
av_rescale        765 libavfilter/vsrc_testsrc.c             g = (av_rescale(x, 6 * 256, s->w) + g0) % (6 * 256);
av_rescale        767 libavfilter/vsrc_testsrc.c             y = y0 + av_rescale(x, s->h / 2, s->w);
av_rescale        800 libavfilter/vsrc_testsrc.c                 int x = av_rescale(xh, i, steps) + xc;
av_rescale        801 libavfilter/vsrc_testsrc.c                 int y = av_rescale(yh, i, steps) + yc;
av_rescale        846 libavfilter/vsrc_testsrc.c         unsigned xmin = av_rescale(5, s->w, 8);
av_rescale        847 libavfilter/vsrc_testsrc.c         unsigned xmax = av_rescale(7, s->w, 8);
av_rescale        848 libavfilter/vsrc_testsrc.c         unsigned ymin = av_rescale(5, s->h, 8);
av_rescale        849 libavfilter/vsrc_testsrc.c         unsigned ymax = av_rescale(7, s->h, 8);
av_rescale        100 libavformat/act.c     st->duration = av_rescale(1000*(min*60+sec)+msec, st->codecpar->sample_rate, 1000 * st->codecpar->frame_size);
av_rescale       1624 libavformat/asfdec_f.c             int64_t index_pts = FFMAX(av_rescale(itime, i, 10000) - asf->hdr.preroll, 0);
av_rescale       1012 libavformat/asfdec_o.c                                pkt_num, av_rescale(interval, i, 10000),
av_rescale        459 libavformat/avidec.c         bitrate = av_rescale(8*len, st->time_base.den, duration * st->time_base.num);
av_rescale        624 libavformat/avidec.c                     s->duration = av_rescale(dv_dur, ast->scale, ast->rate);
av_rescale        714 libavformat/avidec.c                     st->duration = av_rescale(st->duration, avi->io_fsize, avi->riff_end);
av_rescale       1676 libavformat/avidec.c                                    av_rescale(dts - min_dts,
av_rescale        216 libavformat/brstm.c                             av_rescale(read32(s), AV_TIME_BASE,
av_rescale       2254 libavformat/dashdec.c             cur->cur_timestamp = av_rescale(pkt->pts, (int64_t)cur->ctx->streams[0]->time_base.num * 90000, cur->ctx->streams[0]->time_base.den);
av_rescale        639 libavformat/dump.c                    (int) av_rescale(us, 1000000, AV_TIME_BASE));
av_rescale        938 libavformat/flvenc.c     avio_write_marker(pb, av_rescale(ts, AV_TIME_BASE, 1000),
av_rescale       2593 libavformat/matroskadec.c             bytestream_put_le32(&ptr, av_rescale(matroska->duration * matroska->time_scale,
av_rescale       1266 libavformat/matroskaenc.c             int64_t d_width = av_rescale(par->width, st->sample_aspect_ratio.num, st->sample_aspect_ratio.den);
av_rescale       1861 libavformat/matroskaenc.c             int64_t scaledDuration = av_rescale(s->duration, 1000, AV_TIME_BASE);
av_rescale       1865 libavformat/matroskaenc.c             int64_t scaledDuration = av_rescale(metadata_duration, 1000, AV_TIME_BASE);
av_rescale       1492 libavformat/mov.c         c->fc->duration = av_rescale(c->duration, AV_TIME_BASE, c->time_scale);
av_rescale       3163 libavformat/mov.c     *edit_list_duration = av_rescale(*edit_list_duration, msc->time_scale,
av_rescale       3818 libavformat/mov.c                 empty_duration = av_rescale(empty_duration, sc->time_scale, mov->time_scale);
av_rescale       5130 libavformat/mov.c                 st->duration = sc->track_end = av_rescale(ref_st->duration, sc->time_scale, ref_sc->time_scale);
av_rescale       7777 libavformat/mov.c             int64_t dts = av_rescale(current_sample->timestamp, AV_TIME_BASE, msc->time_scale);
av_rescale       1968 libavformat/movenc.c     return av_rescale(q.num, b, q.den);
av_rescale       2262 libavformat/movenc.c         frame_duration = av_rescale(track->timescale, track->st->codec->time_base.num, track->st->codec->time_base.den);
av_rescale       2270 libavformat/movenc.c         frame_duration = av_rescale(track->timescale, track->st->avg_frame_rate.num, track->st->avg_frame_rate.den);
av_rescale       2828 libavformat/movenc.c         return av_rescale(calc_pts_duration(mov, &mov->tracks[track->src_track]),
av_rescale       3003 libavformat/movenc.c             track_width_1616 = av_rescale(st->sample_aspect_ratio.num,
av_rescale       3030 libavformat/movenc.c     int32_t width = av_rescale(track->par->sample_aspect_ratio.num, track->par->width,
av_rescale       4082 libavformat/movenc.c             mov->tracks[i].track_duration = av_rescale(mov->tracks[src_trk].track_duration,
av_rescale       5316 libavformat/movenc.c                       av_rescale(mov->tracks[first_track].cluster[0].dts, AV_TIME_BASE, mov->tracks[first_track].timescale),
av_rescale        149 libavformat/mp3dec.c                            av_rescale(b, filesize, 256),
av_rescale        150 libavformat/mp3dec.c                            av_rescale(i, duration, XING_TOC_COUNT),
av_rescale        221 libavformat/mp3dec.c     peak = av_rescale(v, 100000, 1 << 23);
av_rescale        355 libavformat/mp3dec.c         st->codecpar->bit_rate = av_rescale(mp3->header_filesize, 8 * c.sample_rate, mp3->frames * (int64_t)spf);
av_rescale        578 libavformat/mp3dec.c         ie->pos       = av_rescale(timestamp, filesize, st->duration) + s->internal->data_offset;
av_rescale        588 libavformat/mp3dec.c         int frame_duration = av_rescale(st->duration, 1, mp3->frames);
av_rescale        589 libavformat/mp3dec.c         ie1.timestamp = frame_duration * av_rescale(best_pos - s->internal->data_offset, mp3->frames, mp3->header_filesize);
av_rescale        429 libavformat/mp3enc.c                 av_rescale(rg->track_peak, 1 << 23, 100000));
av_rescale        584 libavformat/mpegenc.c             av_rescale(s->vcd_padding_bitrate_num, pts, 90000LL * 8 * VCD_PADDING_BITRATE_DEN);
av_rescale       1008 libavformat/mpegenc.c     const int64_t max_delay = av_rescale(ctx->max_delay, 90000, AV_TIME_BASE);
av_rescale       1156 libavformat/mpegenc.c     preload = av_rescale(s->preload, 90000, AV_TIME_BASE);
av_rescale       1164 libavformat/mpegenc.c                 s->preload += av_rescale(-dts, AV_TIME_BASE, 90000);
av_rescale       1170 libavformat/mpegenc.c         preload = av_rescale(s->preload, 90000, AV_TIME_BASE);
av_rescale        807 libavformat/mpegtsenc.c     return av_rescale(avio_tell(pb) + 11, 8 * PCR_TIME_BASE, ts->mux_rate) +
av_rescale        882 libavformat/mpegtsenc.c         ts_st->pcr_period = av_rescale(pcr_period_ms, PCR_TIME_BASE, 1000);
av_rescale        930 libavformat/mpegtsenc.c                 service->sid, service->pcr_pid, av_rescale(ts_st->pcr_period, 1000, PCR_TIME_BASE));
av_rescale       1106 libavformat/mpegtsenc.c         ts->first_pcr = av_rescale(s->max_delay, PCR_TIME_BASE, AV_TIME_BASE);
av_rescale       1112 libavformat/mpegtsenc.c     ts->pat_period = av_rescale(ts->pat_period_us, PCR_TIME_BASE, AV_TIME_BASE);
av_rescale       1113 libavformat/mpegtsenc.c     ts->sdt_period = av_rescale(ts->sdt_period_us, PCR_TIME_BASE, AV_TIME_BASE);
av_rescale       1121 libavformat/mpegtsenc.c            av_rescale(ts->sdt_period, 1000, PCR_TIME_BASE),
av_rescale       1122 libavformat/mpegtsenc.c            av_rescale(ts->pat_period, 1000, PCR_TIME_BASE));
av_rescale       1271 libavformat/mpegtsenc.c     int64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE);
av_rescale       1646 libavformat/mpegtsenc.c     const int64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE) * 2;
av_rescale       1647 libavformat/mpegtsenc.c     const int64_t max_audio_delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE) / 2;
av_rescale        577 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        850 libavformat/mux.c                 int64_t syncto = av_rescale(pkt->dts + syncoffset, 1, max)*max - syncoffset;
av_rescale       3638 libavformat/mxfdec.c         seconds = av_rescale(sample_time, st->time_base.num, st->time_base.den);
av_rescale        439 libavformat/nsvdec.c             st->duration = av_rescale(nsv->duration, framerate.num, 1000*framerate.den);
av_rescale        446 libavformat/nsvdec.c                     int64_t ts = av_rescale(i*nsv->duration/nsv->index_entries, framerate.num, 1000*framerate.den);
av_rescale         73 libavformat/oggparseopus.c         st->codecpar->seek_preroll = av_rescale(OPUS_SEEK_PREROLL_MS,
av_rescale        334 libavformat/omadec.c         pkt->dts = av_rescale(pos - oc->content_start, st->time_base.den,
av_rescale         78 libavformat/pcm.c     st->cur_dts = av_rescale(pos, st->time_base.den, byte_rate * (int64_t)st->time_base.num);
av_rescale        326 libavformat/r3d.c         pkt->duration = av_rescale(samples, st->time_base.den, st->codecpar->sample_rate);
av_rescale        575 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        367 libavformat/rtpdec.c         uint32_t delay_since_last = av_rescale(av_gettime_relative() - s->last_rtcp_reception_time,
av_rescale        604 libavformat/rtpdec.c         addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time,
av_rescale       2259 libavformat/rtsp.c                     s->start_time_realtime = av_rescale (rtpctx->first_rtcp_ntp_time - (NTP_OFFSET << 32), 1000000, 1LL << 32);
av_rescale       2262 libavformat/rtsp.c                             av_rescale (rtpctx->rtcp_ts_offset,
av_rescale       1304 libavformat/sbgdec.c         ev1->ts_int   = av_rescale(ev1->ts_int,   sample_rate, AV_TIME_BASE);
av_rescale       1305 libavformat/sbgdec.c         ev1->ts_trans = av_rescale(ev1->ts_trans, sample_rate, AV_TIME_BASE);
av_rescale       1306 libavformat/sbgdec.c         ev1->ts_next  = av_rescale(ev1->ts_next,  sample_rate, AV_TIME_BASE);
av_rescale       1425 libavformat/sbgdec.c     st->start_time    = av_rescale(script.start_ts,
av_rescale       1428 libavformat/sbgdec.c                         av_rescale(script.end_ts - script.start_ts,
av_rescale        773 libavformat/utils.c     pts_wrap_reference = ref - av_rescale(60, st->time_base.den, st->time_base.num);
av_rescale        776 libavformat/utils.c         (ref < (1LL << st->pts_wrap_bits) - av_rescale(60, st->time_base.den, st->time_base.num)) ?
av_rescale       1325 libavformat/utils.c         offset = av_rescale(pc->offset, pkt->duration, pkt->size);
av_rescale       1570 libavformat/utils.c     return av_rescale(ts, st->time_base.num * st->codecpar->sample_rate, st->time_base.den);
av_rescale       1967 libavformat/utils.c             av_rescale(timestamp,
av_rescale       2332 libavformat/utils.c             pos = av_rescale(target_ts - ts_min, pos_max - pos_min,
av_rescale       2496 libavformat/utils.c         timestamp = av_rescale(timestamp, st->time_base.den,
av_rescale       2785 libavformat/utils.c                     duration = av_rescale(filesize, 8LL * st->time_base.den,
av_rescale        224 libavformat/vivo.c         s->duration = av_rescale(duration, 1000, 1);
av_rescale         97 libavformat/vorbiscomment.c             s  = av_rescale(chp->start, chp->time_base.num, chp->time_base.den);
av_rescale        277 libavformat/vqf.c     st->cur_dts = av_rescale(pos, st->time_base.den,
av_rescale        591 libavformat/wavenc.c             number_of_samples = av_rescale(wav->maxpts - wav->minpts + wav->last_duration,
av_rescale        130 libavutil/mathematics.h int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
av_rescale        171 libavutil/rational.c     if (shift >= 0) n = av_rescale(q.num, 1LL<<shift, q.den);
av_rescale        172 libavutil/rational.c     else            n = av_rescale(q.num, 1, ((int64_t)q.den) << -shift);
av_rescale        177 libavutil/rational.c     if (shift >= 0) n = av_rescale(q.num, 1LL<<shift, q.den);
av_rescale        178 libavutil/rational.c     else            n = av_rescale(q.num, 1, ((int64_t)q.den) << -shift);
av_rescale       3380 libpostproc/postprocess_template.c         maxClipped= av_rescale(sum, c.ppMode.maxClippedThreshold.num, c.ppMode.maxClippedThreshold.den);
av_rescale       3397 libpostproc/postprocess_template.c         c.packedYScale = (uint16_t)av_rescale(scale.num, 256, scale.den);
av_rescale       3400 libpostproc/postprocess_template.c         c.packedYScale = (uint16_t)av_rescale(scale.num, 1024, scale.den);
av_rescale       3410 libpostproc/postprocess_template.c         if(mode & LEVEL_FIX)        QPCorrecture= (int)av_rescale(scale.num, 256*256, scale.den);
av_rescale        524 libswresample/resample.c     return av_rescale(num, base, s->in_sample_rate*(int64_t)c->src_incr * c->phase_count);