Home | History | Annotate | Download | only in aacdec

Lines Matching refs:quotient

262     struct intg_div   quotient;
503 pv_div(nL_man[aux1], nL_man[aux1] + (0x3FFFFFFF >> tmp_q1), &quotient);
508 pv_div(tmp_q1, tmp_q1 + 0x3FFFFFFF, &quotient);
515 tmp_q1 = fxp_mul32_Q30(quotient.quotient >> quotient.shift_factor, nrg_ref_man[c]);
526 pv_div(tmp_q1, nrg_est_man[c] + 1, &quotient);
528 * nrg_est_man[c] is an integer number, while tmp_q1 and quotient.quotient
532 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30;
534 pv_sqrt(quotient.quotient, tmp_q2, &root_sq, sqrt_cache[1]);
546 * nrg_ref[c] and nL, as well as quotient.quotient
559 pv_div(nrg_ref_man[c], nL_man[aux1] + (0x3FFFFFFF >> tmp_q2), &quotient);
564 pv_div(nrg_ref_man[c], tmp_q2 + 0x3FFFFFFF, &quotient);
568 tmp_q2 = nrg_ref_exp[c] - tmp_q2 - quotient.shift_factor;
570 pv_sqrt(quotient.quotient, tmp_q2, &root_sq, sqrt_cache[2]);
590 pv_div(nrg_ref_man[c], nrg_est_man[c] + 1, &quotient);
594 * quotient.quotient are fractions in Q30
597 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30;
599 pv_sqrt(quotient.quotient, tmp_q2, &root_sq, sqrt_cache[3]);
627 pv_div(nrg_ref_man[c], tmp_q2, &quotient);
630 * quotient.quotient are fractions in Q30
632 tmp_q2 = nrg_ref_exp[c] - quotient.shift_factor - 30 - nL_exp[aux1];
638 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30 - nL_exp[aux1];
654 pv_div(nrg_ref_man[c], tmp_q2, &quotient);
657 * quotient.quotient are fractions in Q30
660 tmp_q2 = nrg_ref_exp[c] - quotient.shift_factor - 30;
668 pv_sqrt(quotient.quotient, tmp_q2, &root_sq, sqrt_cache[4]);
744 pv_div(p_ref_man, p_est_man, &quotient);
746 tmp_q2 = p_ref_exp - 30 - p_est_exp - quotient.shift_factor;
751 pv_sqrt(quotient.quotient, tmp_q2, &root_sq, sqrt_cache[6]);
805 pv_div(tmp_q1, nrg_gain_man[k], &quotient);
806 noise_level_man[k] = quotient.quotient >> 2; /* in Q28 */
807 noise_level_exp[k] = noise_level_exp[k] + g_max_exp - quotient.shift_factor - nrg_gain_exp[k];
889 pv_div(p_ref_man, p_adj_man, &quotient);
890 tmp_q2 = p_ref_exp - p_adj_exp - 58 - quotient.shift_factor; /* 58 <> Q30 + Q28 */
892 pv_sqrt(quotient.quotient, tmp_q2, &root_sq, sqrt_cache[7]);