Searched refs:bq (Results 1 – 3 of 3) sorted by relevance
/device/google/dragon/audio/hal/dsp/ |
D | biquad.c | 30 static void set_coefficient(struct biquad *bq, double b0, double b1, double b2, in set_coefficient() argument 34 bq->b0 = b0 * a0_inv; in set_coefficient() 35 bq->b1 = b1 * a0_inv; in set_coefficient() 36 bq->b2 = b2 * a0_inv; in set_coefficient() 37 bq->a1 = a1 * a0_inv; in set_coefficient() 38 bq->a2 = a2 * a0_inv; in set_coefficient() 41 static void biquad_lowpass(struct biquad *bq, double cutoff, double resonance) in biquad_lowpass() argument 48 set_coefficient(bq, 1, 0, 0, 1, 0, 0); in biquad_lowpass() 67 set_coefficient(bq, b0, b1, b2, 1, a1, a2); in biquad_lowpass() 72 set_coefficient(bq, 0, 0, 0, 1, 0, 0); in biquad_lowpass() [all …]
|
D | eq2.c | 52 static inline void eq2_process_one(struct biquad (*bq)[2], in eq2_process_one() 55 struct biquad *qL = &bq[0][0]; in eq2_process_one() 56 struct biquad *qR = &bq[0][1]; in eq2_process_one() 115 static inline void eq2_process_two_neon(struct biquad (*bq)[2], in eq2_process_two_neon() 118 struct biquad *qL = &bq[0][0]; in eq2_process_two_neon() 119 struct biquad *rL = &bq[1][0]; in eq2_process_two_neon() 120 struct biquad *qR = &bq[0][1]; in eq2_process_two_neon() 121 struct biquad *rR = &bq[1][1]; in eq2_process_two_neon() 208 static inline void eq2_process_two_sse3(struct biquad (*bq)[2], in eq2_process_two_sse3() 211 struct biquad *qL = &bq[0][0]; in eq2_process_two_sse3() [all …]
|
D | biquad.h | 50 void biquad_set(struct biquad *bq, enum biquad_type type, double freq, double Q,
|