Home
last modified time | relevance | path

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

/liblc3-3.5.0-3.4.0/src/
Dspec.c58 float x2_max = 0; in estimate_gain() local
66 x2_max = fmaxf(x2_max, x0); in estimate_gain()
67 x2_max = fmaxf(x2_max, x1); in estimate_gain()
68 x2_max = fmaxf(x2_max, x2); in estimate_gain()
69 x2_max = fmaxf(x2_max, x3); in estimate_gain()
105 int g_min = x2_max == 0 ? -g_off : in estimate_gain()
106 ceilf(28 * log10f(sqrtf(x2_max) / (32768 - 0.375f))); in estimate_gain()
108 *reset_off = g_int < g_min || x2_max == 0; in estimate_gain()