Home
last modified time | relevance | path

Searched refs:mult_int16 (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/module/codecs/amrwb/dec/src/
Dsynthesis_amr_wb.cpp317 gain2 = mult_int16(gain1, 20480); in synthesis_amr_wb()
351 *(pt_tmp) = mult_int16(*(pt_tmp), HF_corr_gain) << 1; in synthesis_amr_wb()
353 *(pt_tmp) = mult_int16(*(pt_tmp), HF_corr_gain) << 1; in synthesis_amr_wb()
355 *(pt_tmp) = mult_int16(*(pt_tmp), HF_corr_gain) << 1; in synthesis_amr_wb()
357 *(pt_tmp) = mult_int16(*(pt_tmp), HF_corr_gain) << 1; in synthesis_amr_wb()
368 *(pt_tmp) = mult_int16(*(pt_tmp), tmp); in synthesis_amr_wb()
370 *(pt_tmp) = mult_int16(*(pt_tmp), tmp); in synthesis_amr_wb()
372 *(pt_tmp) = mult_int16(*(pt_tmp), tmp); in synthesis_amr_wb()
374 *(pt_tmp) = mult_int16(*(pt_tmp), tmp); in synthesis_amr_wb()
Dqpisf_2s.cpp203 isf_q[i] = add_int16(mult_int16(ALPHA, isfold[i]), mult_int16(ONE_ALPHA, ref_isf[i])); in Dpisf_2s_46b()
210 tmp = add_int16(ref_isf[i], mult_int16(past_isfq[i], MU)); /* predicted ISF */ in Dpisf_2s_46b()
265 isf_q[i] = add_int16(isf_q[i], mult_int16(MU, past_isfq[i])); in Dpisf_2s_36b()
298 isf_q[i] = add_int16(mult_int16(ALPHA, isfold[i]), mult_int16(ONE_ALPHA, ref_isf[i])); in Dpisf_2s_36b()
305 tmp = add_int16(ref_isf[i], mult_int16(past_isfq[i], MU)); /* predicted ISF */ in Dpisf_2s_36b()
Dvoice_factor.cpp136 ener1 = mult_int16(ener1, tmp); in voice_factor()
143 tmp = mult_int16(tmp, tmp); in voice_factor()
144 ener2 = mult_int16(ener2, tmp); in voice_factor()
Dlagconceal.cpp225 D2 = mult_int16(tmp, D); in lagconceal()
227 *T0 = add_int16(mult_int16(tmp, ONE_PER_3), D2); in lagconceal()
251 meanLag = mult_int16(meanLag, ONE_PER_LTPHIST); in lagconceal()
310 D2 = mult_int16(tmp, D); in lagconceal()
312 *T0 = add_int16(mult_int16(tmp, ONE_PER_3), D2); in lagconceal()
Ddec_gain2_amr_wb.cpp230 *gain_pit = mult_int16(pdown_unusable[state], *past_gain_pit); in dec_gain2_amr_wb()
234 *gain_pit = mult_int16(pdown_usable[state], *past_gain_pit); in dec_gain2_amr_wb()
247 *past_gain_code = mult_int16(cdown_unusable[state], tmp); in dec_gain2_amr_wb()
251 *past_gain_code = mult_int16(cdown_usable[state], tmp); in dec_gain2_amr_wb()
Disf_extrapolation.cpp215 tmp = mult_int16(tmp, 5461); in isf_extrapolation()
236 tmp = mult_int16(sub_int16(HfIsf[i], HfIsf[i - 1]), coeff); in isf_extrapolation()
266 HfIsf[i] = mult_int16(HfIsf[i], 26214); /* Scale the ISF vector correctly for 16000 kHz */ in isf_extrapolation()
Ddtx_decoder_amr_wb.cpp319 st->log_en = mult_int16(st->log_en, 12483); in dtx_dec_amr_wb()
341 int_fac = mult_int16(int_fac, st->true_sid_period_inv); /* Q10 * Q15 -> Q10 */ in dtx_dec_amr_wb()
355 isf[i] = mult_int16(int_fac, st->isf[i]);/* Q14 * Q15 -> Q14 */ in dtx_dec_amr_wb()
366 isf[i] = add_int16(isf[i], mult_int16(int_fac, st->isf_old[i])); in dtx_dec_amr_wb()
412 gain = mult_int16(level, gain); /* gain in Q15 */ in dtx_dec_amr_wb()
421 tmp = mult_int16(exc2[i], gain); /* Q0 * Q15 */ in dtx_dec_amr_wb()
Dpvamrwb_math_op.cpp621 L_32 = mac_16by16_to_int32(L_32, mult_int16(hi1, lo2), 1); in mpy_dpf_32()
622 L_32 = mac_16by16_to_int32(L_32, mult_int16(lo1, hi2), 1); in mpy_dpf_32()
Dpvamrwbdecoder_basic_op_cequivalent.h165 __inline int16 mult_int16(int16 var1, int16 var2) in mult_int16() function
Dpvamrwbdecoder_basic_op_armv5.h157 __inline int16 mult_int16(int16 var1, int16 var2) in mult_int16() function
Dpvamrwbdecoder_basic_op_gcc_armv5.h210 static inline int16 mult_int16(int16 var1, int16 var2) in mult_int16() function
Dpvamrwbdecoder.cpp541 tmp = mult_int16(tmp, 26214); /* tmp = L_tmp*0.8/256 */ in pvDecoder_AmrWb()
922 tmp = mult_int16(exc2[i], pit_sharp); in pvDecoder_AmrWb()
1006 fac = mult_int16(stab_fac, tmp); in pvDecoder_AmrWb()