Home
last modified time | relevance | path

Searched refs:db_threshold (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/dsp/
Ddrc_kernel.c52 dk->db_threshold = uninitialized_value; in dk_init()
147 float x_db = dk->db_threshold + dk->db_knee; in k_at_slope()
177 float db_threshold, float db_knee, in update_static_curve_parameters() argument
180 if (db_threshold != dk->db_threshold || db_knee != dk->db_knee || in update_static_curve_parameters()
183 dk->db_threshold = db_threshold; in update_static_curve_parameters()
184 dk->linear_threshold = decibels_to_linear(db_threshold); in update_static_curve_parameters()
197 dk->knee_threshold = decibels_to_linear(db_threshold + db_knee); in update_static_curve_parameters()
243 void dk_set_parameters(struct drc_kernel *dk, float db_threshold, float db_knee, in dk_set_parameters() argument
251 update_static_curve_parameters(dk, db_threshold, db_knee, ratio); in dk_set_parameters()
Ddrc_kernel.h51 float db_threshold; member
88 void dk_set_parameters(struct drc_kernel *dk, float db_threshold, float db_knee,
Ddrc.c219 float db_threshold = drc_get_param(drc, i, PARAM_THRESHOLD); in init_kernel() local
232 dk_set_parameters(&drc->kernel[i], db_threshold, db_knee, ratio, in init_kernel()