Searched refs:vo_mult (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | wb_vad.c | 61 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 …]
|
D | voicefac.c | 49 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()
|
D | qpisf_2s.c | 73 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()
|
D | c4t64fx.c | 539 *p0 = vo_mult(*p0, psign[j]); in ACELP_4t64_fx() 704 ps = vo_mult(ps, ps); in ACELP_4t64_fx() 949 cor_x[i] = vo_mult(corr, sign[pos]) + (*p0++); in cor_h_vec_012() 951 cor_y[i] = vo_mult(corr, sign[pos + 1]) + (*p3++); in cor_h_vec_012() 967 cor_x[i+1] = vo_mult(corr, sign[pos]) + (*p0++); in cor_h_vec_012() 969 cor_y[i+1] = vo_mult(corr, sign[pos + 1]) + (*p3++); in cor_h_vec_012() 1029 sq = vo_mult(ps2, ps2); in search_ixiy()
|
D | c2t64fx.c | 217 *p0 = vo_mult(*p0, psign[j]); in ACELP_2t64_fx() 244 sq = vo_mult(ps2, ps2); in ACELP_2t64_fx()
|
D | voAMRWBEnc.c | 503 st->ada_w = vo_mult(st->ada_w, 29491); in coder() 631 tmp = vo_mult(tmp, 26214); /* tmp = L_tmp*0.8/256 */ in coder() 1250 fac = vo_mult(stab_fac, tmp); in coder() 1439 HF[i] = vo_mult(HF[i], tmp); in synthesis() 1468 gain2 = vo_mult(gain1, 20480); in synthesis() 1480 tmp = vo_mult(weight1, gain1); in synthesis() 1481 tmp = add1(tmp, vo_mult(weight2, gain2)); in synthesis() 1534 st->gain_alpha = vo_mult(st->gain_alpha, extract_h(L_tmp)); in synthesis() 1539 …HP_corr_gain = add1(vo_mult(HP_calc_gain, st->gain_alpha), vo_mult((32767 - st->gain_alpha), HP_es… in synthesis() 1545 dist = vo_mult((HP_corr_gain - HP_gain[i]), (HP_corr_gain - HP_gain[i])); in synthesis()
|
D | pitch_f4.c | 261 excf[i] = add1(vo_mult(tmp, h[i]), excf[i - 1]); in Norm_Corr() 263 excf[0] = vo_mult(tmp, h[0]); in Norm_Corr()
|
/frameworks/av/media/codecs/amrwb/enc/inc/ |
D | basic_op.h | 49 #define vo_mult(a,b) (((a) * (b)) >> 15) macro
|