Lines Matching refs:active_lines
110 float active_lines; ///< number of active spectral lines
513 band->active_lines = 0.0f;
517 band->active_lines = band->nz_lines;
521 band->active_lines *= PSY_3GPP_C3;
531 float active_lines)
535 if(active_lines == 0.0)
538 thr_avg = exp2f((a - pe) / (4.0f * active_lines));
539 reduction = exp2f((a - desired_pe) / (4.0f * active_lines)) - thr_avg;
625 float a = 0.0f, active_lines = 0.0f, norm_fac = 0.0f;
662 active_lines += band->active_lines;
688 reduction = calc_reduction_3gpp(a, desired_pe, pe, active_lines);
691 active_lines = 0.0f;
699 active_lines += band->active_lines;
706 active_lines = a = 0.0f;
714 active_lines += band->active_lines;
719 if (active_lines > 0.0f)
720 reduction += calc_reduction_3gpp(a, desired_pe_no_ah, pe_no_ah, active_lines);
727 if (active_lines > 0.0f)
730 band->norm_fac = band->active_lines / band->thr;
746 if (band->active_lines > 0.5f) {
750 thr *= exp2f(delta_sfb_pe / band->active_lines);
766 pe += band->active_lines * 1.5f - band->pe;