Lines Matching refs:coefs
55 static sample_t * prepare_coefs(raw_coef_t const * coefs, int num_coefs, in prepare_coefs() argument
60 double fm1 = coefs[0], f1 = 0, f2 = 0; in prepare_coefs()
66 fm1 = coefs4_check(i) && pos > 0 ? coefs[pos - 1] * multiplier : 0; in prepare_coefs()
184 output[0] *= f->coefs[0]; in dft_stage_fn()
186 output[1] *= f->coefs[1]; in dft_stage_fn()
189 output[i ] = f->coefs[i ] * tmp - f->coefs[i+1] * output[i+1]; in dft_stage_fn()
190 output[i+1] = f->coefs[i+1] * tmp + f->coefs[i ] * output[i+1]; in dft_stage_fn()
206 output[i ] = f->coefs[i ] * tmp - f->coefs[i+1] * output[i+1]; in dft_stage_fn()
207 output[i+1] = f->coefs[i+1] * tmp + f->coefs[i ] * output[i+1]; in dft_stage_fn()
209 output[1] = f->coefs[i] * output[i] - f->coefs[i+1] * output[i+1]; in dft_stage_fn()
232 f->coefs = calloc(dft_length, sizeof(*f->coefs)); in dft_stage_init()
234 f->coefs[(i + dft_length - num_taps + 1) & (dft_length - 1)] in dft_stage_init()
239 lsx_safe_rdft(dft_length, 1, f->coefs); in dft_stage_init()
420 raw_coef_t * coefs = lsx_design_lpf( in rate_init() local
423 coefs, num_coefs, phases, order, 1); in rate_init()
426 free(coefs); in rate_init()
513 free(shared->dft_filter[0].coefs); in rate_close()
514 free(shared->dft_filter[1].coefs); in rate_close()