Lines Matching refs:time_scale
816 if (sc->time_scale) {
836 sc->time_scale = avio_rb32(pb);
861 c->time_scale = avio_rb32(pb); /* time scale */
863 av_dlog(c->fc, "time scale = %i\n", c->time_scale);
868 if (c->time_scale > 0 && !c->trex_data)
869 c->fc->duration = av_rescale(c->duration, AV_TIME_BASE, c->time_scale);
1546 !st->codec->sample_rate && sc->time_scale > 1)
1547 st->codec->sample_rate = sc->time_scale;
2115 if ((sc->empty_duration || sc->start_time) && mov->time_scale > 0) {
2117 sc->empty_duration = av_rescale(sc->empty_duration, sc->time_scale, mov->time_scale);
2232 st->codec->bit_rate = stream_size*8*sc->time_scale/st->duration;
2373 if (sc->time_scale <= 0) {
2375 sc->time_scale = c->time_scale;
2376 if (sc->time_scale <= 0)
2377 sc->time_scale = 1;
2410 avpriv_set_pts_info(st, 64, 1, sc->time_scale);
2438 sc->time_scale, sc->stts_data[0].duration, INT_MAX);
3594 sc->time_scale*(int64_t)sc->nb_frames_for_fps, sc->duration_for_fps, INT_MAX);
3612 st->codec->bit_rate = sc->data_size * 8 * sc->time_scale / st->duration;
3671 int64_t dts = av_rescale(current_sample->timestamp, AV_TIME_BASE, msc->time_scale);