Definition at line 796 of file rt_statistics.c.
803 if (NULL == element) {
806 if (NULL == qle)
return NULL;
814 if (NULL != idx) *idx = 0;
818 if (NULL != idx) *idx += 1;
819 if (NULL != element->
next)
825 if (NULL == qle)
return NULL;
840 RASTER_DEBUGF(4,
"insert qle @ %p before current element", qle);
841 if (NULL == qle)
return NULL;
void * rtalloc(size_t size)
Wrappers used for managing memory.
#define RASTER_DEBUGF(level, msg,...)
static struct quantile_llist_element * quantile_llist_insert(struct quantile_llist_element *element, double value, uint32_t *idx)
struct quantile_llist_element * prev
struct quantile_llist_element * next
References quantile_llist_element::count, quantile_llist_element::next, quantile_llist_element::prev, RASTER_DEBUGF, rtalloc(), quantile_llist_element::value, and genraster::value.
Referenced by rt_band_get_quantiles_stream().