Lines Matching refs:active_lines
107 float active_lines; ///< number of active spectral lines
506 band->active_lines = 0.0f;
510 band->active_lines = band->nz_lines;
514 band->active_lines *= PSY_3GPP_C3;
524 float active_lines)
528 thr_avg = powf(2.0f, (a - pe) / (4.0f * active_lines));
529 reduction = powf(2.0f, (a - desired_pe) / (4.0f * active_lines)) - thr_avg;
568 float a = 0.0f, active_lines = 0.0f, norm_fac = 0.0f;
619 active_lines += band->active_lines;
645 reduction = calc_reduction_3gpp(a, desired_pe, pe, active_lines);
648 active_lines = 0.0f;
656 active_lines += band->active_lines;
663 active_lines = a = 0.0f;
671 active_lines += band->active_lines;
676 if (active_lines > 0.0f)
677 reduction += calc_reduction_3gpp(a, desired_pe_no_ah, pe_no_ah, active_lines);
684 if (active_lines > 0.0f)
687 band->norm_fac = band->active_lines / band->thr;
703 if (band->active_lines > 0.5f) {
707 thr *= powf(2.0f, delta_sfb_pe / band->active_lines);
723 pe += band->active_lines * 1.5f - band->pe;