Lines Matching refs:nb_fragments
54 int nb_fragments, fragments_size, fragment_index; member
150 for (j = 0; j < os->nb_fragments; j++) in hds_free()
227 start = FFMAX(os->nb_fragments - c->window_size, 0); in write_abst()
228 fragments = os->nb_fragments - start; in write_abst()
231 else if (os->nb_fragments) in write_abst()
232 cur_media_time = os->fragments[os->nb_fragments - 1]->start_time; in write_abst()
274 for (i = start; i < os->nb_fragments; i++) { in write_abst()
426 if (os->nb_fragments >= os->fragments_size) { in add_fragment()
432 os->nb_fragments = 0; in add_fragment()
443 os->fragments[os->nb_fragments++] = frag; in add_fragment()
477 int remove = os->nb_fragments - c->window_size - c->extra_window_size; in hds_flush()
479 remove = os->nb_fragments; in hds_flush()
485 os->nb_fragments -= remove; in hds_flush()
487 os->nb_fragments * sizeof(*os->fragments)); in hds_flush()