Home
last modified time | relevance | path

Searched refs:spec_val (Results 1 – 2 of 2) sorted by relevance

/external/srec/srec/clib/
Dspecnorm.c40 int add_distribution_data(spect_dist_info *spec, int spec_val) in add_distribution_data() argument
46 if (spec_val < spec->low_entry) spec->low_counts += UNIT_SIZE; in add_distribution_data()
47 else if (spec_val > spec->high_entry) spec->high_counts += UNIT_SIZE; in add_distribution_data()
48 else spec->hist[spec_val - spec->low_entry] += UNIT_SIZE; in add_distribution_data()
54 spec->running_total += spec_val - spec->mean; in add_distribution_data()
55 spec->running_total_devn += (spec_val - spec->mean) in add_distribution_data()
56 * (spec_val - spec->mean); in add_distribution_data()
58 spec->running_total += spec_val; in add_distribution_data()
59 spec->running_total_devn += spec_val * spec_val; in add_distribution_data()
199 int median_normalize_data(spect_dist_info *spec, int spec_val) in median_normalize_data() argument
[all …]
/external/srec/srec/include/
Dspecnorm.h84 int add_distribution_data(spect_dist_info *spec, int spec_val);
89 int median_normalize_data(spect_dist_info *spec, int spec_val);
90 int mean_normalize_data(spect_dist_info *spec, int spec_val);
91 int sv6_normalize_data(spect_dist_info *spec, int spec_val);