Lines Matching refs:nb_ptses
270 int nb_ptses; /* number of PTSes or total duration of index */ member
1717 index_table->nb_ptses = 0; in mxf_compute_ptses_fake_index()
1721 if (s->index_duration > INT_MAX - index_table->nb_ptses) { in mxf_compute_ptses_fake_index()
1722 index_table->nb_ptses = 0; in mxf_compute_ptses_fake_index()
1727 index_table->nb_ptses += s->index_duration; in mxf_compute_ptses_fake_index()
1731 if (index_table->nb_ptses <= 0) in mxf_compute_ptses_fake_index()
1734 if (!(index_table->ptses = av_calloc(index_table->nb_ptses, sizeof(int64_t))) || in mxf_compute_ptses_fake_index()
1735 !(index_table->fake_index = av_calloc(index_table->nb_ptses, sizeof(AVIndexEntry))) || in mxf_compute_ptses_fake_index()
1736 !(index_table->offsets = av_calloc(index_table->nb_ptses, sizeof(int8_t))) || in mxf_compute_ptses_fake_index()
1737 !(flags = av_calloc(index_table->nb_ptses, sizeof(uint8_t)))) { in mxf_compute_ptses_fake_index()
1746 for (x = 0; x < index_table->nb_ptses; x++) in mxf_compute_ptses_fake_index()
1791 if (x >= index_table->nb_ptses) { in mxf_compute_ptses_fake_index()
1800 if (index < 0 || index >= index_table->nb_ptses) { in mxf_compute_ptses_fake_index()
1814 for (x = 0; x < index_table->nb_ptses; x++) { in mxf_compute_ptses_fake_index()
3585 if (t && track->sample_count < t->nb_ptses) { in mxf_set_pts()
3859 … if ((sample_time = ff_index_search_timestamp(t->fake_index, t->nb_ptses, sample_time, flags)) < 0) in mxf_read_seek()