Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/amrwb/dec/src/
Disf_extrapolation.cpp131 IsfDiff[i - 1] = sub_int16(HfIsf[i], HfIsf[i - 1]); in isf_extrapolation()
161 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation()
162 tmp3 = sub_int16(IsfDiff[i - 2], mean); in isf_extrapolation()
171 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation()
172 tmp3 = sub_int16(IsfDiff[i - 3], mean); in isf_extrapolation()
181 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation()
182 tmp3 = sub_int16(IsfDiff[i - 4], mean); in isf_extrapolation()
208 tmp = sub_int16(HfIsf[i - 1 - MaxCorr], HfIsf[i - 2 - MaxCorr]); in isf_extrapolation()
214 tmp = sub_int16(HfIsf[2], tmp); in isf_extrapolation()
223 tmp = sub_int16(tmp, HfIsf[M - 2]); in isf_extrapolation()
[all …]
Dpvamrwbdecoder.cpp452 L_tmp = mul_16by16_to_int32(isf_tmp[i], sub_int16(32767, interpol_frac[j])); in pvDecoder_AmrWb()
537 tmp = sub_int16(isf[i], st->isfold[i]); in pvDecoder_AmrWb()
599 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 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()
655 T0_frac = sub_int16(index, shl_int16(T0 - T0_min, 1)); in pvDecoder_AmrWb()
663 T0_frac = sub_int16(index, shl_int16(T0 - T0_min, 2)); in pvDecoder_AmrWb()
1096 L_tmp = mul_16by16_to_int32(isf_tmp[i], sub_int16(32767, interpol_frac[j])); in pvDecoder_AmrWb()
Dlagconceal.cpp186 lagDif = sub_int16(maxLag, minLag); in lagconceal()
214 lagDif = sub_int16(lag_hist2[4], lag_hist2[2]); in lagconceal()
300 lagDif = sub_int16(lag_hist2[4], lag_hist2[2]); in lagconceal()
Dinterpolate_isp.cpp129 fac_old = add_int16(sub_int16(32767, fac_new), 1); /* 1.0 - fac_new */ in interpolate_isp()
Dvoice_factor.cpp131 exp1 = sub_int16(exp1, Q_exc << 1); in voice_factor()
Dqpisf_2s.cpp211 past_isfq[i] = sub_int16(isf_q[i], tmp); in Dpisf_2s_46b()
306 past_isfq[i] = sub_int16(isf_q[i], tmp); in Dpisf_2s_36b()
Ddec_alg_codebook.cpp150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<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()
Ddtx_decoder_amr_wb.cpp790 tmp = sub_int16(isf_old_tx[st->hist_ptr * M + j], isf_old_tx[ptr * M + j]); in find_frame_indices()
836 indices[i] = sub_int16(st->hist_ptr, indices[i]); in find_frame_indices()
903 tmp = sub_int16(st->log_en_hist[i], mean); in dithering_control()
965 temp1 = sub_int16(temp, isf[i - 1]); in CN_dithering()
Dphase_dispersion.cpp190 if (sub_int16(gain_code, *prev_gain_code) > shl_int16(*prev_gain_code, 1)) in phase_dispersion()
Dpvamrwbdecoder_basic_op_cequivalent.h127 __inline int16 sub_int16(int16 var1, int16 var2) in sub_int16() function
Dpvamrwbdecoder_basic_op_armv5.h79 __inline int16 sub_int16(int16 var1, int16 var2) in sub_int16() function
Dpvamrwbdecoder_basic_op_gcc_armv5.h59 static inline int16 sub_int16(int16 var1, int16 var2) in sub_int16() function