Lines Matching refs:time_scale
754 sc->time_scale = avio_rb32(pb);
779 c->time_scale = avio_rb32(pb); /* time scale */
781 av_dlog(c->fc, "time scale = %i\n", c->time_scale);
1356 if (st->codec->codec_type==AVMEDIA_TYPE_AUDIO && st->codec->sample_rate==0 && sc->time_scale>1)
1357 st->codec->sample_rate= sc->time_scale;
1705 if (sc->time_offset && mov->time_scale > 0) {
1707 sc->time_offset = av_rescale(sc->time_offset, sc->time_scale, mov->time_scale);
1789 st->codec->bit_rate = stream_size*8*sc->time_scale/st->duration;
1947 if (sc->time_scale <= 0) {
1949 sc->time_scale = c->time_scale;
1950 if (sc->time_scale <= 0)
1951 sc->time_scale = 1;
1954 avpriv_set_pts_info(st, 64, 1, sc->time_scale);
1959 st->codec->sample_rate, sc->time_scale);
1984 sc->time_scale*st->nb_frames, st->duration, INT_MAX);
1988 sc->time_scale, sc->stts_data[0].duration, INT_MAX);
2599 int64_t dts = av_rescale(current_sample->timestamp, AV_TIME_BASE, msc->time_scale);