Home
last modified time | relevance | path

Searched refs:want_alloc (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstreamer/gst/
Dgstbufferlist.c416 guint want_alloc; in gst_buffer_list_insert() local
432 want_alloc = list->n_buffers + 1; in gst_buffer_list_insert()
434 if (want_alloc > list->n_allocated) { in gst_buffer_list_insert()
438 want_alloc = MAX (GST_ROUND_UP_16 (want_alloc), list->n_allocated * 2); in gst_buffer_list_insert()
441 list->buffers = g_renew (GstBuffer *, list->buffers, want_alloc); in gst_buffer_list_insert()
443 list->buffers = g_new0 (GstBuffer *, want_alloc); in gst_buffer_list_insert()
448 list->n_allocated = want_alloc; in gst_buffer_list_insert()
Dgststructure.c201 guint want_alloc; in _structure_append_val() local
206 want_alloc = in _structure_append_val()
209 impl->fields = g_renew (GstStructureField, impl->fields, want_alloc); in _structure_append_val()
211 impl->fields = g_new0 (GstStructureField, want_alloc); in _structure_append_val()
216 impl->fields_alloc = want_alloc; in _structure_append_val()
Dgstvalue.c220 guint want_alloc; in resize_value_list() local
225 want_alloc = MAX (GST_ROUND_UP_8 (vlist->len + 1), vlist->allocated * 2); in resize_value_list()
228 vlist->fields = g_renew (GValue, vlist->fields, want_alloc); in resize_value_list()
230 vlist->fields = g_new0 (GValue, want_alloc); in resize_value_list()
234 vlist->allocated = want_alloc; in resize_value_list()