/external/adhd/cras/src/dsp/tests/ |
drc_test.c | 11 #include "drc.h" 26 static void process(struct drc *drc, float *buf, size_t frames) 37 drc_process(drc, data, chunk); 41 printf("drc processing takes %g seconds for %zu samples\n", 48 struct drc *drc; local 59 drc = drc_new(44100); 61 drc->emphasis_disabled = 0; 62 drc_set_param(drc, 0, PARAM_CROSSOVER_LOWER_FREQ, 0) [all...] |
/external/adhd/cras/src/dsp/ |
drc.h | 22 /* DRC implements a flexible audio dynamics compression effect such as is 27 * This is a three band stereo DRC. There are three compressor kernels, and each 44 * | drc | | drc | | drc | 61 /* The parameters of the DRC compressor. 109 struct drc { struct 136 /* DRC needs the parameters to be set before initialization. So drc_new() should 153 /* Allocates a DRC. */ 154 struct drc *drc_new(float sample_rate) [all...] |
drc.c | 14 #include "drc.h" 17 static void set_default_parameters(struct drc *drc); 18 static void init_data_buffer(struct drc *drc); 19 static void init_emphasis_eq(struct drc *drc); 20 static void init_crossover(struct drc *drc); 21 static void init_kernel(struct drc *drc) 28 struct drc *drc = (struct drc *)calloc(1, sizeof(struct drc)); local [all...] |
/external/adhd/cras/src/tests/ |
dsp_core_unittest.cc | 9 #include "drc.h" 341 struct drc *drc; local 344 drc = drc_new(44100); 346 drc_set_param(drc, 0, PARAM_CROSSOVER_LOWER_FREQ, 0); 347 drc_set_param(drc, 0, PARAM_ENABLED, 1); 348 drc_set_param(drc, 0, PARAM_THRESHOLD, -30); 349 drc_set_param(drc, 0, PARAM_KNEE, 0); 350 drc_set_param(drc, 0, PARAM_RATIO, 3); 351 drc_set_param(drc, 0, PARAM_ATTACK, 0.02) [all...] |
/external/adhd/cras/src/server/ |
cras_dsp_mod_builtin.c | 8 #include "drc.h" 426 * drc module functions 430 struct drc *drc; /* Initialized in the first call of drc_run() */ member in struct:drc_data 463 if (!data->drc) { 466 struct drc *drc = drc_new(data->sample_rate); local 468 data->drc = drc; 469 drc->emphasis_disabled = (int) *data->ports[4] [all...] |
/external/adhd/scripts/audio_tuning/frontend/ |
audio.js | 18 * | DRC | | DRC | | DRC | 53 * The parameters of each DRC and EQ can be adjusted or disabled independently. 55 * If enable_swap is set to true, the order of the DRC and the EQ stages are 56 * swapped (EQ is applied first, then DRC). 60 * enable_drc - A switch to turn all DRC on/off. 63 * enable_swap - A switch to swap the order of EQ and DRC stages. 66 /* The DRC has following parameters: 86 /* The initial values of parameters for GLOBAL, DRC and EQ * 695 function drc() { class [all...] |
/external/skia/src/compute/hs/vk/bench/ |
main.c | 465 VkDebugReportCallbackEXT drc; local 470 &drc)); [all...] |
/external/skqp/src/compute/hs/vk/bench/ |
main.c | 465 VkDebugReportCallbackEXT drc; local 470 &drc)); [all...] |
/external/curl/lib/ |
multi.c | 1648 CURLcode drc; local [all...] |
/frameworks/av/media/libstagefright/ |
ACodec.cpp | 2120 drcParams_t drc; local [all...] |