Lines Matching refs:index_entries
3219 AVIndexEntry *e_keep = st->index_entries; in find_prev_closest_index()
3233 st->index_entries = e_old; in find_prev_closest_index()
3287 st->index_entries = e_keep; in find_prev_closest_index()
3320 entries = av_fast_realloc(st->index_entries, in add_index_entry()
3326 st->index_entries= entries; in add_index_entry()
3350 st->index_entries[end_index - 1 - i].timestamp = end_ts; in fix_index_entry_timestamps()
3409 pts_buf[j] = st->index_entries[ind].timestamp + msc->ctts_data[ctts_ind].duration; in mov_estimate_video_delay()
3497 AVIndexEntry *e_old = st->index_entries; in mov_fix_index()
3543 st->index_entries = NULL; in mov_fix_index()
3775 st->index_entries[i].timestamp -= msc->min_corrected_pts; in mov_fix_index()
3874 if (sc->sample_count >= UINT_MAX / sizeof(*st->index_entries) - st->nb_index_entries) in mov_build_index()
3876 if (av_reallocp_array(&st->index_entries, in mov_build_index()
3878 sizeof(*st->index_entries)) < 0) { in mov_build_index()
3882 …ex_entries_allocated_size = (st->nb_index_entries + sc->sample_count) * sizeof(*st->index_entries); in mov_build_index()
3965 e = &st->index_entries[st->nb_index_entries++]; in mov_build_index()
4046 if (total >= UINT_MAX / sizeof(*st->index_entries) - st->nb_index_entries) in mov_build_index()
4048 if (av_reallocp_array(&st->index_entries, in mov_build_index()
4050 sizeof(*st->index_entries)) < 0) { in mov_build_index()
4054 … st->index_entries_allocated_size = (st->nb_index_entries + total) * sizeof(*st->index_entries); in mov_build_index()
4097 e = &st->index_entries[st->nb_index_entries++]; in mov_build_index()
4121 st->start_time = st->index_entries[0].timestamp + sc->dts_shift; in mov_build_index()
4889 new_entries = av_fast_realloc(st->index_entries, in mov_read_trun()
4894 st->index_entries= new_entries; in mov_read_trun()
4912 memmove(st->index_entries + index_entry_pos + entries, in mov_read_trun()
4913 st->index_entries + index_entry_pos, in mov_read_trun()
4914 sizeof(*st->index_entries) * in mov_read_trun()
4932 prev_dts = st->index_entries[index_entry_pos-1].timestamp; in mov_read_trun()
4981 st->index_entries[index_entry_pos].pos = offset; in mov_read_trun()
4982 st->index_entries[index_entry_pos].timestamp = dts; in mov_read_trun()
4983 st->index_entries[index_entry_pos].size= sample_size; in mov_read_trun()
4984 st->index_entries[index_entry_pos].min_distance= distance; in mov_read_trun()
4985 st->index_entries[index_entry_pos].flags = index_entry_flags; in mov_read_trun()
5014 memmove(st->index_entries + index_entry_pos, in mov_read_trun()
5015 st->index_entries + index_entry_pos + gap, in mov_read_trun()
5016 sizeof(*st->index_entries) * in mov_read_trun()
5036 prev_dts = st->index_entries[index_entry_pos-1].timestamp; in mov_read_trun()
5038 if (prev_dts < st->index_entries[i].timestamp) in mov_read_trun()
5040 st->index_entries[i].flags |= AVINDEX_DISCARD_FRAME; in mov_read_trun()
7254 AVIndexEntry *sample = &st->index_entries[0]; in mov_read_chapters()
7271 AVIndexEntry *sample = &st->index_entries[i]; in mov_read_chapters()
7272 … int64_t end = i+1 < st->nb_index_entries ? st->index_entries[i+1].timestamp : st->duration; in mov_read_chapters()
7348 avio_seek(sc->pb, st->index_entries->pos, SEEK_SET); in mov_read_rtmd_track()
7373 avio_seek(sc->pb, st->index_entries->pos, SEEK_SET); in mov_read_timecode_track()
7839 AVIndexEntry *current_sample = &avst->index_entries[msc->current_sample]; in mov_find_next_sample()
8043 st->index_entries[sc->current_sample].timestamp : st->duration; in mov_read_packet()
8124 if (sample < 0 && st->nb_index_entries && timestamp < st->index_entries[0].timestamp) in mov_seek_stream()
8165 int64_t first_ts = st->index_entries[0].timestamp; in mov_get_skip_samples()
8166 int64_t ts = st->index_entries[sample].timestamp; in mov_get_skip_samples()
8195 int64_t seek_timestamp = st->index_entries[sample].timestamp; in mov_read_seek()