Searched refs:gain_lin (Results 1 – 3 of 3) sorted by relevance
358 float gain_lin = expf((s->gain - 3 * nb_input_channels) / 20 * M_LN10); in convert_coeffs() local444 data_ir_l[j] = ptr[len * 2 - j * 2 - 2] * gain_lin; in convert_coeffs()445 data_ir_r[j] = ptr[len * 2 - j * 2 - 1] * gain_lin; in convert_coeffs()452 fft_in_l[j].re = ptr[j * 2 ] * gain_lin; in convert_coeffs()453 fft_in_r[j].re = ptr[j * 2 + 1] * gain_lin; in convert_coeffs()476 data_ir_l[j] = ptr[len * N - j * N - N + I ] * gain_lin; in convert_coeffs()477 data_ir_r[j] = ptr[len * N - j * N - N + I + 1] * gain_lin; in convert_coeffs()484 fft_in_l[j].re = ptr[j * N + I ] * gain_lin; in convert_coeffs()485 fft_in_r[j].re = ptr[j * N + I + 1] * gain_lin; in convert_coeffs()
738 float gain_lin = expf((s->gain - 3 * nb_input_channels) / 20 * M_LN10); /* gain - 3dB/channel */ in load_data() local912 s->data_ir[0][offset + j] = lir[ir_samples - 1 - j] * gain_lin; in load_data()913 s->data_ir[1][offset + j] = rir[ir_samples - 1 - j] * gain_lin; in load_data()925 fft_in_l[s->delay[0][i] + j].re = lir[j] * gain_lin; in load_data()926 fft_in_r[s->delay[1][i] + j].re = rir[j] * gain_lin; in load_data()
117 double gain_lin = ff_exp10(gain_db / (20.0 * 256)); in libopus_decode_init() local119 opus->gain.d = gain_lin; in libopus_decode_init()121 opus->gain.i = FFMIN(gain_lin * 65536, INT_MAX); in libopus_decode_init()