Lines Matching refs:time_scale
172 double time_scale;
262 uint64_t time_scale;
326 { MATROSKA_ID_TIMECODESCALE, EBML_UINT, 0, offsetof(MatroskaDemuxContext, time_scale), { .u = 1000000 } },
419 { MATROSKA_ID_TRACKTIMECODESCALE, EBML_FLOAT, 0, offsetof(MatroskaTrack, time_scale), { .f = 1.0 } },
1305 int sc = matroska->time_scale * pkt->pts / 10000000;
1306 int ec = matroska->time_scale * end_pts / 10000000;
1509 index[0].time > 1E14 / matroska->time_scale) {
1511 index_scale = matroska->time_scale;
1864 avio_wl32(&b, av_rescale((matroska->duration * matroska->time_scale),
1927 if (track->time_scale < 0.01)
1928 track->time_scale = 1.0;
1929 avpriv_set_pts_info(st, 64, matroska->time_scale * track->time_scale,
2111 if (!matroska->time_scale)
2112 matroska->time_scale = 1000000;
2114 matroska->ctx->duration = matroska->duration * matroska->time_scale *
2696 * that the time_scale is less than 1us, which
2822 block_duration = track->default_duration * laces / matroska->time_scale;
3025 st->index_entries[index].timestamp - tracks[i].stream->index_entries[index_sub].timestamp < 30000000000 / matroska->time_scale)
3090 if (ts >= matroska->duration * matroska->time_scale) return (CueDesc) {-1, -1, -1, -1};
3092 if (index_entries[i - 1].timestamp * matroska->time_scale <= ts &&
3093 index_entries[i].timestamp * matroska->time_scale > ts) {
3098 cue_desc.start_time_ns = index_entries[i].timestamp * matroska->time_scale;
3101 cue_desc.end_time_ns = index_entries[i + 1].timestamp * matroska->time_scale;
3104 cue_desc.end_time_ns = matroska->duration * matroska->time_scale;
3242 int64_t time_ns = st->index_entries[i].timestamp * matroska->time_scale;
3264 return (matroska->duration * matroska->time_scale >= prebuffered_ns) ? -1 : 0;
3291 (double)(matroska->duration * matroska->time_scale) / nano_seconds_per_second;