Home
last modified time | relevance | path

Searched refs:shl_int16 (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/module/codecs/amrwb/dec/src/
Dhoming_amr_wb_dec.cpp290 param[i] = shl_int16(param[i], shift); in dhf_test()
319 param[31] = shl_int16(tmp, 7); in dhf_test()
336 tmp = shl_int16(tmp, shift); in dhf_test()
Ddec_alg_codebook.cpp150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */ in dec_2p_2N1()
156 tmp = shl_int16(N, 1); in dec_2p_2N1()
200 tmp = sub_int16(shl_int16(N, 1), 1); /* mask = ((1<<((2*N)-1))-1); */ in dec_3p_3N1()
326 j = add_int16(offset, shl_int16(1, n_1)); /* j = offset + (1 << n_1); */ in dec_5p_5N()
Dpvamrwbdecoder.cpp544 stab_fac = shl_int16(tmp, 1); /* Q14 -> Q15 with saturation */ in pvDecoder_AmrWb()
599 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 1)); in pvDecoder_AmrWb()
600 T0_frac = shl_int16(T0_frac, 1); in pvDecoder_AmrWb()
615 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 2)); in pvDecoder_AmrWb()
621 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_FR2), 1)); in pvDecoder_AmrWb()
622 T0_frac = shl_int16(T0_frac, 1); in pvDecoder_AmrWb()
655 T0_frac = sub_int16(index, shl_int16(T0 - T0_min, 1)); in pvDecoder_AmrWb()
656 T0_frac = shl_int16(T0_frac, 1); in pvDecoder_AmrWb()
663 T0_frac = sub_int16(index, shl_int16(T0 - T0_min, 2)); in pvDecoder_AmrWb()
916 pit_sharp = shl_int16(gain_pit, 1); in pvDecoder_AmrWb()
Ddtx_decoder_amr_wb.cpp294 st->true_sid_period_inv = div_16by16(1 << 10, shl_int16(tmp_int_length, 10)); in dtx_dec_amr_wb()
316 st->log_en = shl_int16(log_en_index, 15 - 6); in dtx_dec_amr_wb()
340 int_fac = shl_int16(st->since_last_sid, 10); /* Q10 */ in dtx_dec_amr_wb()
349 int_fac = shl_int16(int_fac, 4); /* Q10 -> Q14 */ in dtx_dec_amr_wb()
367 isf[i] = shl_int16(isf[i], 1); /* Q14 -> Q15 */ in dtx_dec_amr_wb()
422 exc2[i] = shl_int16(tmp, exp); in dtx_dec_amr_wb()
437 st->true_sid_period_inv = div_16by16(1 << 10, shl_int16(tmp_int_length, 10)); in dtx_dec_amr_wb()
493 log_en = shl_int16(log_en_e, 7); /* Q7 */ in dtx_dec_amr_wb_activity_update()
Disf_extrapolation.cpp156 IsfDiff[i] = shl_int16(IsfDiff[i], exp); in isf_extrapolation()
158 mean = shl_int16(mean, exp); in isf_extrapolation()
237 IsfDiff[i - (M - 1)] = shl_int16(tmp, exp); in isf_extrapolation()
Disp_isf.cpp161 isp[m - 1] = shl_int16(isf[m - 1], 1); in Isf_isp()
Dpvamrwbdecoder_basic_op.h114 __inline int16 shl_int16(int16 var1, int16 var2) in shl_int16() function
Dvoice_factor.cpp142 tmp = shl_int16(gain_code, exp); in voice_factor()
Dphase_dispersion.cpp190 if (sub_int16(gain_code, *prev_gain_code) > shl_int16(*prev_gain_code, 1)) in phase_dispersion()
Dsynthesis_amr_wb.cpp318 gain2 = shl_int16(gain2, 1); in synthesis_amr_wb()