Lines Matching defs:tgt_eng
378 * @param tgt_eng target energy
383 int tgt_eng, int ccr, int res_eng)
390 temp1 = tgt_eng * res_eng >> 1;
400 /* pf_res^2 = tgt_eng + 2*ccr*gain + res_eng*gain^2 */
401 temp1 = (tgt_eng << 15) + (ccr * ppf->opt_gain << 1);
405 if (tgt_eng >= pf_residual << 1) {
408 temp1 = (tgt_eng << 14) / pf_residual;
411 /* scaling_gain = sqrt(tgt_eng/pf_res^2) */
522 int index, ccr, tgt_eng, best_eng, temp;
533 tgt_eng = ff_g723_1_dot_product(buf, buf, SUBFRAME_LEN * 2);
534 *exc_eng = av_sat_add32(tgt_eng, 1 << 15) >> 16;