Lines Matching refs:nb_units
160 for (i = 0; i < frag->nb_units; i++) in ff_cbs_fragment_reset()
162 frag->nb_units = 0; in ff_cbs_fragment_reset()
183 for (i = 0; i < frag->nb_units; i++) { in cbs_read_fragment_content()
363 for (i = 0; i < frag->nb_units; i++) { in ff_cbs_write_fragment_data()
704 if (frag->nb_units < frag->nb_units_allocated) { in cbs_insert_unit()
707 if (position < frag->nb_units) in cbs_insert_unit()
709 (frag->nb_units - position) * sizeof(*units)); in cbs_insert_unit()
711 units = av_malloc_array(frag->nb_units*2 + 1, sizeof(*units)); in cbs_insert_unit()
720 if (position < frag->nb_units) in cbs_insert_unit()
722 (frag->nb_units - position) * sizeof(*units)); in cbs_insert_unit()
732 ++frag->nb_units; in cbs_insert_unit()
748 position = frag->nb_units; in ff_cbs_insert_unit_content()
749 av_assert0(position >= 0 && position <= frag->nb_units); in ff_cbs_insert_unit_content()
784 position = frag->nb_units; in ff_cbs_insert_unit_data()
785 av_assert0(position >= 0 && position <= frag->nb_units); in ff_cbs_insert_unit_data()
815 av_assert0(0 <= position && position < frag->nb_units in ff_cbs_delete_unit()
820 --frag->nb_units; in ff_cbs_delete_unit()
822 if (frag->nb_units > 0) in ff_cbs_delete_unit()
825 (frag->nb_units - position) * sizeof(*frag->units)); in ff_cbs_delete_unit()