Lines Matching defs:time

1485 static void mov_metadata_creation_time(AVDictionary **metadata, int64_t time, void *logctx)
1487 if (time) {
1488 if (time >= 2082844800)
1489 time -= 2082844800; /* seconds between 1904-01-01 and Epoch */
1491 if ((int64_t)(time * 1000000ULL) / 1000000 != time) {
1496 avpriv_dict_set_timestamp(metadata, "creation_time", time * 1000000);
1530 avio_rb32(pb); /* modification time */
1536 av_log(c->fc, AV_LOG_ERROR, "Invalid mdhd time scale %d, defaulting to 1\n", sc->time_scale);
1565 avio_rb32(pb); /* modification time */
1568 c->time_scale = avio_rb32(pb); /* time scale */
1570 av_log(c->fc, AV_LOG_ERROR, "Invalid mvhd time scale %d, defaulting to 1\n", c->time_scale);
1573 av_log(c->fc, AV_LOG_TRACE, "time scale = %i\n", c->time_scale);
1593 avio_rb32(pb); /* preview time */
1595 avio_rb32(pb); /* poster time */
1596 avio_rb32(pb); /* selection time */
1598 avio_rb32(pb); /* current time */
3470 * Get ith edit list entry (media time, duration).
3482 *edit_list_media_time = msc->elst_data[edit_list_index].time;
3623 // Double the allocation each time, to lower memory fragmentation.
3804 * which are needed to decode them) that fall in the edit list time ranges.
3882 av_log(mov->fc, AV_LOG_DEBUG, "Processing st: %d, edit list %"PRId64" - media time: %"PRId64", duration: %"PRId64"\n",
3910 // All frames which are outside edit list entry time boundaries will be dropped after decoding.
4092 // Start time should be equal to zero or the duration of any empty edits.
4174 /* Identify the minimal time step between samples */
4204 int64_t start_time = 0; // start time of the media
4208 if (i == 0 && e->time == -1) {
4209 /* if empty, the first entry is the start time of the stream
4213 } else if (i == edit_start_index && e->time >= 0) {
4214 start_time = e->time;
4494 // Update start time of the stream.
4950 avio_rb32(pb); /* creation time */
4951 avio_rb32(pb); /* modification time */
5228 av_log(c->fc, AV_LOG_DEBUG, "found mfra time %"PRId64
5233 av_log(c->fc, AV_LOG_DEBUG, "found mfra time %"PRId64
5250 av_log(c->fc, AV_LOG_DEBUG, "found tfdt time %"PRId64
5256 av_log(c->fc, AV_LOG_DEBUG, "found sidx time %"PRId64
5260 av_log(c->fc, AV_LOG_DEBUG, "found track end time %"PRId64
5266 av_log(c->fc, AV_LOG_DEBUG, "found track end time %"PRId64
5369 // Fragments can overlap in time. Discard overlapping frames after
5426 // The end of this new fragment may overlap in time with the start
5713 e->time = avio_rb64(pb);
5717 e->time = (int32_t)avio_rb32(pb); /* media time */
5722 av_log(c->fc, AV_LOG_TRACE, "duration=%"PRId64" time=%"PRId64" rate=%f\n",
5723 e->duration, e->time, e->rate);
5725 if (e->time < 0 && e->time != -1 &&
5727 av_log(c->fc, AV_LOG_ERROR, "Track %d, edit %d: Invalid edit list media time=%"PRId64"\n",
5728 c->fc->nb_streams-1, i, e->time);
7932 { MKTAG('c','t','t','s'), mov_read_ctts }, /* composition time to sample */
8607 int64_t time, offset;
8616 time = avio_rb64(f);
8619 time = avio_rb32(f);
8630 frag_stream_info->first_tfra_pts = time;