Lines Matching refs:ppf
381 static void comp_ppf_gains(int lag, PPFParam *ppf, enum Rate cur_rate, in comp_ppf_gains() argument
387 ppf->index = lag; in comp_ppf_gains()
394 ppf->opt_gain = ppf_gain_weight[cur_rate]; in comp_ppf_gains()
396 ppf->opt_gain = (ccr << 15) / res_eng * in comp_ppf_gains()
400 temp1 = (tgt_eng << 15) + (ccr * ppf->opt_gain << 1); in comp_ppf_gains()
401 temp2 = (ppf->opt_gain * ppf->opt_gain >> 15) * res_eng; in comp_ppf_gains()
411 ppf->sc_gain = square_root(temp1 << 16); in comp_ppf_gains()
413 ppf->opt_gain = 0; in comp_ppf_gains()
414 ppf->sc_gain = 0x7fff; in comp_ppf_gains()
417 ppf->opt_gain = av_clip_int16(ppf->opt_gain * ppf->sc_gain >> 15); in comp_ppf_gains()
430 PPFParam *ppf, enum Rate cur_rate) in comp_ppf_coeff() argument
451 ppf->index = 0; in comp_ppf_coeff()
452 ppf->opt_gain = 0; in comp_ppf_coeff()
453 ppf->sc_gain = 0x7fff; in comp_ppf_coeff()
482 comp_ppf_gains(fwd_lag, ppf, cur_rate, energy[0], energy[1], in comp_ppf_coeff()
485 comp_ppf_gains(-back_lag, ppf, cur_rate, energy[0], energy[3], in comp_ppf_coeff()
496 comp_ppf_gains(fwd_lag, ppf, cur_rate, energy[0], energy[1], in comp_ppf_coeff()
499 comp_ppf_gains(-back_lag, ppf, cur_rate, energy[0], energy[3], in comp_ppf_coeff()
936 PPFParam ppf[SUBFRAMES]; in g723_1_decode_frame() local
1017 ppf + j, p->cur_rate); in g723_1_decode_frame()
1022 vector_ptr + i + ppf[j].index, in g723_1_decode_frame()
1023 ppf[j].sc_gain, in g723_1_decode_frame()
1024 ppf[j].opt_gain, in g723_1_decode_frame()