Home
last modified time | relevance | path

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

/external/adhd/cras/src/dsp/tests/
Deq2_test.c31 static void process(struct eq2 *eq2, float *data0, float *data1, int count) in process() argument
35 eq2_process(eq2, data0 + start, data1 + start, in process()
46 struct eq2 *eq2; in test_file() local
55 eq2 = eq2_new(); in test_file()
56 eq2_append_biquad(eq2, 0, BQ_PEAKING, 380 / NQ, 3, -10); in test_file()
57 eq2_append_biquad(eq2, 0, BQ_PEAKING, 720 / NQ, 3, -12); in test_file()
58 eq2_append_biquad(eq2, 0, BQ_PEAKING, 1705 / NQ, 3, -8); in test_file()
59 eq2_append_biquad(eq2, 0, BQ_HIGHPASS, 218 / NQ, 0.7, -10.2); in test_file()
60 eq2_append_biquad(eq2, 0, BQ_PEAKING, 580 / NQ, 6, -8); in test_file()
61 eq2_append_biquad(eq2, 0, BQ_HIGHSHELF, 8000 / NQ, 3, 2); in test_file()
[all …]
/external/adhd/cras/src/dsp/
Deq2.h21 struct eq2;
24 struct eq2 *eq2_new();
27 void eq2_free(struct eq2 *eq2);
42 int eq2_append_biquad(struct eq2 *eq2, int channel, enum biquad_type type,
55 int eq2_append_biquad_direct(struct eq2 *eq2, int channel,
65 void eq2_process(struct eq2 *eq2, float *data0, float *data1, int count);
Deq2.c9 struct eq2 { struct
14 struct eq2 *eq2_new() in eq2_new() argument
16 struct eq2 *eq2 = (struct eq2 *)calloc(1, sizeof(*eq2)); in eq2_new() local
23 biquad_set(&eq2->biquad[i][j], BQ_NONE, 0, 0, 0); in eq2_new()
25 return eq2; in eq2_new()
28 void eq2_free(struct eq2 *eq2) in eq2_free() argument
30 free(eq2); in eq2_free()
33 int eq2_append_biquad(struct eq2 *eq2, int channel, enum biquad_type type, in eq2_append_biquad() argument
36 if (eq2->n[channel] >= MAX_BIQUADS_PER_EQ2) in eq2_append_biquad()
38 biquad_set(&eq2->biquad[eq2->n[channel]++][channel], type, freq, Q, in eq2_append_biquad()
[all …]
Ddrc.h118 struct eq2 *emphasis_eq;
119 struct eq2 *deemphasis_eq;
/external/adhd/cras/src/tests/
Ddsp_core_unittest.cc164 struct eq2* eq2; in TEST() local
184 eq2 = eq2_new(); in TEST()
185 EXPECT_EQ(0, eq2_append_biquad(eq2, 0, BQ_LOWPASS, f_mid, 0, 0)); in TEST()
186 EXPECT_EQ(0, eq2_append_biquad(eq2, 1, BQ_HIGHPASS, f_mid, 0, 0)); in TEST()
187 eq2_process(eq2, data0, data1, len); in TEST()
194 eq2_process(eq2, NULL, NULL, 0); in TEST()
195 eq2_free(eq2); in TEST()
206 eq2 = eq2_new(); in TEST()
207 EXPECT_EQ(0, eq2_append_biquad(eq2, 0, BQ_HIGHSHELF, f_mid, 5, 6)); in TEST()
208 EXPECT_EQ(0, eq2_append_biquad(eq2, 1, BQ_LOWSHELF, f_mid, 0, -6)); in TEST()
[all …]
/external/adhd/cras/src/server/
Dcras_dsp_mod_builtin.c362 struct eq2 *eq2; /* Initialized in the first call of eq2_run() */ member
388 if (!data->eq2) { in eq2_run()
392 data->eq2 = eq2_new(); in eq2_run()
402 eq2_append_biquad(data->eq2, channel, type, in eq2_run()
415 eq2_process(data->eq2, data->ports[2], data->ports[3], in eq2_run()
422 if (data->eq2) in eq2_deinstantiate()
423 eq2_free(data->eq2); in eq2_deinstantiate()
/external/adhd/cras-config/daisy/
Ddsp.ini16 [eq2] section
18 label=eq2 argument
/external/adhd/cras-config/veyron_jerry/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/veyron_speedy/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/veyron_minnie/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/leon/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/daisy_spring/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/whirlwind/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/wolf/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/
Ddsp.ini.sample50 [eq2]
52 label=eq2
/external/adhd/cras-config/daisy_skate/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/falco/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/veyron_mighty/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/peppy/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/adhd/cras-config/veyron_jaq/
Ddsp.ini49 [eq2] section
51 label=eq2 argument
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp320 bool eq2 = (Block2 == Head2); in CompareIfRegionBlock() local
321 if (eq1 || eq2) { in CompareIfRegionBlock()
323 return (eq1 == eq2); in CompareIfRegionBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp332 bool eq2 = (Block2 == Head2); in CompareIfRegionBlock() local
333 if (eq1 || eq2) { in CompareIfRegionBlock()
335 return (eq1 == eq2); in CompareIfRegionBlock()
/external/adhd/cras/src/
DMakefile.am463 dsp/crossover2.c dsp/eq2.c dsp/biquad.c dsp/dsp_util.c \
477 eq2_test_SOURCES = dsp/biquad.c dsp/eq2.c dsp/dsp_util.c dsp/tests/eq2_test.c \
699 dsp_core_unittest_SOURCES = tests/dsp_core_unittest.cc dsp/eq.c dsp/eq2.c \
/external/ImageMagick/m4/
Dax_compare_version.m455 # AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])