Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dfirfit.c30 int num_knots, n; member
52 lsx_valloc(log_freqs , p->num_knots); in make_filter()
53 lsx_valloc(gains, p->num_knots); in make_filter()
54 lsx_valloc(d , p->num_knots); in make_filter()
55 for (i = 0; i < p->num_knots; ++i) { in make_filter()
59 lsx_prepare_spline3(log_freqs, gains, p->num_knots, HUGE_VAL, HUGE_VAL, d); in make_filter()
68 f > p->knots[p->num_knots - 1].f? gains[p->num_knots - 1] : in make_filter()
69 lsx_spline3(log_freqs, gains, d, p->num_knots, log(f)); in make_filter()
94 &p->knots[p->num_knots].f, &p->knots[p->num_knots].gain); in read_knots()
96 if (p->num_knots && p->knots[p->num_knots].f <= p->knots[p->num_knots - 1].f) { in read_knots()
[all …]