Searched refs:actual_idx (Results 1 – 1 of 1) sorted by relevance
597 guint actual_idx; in gst_queue_array_drop_struct() local601 actual_idx = (array->head + idx) % array->size; in gst_queue_array_drop_struct()604 g_return_val_if_fail (actual_idx < array->size, FALSE); in gst_queue_array_drop_struct()614 memcpy (p_struct, array->array + elt_size * actual_idx, elt_size); in gst_queue_array_drop_struct()617 if (actual_idx == first_item_index) { in gst_queue_array_drop_struct()630 if (actual_idx == last_item_index) { in gst_queue_array_drop_struct()647 g_assert (first_item_index < actual_idx && actual_idx < last_item_index); in gst_queue_array_drop_struct()649 memmove (array->array + elt_size * actual_idx, in gst_queue_array_drop_struct()650 array->array + elt_size * (actual_idx + 1), in gst_queue_array_drop_struct()651 (last_item_index - actual_idx) * elt_size); in gst_queue_array_drop_struct()[all …]