/device/google/dragon/audio/hal/dsp/ |
biquad.h | 13 /* The biquad filter parameters. The transfer function H(z) is (b0 + b1 * z^(-1) 21 struct biquad { struct 28 /* The type of the biquad filters */ 41 /* Initialize a biquad filter parameters from its type and parameters. 43 * bq - The biquad filter we want to set. 44 * type - The type of the biquad filter. 50 void biquad_set(struct biquad *bq, enum biquad_type type, double freq, double Q,
|
eq.h | 13 /* An EQ is a chain of biquad filters. See Web Audio API spec for details of the 14 * biquad filters and their parameters. */ 16 #include "biquad.h" 18 /* Maximum number of biquad filters an EQ can have */ 29 /* Append a biquad filter to an EQ. An EQ can have at most MAX_BIQUADS_PER_EQ 30 * biquad filters. 33 * type - The type of the biquad filter we want to append. 44 /* Append a biquad filter to an EQ. An EQ can have at most MAX_BIQUADS_PER_EQ 45 * biquad filters. This is similar to eq_append_biquad(), but it specifies the 46 * biquad coefficients directly [all...] |
eq2.h | 16 #include "biquad.h" 18 /* Maximum number of biquad filters an EQ2 can have per channel */ 29 /* Append a biquad filter to an EQ2. An EQ2 can have at most MAX_BIQUADS_PER_EQ2 30 * biquad filters per channel. 34 * type - The type of the biquad filter we want to append. 45 /* Append a biquad filter to an EQ2. An EQ2 can have at most MAX_BIQUADS_PER_EQ2 46 * biquad filters. This is similar to eq2_append_biquad(), but it specifies the 47 * biquad coefficients directly. 51 * biquad - The parameters for the biquad filter [all...] |
eq.c | 11 struct biquad biquad[MAX_BIQUADS_PER_EQ]; member in struct:eq 30 biquad_set(&eq->biquad[eq->n++], type, freq, Q, gain); 34 int eq_append_biquad_direct(struct eq *eq, const struct biquad *biquad) 38 eq->biquad[eq->n++] = *biquad; 47 struct biquad *q = &eq->biquad[i]; 82 struct biquad *q = &eq->biquad[i] [all...] |
eq2.c | 11 struct biquad biquad[MAX_BIQUADS_PER_EQ2][2]; member in struct:eq2 23 biquad_set(&eq2->biquad[i][j], BQ_NONE, 0, 0, 0); 38 biquad_set(&eq2->biquad[eq2->n[channel]++][channel], type, freq, Q, 44 const struct biquad *biquad) 48 eq2->biquad[eq2->n[channel]++][channel] = *biquad; 52 static inline void eq2_process_one(struct biquad (*bq)[2], 55 struct biquad *qL = &bq[0][0] [all...] |
biquad.c | 12 #include "biquad.h" 30 static void set_coefficient(struct biquad *bq, double b0, double b1, double b2, 41 static void biquad_lowpass(struct biquad *bq, double cutoff, double resonance) 50 /* Compute biquad coefficients for lowpass filter */ 76 static void biquad_highpass(struct biquad *bq, double cutoff, double resonance) 85 /* Compute biquad coefficients for highpass filter */ 113 static void biquad_bandpass(struct biquad *bq, double frequency, double Q) 153 static void biquad_lowshelf(struct biquad *bq, double frequency, double db_gain) 187 static void biquad_highshelf(struct biquad *bq, double frequency, 222 static void biquad_peaking(struct biquad *bq, double frequency, double Q [all...] |
drc.c | 134 /* Calculates the biquad coefficients for two emphasis stages. */ 136 struct biquad *emphasis, 137 struct biquad *deemphasis) 173 struct biquad e; 174 struct biquad d;
|
crossover.c | 7 #include "biquad.h" 11 struct biquad q;
|
crossover2.c | 8 #include "biquad.h" 12 struct biquad q;
|
/device/google/dragon/audio/hal/ |
Android.mk | 9 dsp/biquad.c \
|