26 list->have_boxes = have_boxes != 0;
28 list->alloc_values = 0;
36 if (
list->n_values ==
list->alloc_values) {
37 size_t size = (
list->n_values + 1000) *
sizeof(
int);
44 if (
list->have_boxes) {
53 list->alloc_values =
list->n_values + 1000;
List of bounding boxes with id.
int dig_init_boxlist(struct boxlist *list, int have_boxes)
int dig_boxlist_add(struct boxlist *list, int id, const struct bound_box *box)