Lines Matching refs:time_scale
249 double time_scale; member
369 uint64_t time_scale; member
443 …{ MATROSKA_ID_TIMECODESCALE, EBML_UINT, 0, 0, offsetof(MatroskaDemuxContext, time_scale), { .u = …
580 …{ MATROSKA_ID_TRACKTIMECODESCALE, EBML_FLOAT, 0, 0, offsetof(MatroskaTrack, time_scale), { .f…
1960 if (index[1].time > 1E14 / matroska->time_scale) { in matroska_add_index_entries()
2652 bytestream_put_le32(&ptr, av_rescale(matroska->duration * matroska->time_scale, in matroska_parse_tracks()
2737 if (track->time_scale < 0.01) { in matroska_parse_tracks()
2740 track->time_scale); in matroska_parse_tracks()
2741 track->time_scale = 1.0; in matroska_parse_tracks()
2743 avpriv_set_pts_info(st, 64, matroska->time_scale * track->time_scale, in matroska_parse_tracks()
2976 if (!matroska->time_scale) in matroska_read_header()
2977 matroska->time_scale = 1000000; in matroska_read_header()
2979 matroska->ctx->duration = matroska->duration * matroska->time_scale * in matroska_read_header()
3663 uint64_t timecode_cluster_in_track_tb = (double) cluster_time / track->time_scale; in matroska_parse_block()
3707 block_duration = track->default_duration * laces / matroska->time_scale; in matroska_parse_block()
3938 if (ts >= matroska->duration * matroska->time_scale) return (CueDesc) {-1, -1, -1, -1}; in get_cue_desc()
3940 if (index_entries[i - 1].timestamp * matroska->time_scale <= ts && in get_cue_desc()
3941 index_entries[i].timestamp * matroska->time_scale > ts) { in get_cue_desc()
3946 cue_desc.start_time_ns = index_entries[i].timestamp * matroska->time_scale; in get_cue_desc()
3949 cue_desc.end_time_ns = index_entries[i + 1].timestamp * matroska->time_scale; in get_cue_desc()
3952 cue_desc.end_time_ns = matroska->duration * matroska->time_scale; in get_cue_desc()
4097 int64_t time_ns = st->index_entries[i].timestamp * matroska->time_scale; in webm_dash_manifest_compute_bandwidth()
4119 if (matroska->duration * matroska->time_scale >= prebuffered_ns) in webm_dash_manifest_compute_bandwidth()
4147 … (double)(matroska->duration * matroska->time_scale) / nano_seconds_per_second; in webm_dash_manifest_compute_bandwidth()