Lines Matching defs:nb_segments
204 int nb_segments;
986 int i, j, nb_segments = 0;
993 nb_segments++;
995 if (!nb_segments)
998 if (!(unsorted_segments = av_calloc(nb_segments, sizeof(*unsorted_segments))) ||
999 !(*sorted_segments = av_calloc(nb_segments, sizeof(**sorted_segments)))) {
1012 for (i = 0; i < nb_segments; i++) {
1016 for (j = 0; j < nb_segments; j++) {
1107 for (i = 0; i < index_table->nb_segments; i++) {
1156 for (i = 0; i < index_table->nb_segments; i++) {
1209 for (i = x = 0; i < index_table->nb_segments; i++) {
1292 mxf->index_tables[j].nb_segments++;
1295 for (i = j = 0; j < mxf->nb_index_tables; i += mxf->index_tables[j++].nb_segments) {
1298 t->segments = av_mallocz_array(t->nb_segments,
1312 memcpy(t->segments, &sorted_segments[i], t->nb_segments * sizeof(MXFIndexTableSegment*));
1320 for (k = 0; k < t->nb_segments; k++) {
1324 if (t->nb_segments > 1)
2032 mxf->index_tables[0].nb_segments != 1 ||