Home
last modified time | relevance | path

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

/device/google/dragon/audio/hal/dsp/tests/
Dcrossover_test.c29 void process(struct crossover *xo, int count, float *data0, float *data1, in process() argument
34 crossover_process(xo, min(2048, count - start), in process()
44 struct crossover xo; in main() local
59 crossover_init(&xo, 400 / NQ, 4000 / NQ); in main()
61 process(&xo, frames, data0, data1, data2); in main()
66 crossover_init(&xo, 400 / NQ, 4000 / NQ); in main()
68 process(&xo, frames, data0 + frames, data1 + frames, in main()
/device/google/dragon/audio/hal/dsp/
Dcrossover.c172 void crossover_init(struct crossover *xo, float freq1, float freq2) in crossover_init() argument
177 lr4_set(&xo->lp[i], BQ_LOWPASS, f); in crossover_init()
178 lr4_set(&xo->hp[i], BQ_HIGHPASS, f); in crossover_init()
182 void crossover_process(struct crossover *xo, int count, float *data0, in crossover_process() argument
185 lr4_split(&xo->lp[0], &xo->hp[0], count, data0, data1); in crossover_process()
186 lr4_merge(&xo->lp[1], &xo->hp[1], count, data0); in crossover_process()
187 lr4_split(&xo->lp[2], &xo->hp[2], count, data1, data2); in crossover_process()
Dcrossover.h53 void crossover_init(struct crossover *xo, float freq1, float freq2);
63 void crossover_process(struct crossover *xo, int count, float *data0,
/device/google/contexthub/firmware/inc/algos/
Dmag_cal.h61 float *xo, float *yo, float *zo);
69 float *xo, float *yo, float *zo);
/device/google/contexthub/firmware/src/algos/
Dmag_cal.c257 float *xo, float *yo, float *zo) in magCalRemoveBias() argument
259 *xo = xi - moc->x_bias; in magCalRemoveBias()
275 float *xo, float *yo, float *zo) in magCalRemoveSoftiron() argument
277 *xo = moc->c00 * xi + moc->c01 * yi + moc->c02 * zi; in magCalRemoveSoftiron()