Home
last modified time | relevance | path

Searched refs:linear_threshold (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/dsp/
Ddrc_kernel.c51 dk->linear_threshold = uninitialized_value; in dk_init()
116 if (x < dk->linear_threshold) in knee_curve()
119 return dk->linear_threshold + in knee_curve()
120 (1 - knee_expf(-k * (x - dk->linear_threshold))) / k; in knee_curve()
129 if (x < dk->linear_threshold) in slope_at()
184 dk->linear_threshold = decibels_to_linear(db_threshold); in update_static_curve_parameters()
194 dk->knee_alpha = dk->linear_threshold + 1 / k; in update_static_curve_parameters()
195 dk->knee_beta = -expf(k * dk->linear_threshold) / k; in update_static_curve_parameters()
225 if (x < dk->linear_threshold) in volume_gain()
Ddrc_kernel.h50 float linear_threshold; member