Searched refs:sorted (Results 1 – 1 of 1) sorted by relevance
107 float avg, sum, median, sorted[YAS_DEFAULT_FILTER_LEN]; in adaptive_filter_filter() local129 memcpy(sorted, adap_filter->sequence, adap_filter->len * sizeof(float)); in adaptive_filter_filter()130 qsort(&sorted, adap_filter->len, sizeof(float), cmpfloat); in adaptive_filter_filter()131 median = sorted[adap_filter->len/2]; in adaptive_filter_filter()