Home
last modified time | relevance | path

Searched refs:vo_mult (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dwb_vad.c61 mant = vo_mult(mant, mant); in ilog2()
89 temp0 = vo_sub(*in0, vo_mult(COEFF5_1, data[0])); in filter5()
90 temp1 = add1(data[0], vo_mult(COEFF5_1, temp0)); in filter5()
93 temp0 = vo_sub(*in1, vo_mult(COEFF5_2, data[1])); in filter5()
94 temp2 = add1(data[1], vo_mult(COEFF5_2, temp0)); in filter5()
117 temp1 = vo_sub(*in1, vo_mult(COEFF3, *data)); in filter3()
118 temp2 = add1(*data, vo_mult(COEFF3, temp1)); in filter3()
497 temp = vo_mult(noise_level, MIN_SPEECH_SNR) << 3; in vad_decision()
509 temp = add1(vo_mult(NO_SLOPE, (ilog2_noise_level - NO_P1)), THR_HIGH); in vad_decision()
511 temp2 = add1(SP_CH_MIN, vo_mult(SP_SLOPE, (ilog2_speech_level - SP_P1))); in vad_decision()
[all …]
Dqpisf_2s.c73 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); in Qpisf_2s_46b()
163 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); in Qpisf_2s_36b()
266 isf_q[i] = add1(isf_q[i], vo_mult(MU, past_isfq[i])); in Dpisf_2s_46b()
296 isf_q[i] = add1(vo_mult(ALPHA, isfold[i]), vo_mult(ONE_ALPHA, ref_isf[i])); in Dpisf_2s_46b()
302 tmp = add1(ref_isf[i], vo_mult(past_isfq[i], MU)); /* predicted ISF */ in Dpisf_2s_46b()
359 isf_q[i] = add1(isf_q[i], vo_mult(MU, past_isfq[i])); in Dpisf_2s_36b()
390 isf_q[i] = add1(vo_mult(ALPHA, isfold[i]), vo_mult(ONE_ALPHA, ref_isf[i])); in Dpisf_2s_36b()
396 tmp = add1(ref_isf[i], vo_mult(past_isfq[i], MU)); /* predicted ISF */ in Dpisf_2s_36b()
Dvoicefac.c49 ener1 = vo_mult(ener1, tmp); in voice_factor()
60 tmp = vo_mult(tmp, tmp); in voice_factor()
61 ener2 = vo_mult(ener2, tmp); in voice_factor()
Dc4t64fx.c535 *p0 = vo_mult(*p0, psign[j]); in ACELP_4t64_fx()
692 ps = vo_mult(ps, ps); in ACELP_4t64_fx()
866 *cor_x++ = vo_mult(corr, sign[pos]) + (*p0++); in cor_h_vec_30()
868 *cor_y++ = vo_mult(corr, sign[pos-3]) + (*p3++); in cor_h_vec_30()
890 *cor_x++ = vo_mult(corr, sign[pos]) + (*p0++); in cor_h_vec_30()
892 *cor_y++ = vo_mult(corr, sign[pos-3]) + (*p3++); in cor_h_vec_30()
932 cor_x[i] = vo_mult(corr, sign[pos]) + (*p0++); in cor_h_vec_012()
934 cor_y[i] = vo_mult(corr, sign[pos + 1]) + (*p3++); in cor_h_vec_012()
950 cor_x[i+1] = vo_mult(corr, sign[pos]) + (*p0++); in cor_h_vec_012()
952 cor_y[i+1] = vo_mult(corr, sign[pos + 1]) + (*p3++); in cor_h_vec_012()
[all …]
DvoAMRWBEnc.c501 st->ada_w = vo_mult(st->ada_w, 29491); in coder()
629 tmp = vo_mult(tmp, 26214); /* tmp = L_tmp*0.8/256 */ in coder()
1244 fac = vo_mult(stab_fac, tmp); in coder()
1433 HF[i] = vo_mult(HF[i], tmp); in synthesis()
1462 gain2 = vo_mult(gain1, 20480); in synthesis()
1474 tmp = vo_mult(weight1, gain1); in synthesis()
1475 tmp = add1(tmp, vo_mult(weight2, gain2)); in synthesis()
1528 st->gain_alpha = vo_mult(st->gain_alpha, extract_h(L_tmp)); in synthesis()
1533 …HP_corr_gain = add1(vo_mult(HP_calc_gain, st->gain_alpha), vo_mult((32767 - st->gain_alpha), HP_es… in synthesis()
1539 dist = vo_mult((HP_corr_gain - HP_gain[i]), (HP_corr_gain - HP_gain[i])); in synthesis()
Dc2t64fx.c214 *p0 = vo_mult(*p0, psign[j]); in ACELP_2t64_fx()
241 sq = vo_mult(ps2, ps2); in ACELP_2t64_fx()
Dpitch_f4.c258 excf[i] = add1(vo_mult(tmp, h[i]), excf[i - 1]); in Norm_Corr()
260 excf[0] = vo_mult(tmp, h[0]); in Norm_Corr()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h49 #define vo_mult(a,b) (( a * b ) >> 15 ) macro