Lines Matching defs:active_lines
113 float active_lines; ///< number of active spectral lines
543 band->active_lines = 0.0f;
547 band->active_lines = band->nz_lines;
551 band->active_lines *= PSY_3GPP_C3;
561 float active_lines)
565 if(active_lines == 0.0)
568 thr_avg = exp2f((a - pe) / (4.0f * active_lines));
569 reduction = exp2f((a - desired_pe) / (4.0f * active_lines)) - thr_avg;
659 float a = 0.0f, active_lines = 0.0f, norm_fac = 0.0f;
698 active_lines += band->active_lines;
744 reduction = calc_reduction_3gpp(a, desired_pe, pe, active_lines);
747 active_lines = 0.0f;
755 active_lines += band->active_lines;
762 active_lines = a = 0.0f;
770 active_lines += band->active_lines;
775 if (active_lines > 0.0f)
776 reduction = calc_reduction_3gpp(a, desired_pe_no_ah, pe_no_ah, active_lines);
783 if (active_lines > 0.0f)
787 band->norm_fac = band->active_lines / band->thr;
805 if (band->active_lines > 0.5f) {
809 thr *= exp2f(delta_sfb_pe / band->active_lines);
825 pe += band->active_lines * 1.5f - band->pe;
840 psy_band->spread = band->active_lines * 2.0f / band_sizes[g];