/external/adhd/cras/src/dsp/tests/ |
D | eq2_test.c | 31 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/ |
D | eq2.h | 21 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);
|
D | eq2.c | 9 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 …]
|
D | drc.h | 118 struct eq2 *emphasis_eq; 119 struct eq2 *deemphasis_eq;
|
/external/adhd/cras/src/tests/ |
D | dsp_core_unittest.cc | 164 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/ |
D | cras_dsp_mod_builtin.c | 362 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/ |
D | dsp.ini | 16 [eq2] section 18 label=eq2 argument
|
/external/adhd/cras-config/veyron_jerry/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/veyron_speedy/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/veyron_minnie/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/leon/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/daisy_spring/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/whirlwind/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/wolf/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/ |
D | dsp.ini.sample | 50 [eq2] 52 label=eq2
|
/external/adhd/cras-config/daisy_skate/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/falco/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/veyron_mighty/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/peppy/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/adhd/cras-config/veyron_jaq/ |
D | dsp.ini | 49 [eq2] section 51 label=eq2 argument
|
/external/llvm/lib/Transforms/Utils/ |
D | FlattenCFG.cpp | 320 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/ |
D | FlattenCFG.cpp | 332 bool eq2 = (Block2 == Head2); in CompareIfRegionBlock() local 333 if (eq1 || eq2) { in CompareIfRegionBlock() 335 return (eq1 == eq2); in CompareIfRegionBlock()
|
/external/adhd/cras/src/ |
D | Makefile.am | 463 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/ |
D | ax_compare_version.m4 | 55 # AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
|