Home
last modified time | relevance | path

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

/device/google/dragon/audio/hal/dsp/
Ddrc_kernel.h47 float slope; /* Inverse ratio. */ member
Ddrc_kernel.c50 dk->slope = uninitialized_value; in dk_init()
159 float slope = slope_at(dk, x, k); in k_at_slope() local
161 if (slope < desired_slope) { in k_at_slope()
189 dk->slope = 1 / dk->ratio; in update_static_curve_parameters()
200 dk->ratio_base = y0 * powf(dk->knee_threshold, -dk->slope); in update_static_curve_parameters()
237 y = dk->ratio_base * knee_expf(logf(x) * (dk->slope - 1)); in volume_gain()