Home
last modified time | relevance | path

Searched refs:shr (Results 1 – 25 of 25) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dint_lpc.cpp450 temp = shr(lsp_old[i], 2, pOverflow); in Int_lpc_1to3()
452 temp2 = shr(lsp_new[i], 2, pOverflow); in Int_lpc_1to3()
467 temp = shr(lsp_new[i], 1, pOverflow); in Int_lpc_1to3()
468 temp2 = shr(lsp_old[i], 1, pOverflow); in Int_lpc_1to3()
481 temp = shr(lsp_new[i], 2, pOverflow); in Int_lpc_1to3()
483 temp2 = shr(lsp_old[i], 2, pOverflow); in Int_lpc_1to3()
586 temp = shr(lsp_old[i], 2, pOverflow); in Int_lpc_1to3_2()
590 temp2 = shr(lsp_new[i], 2, pOverflow); in Int_lpc_1to3_2()
604 temp = shr(lsp_new[i], 1, pOverflow); in Int_lpc_1to3_2()
605 temp2 = shr(lsp_old[i], 1, pOverflow); in Int_lpc_1to3_2()
[all …]
Dvad1.cpp189 temp1 = shr(in[4*i+0], 2, pOverflow); in first_filter_stage()
196 temp2 = shr(in[4*i+1], 2, pOverflow); in first_filter_stage()
207 temp2 = shr(in[4*i+2], 2, pOverflow); in first_filter_stage()
214 temp2 = shr(in[4*i+3], 2, pOverflow); in first_filter_stage()
323 *in0 = shr(temp0, 1, pOverflow); in filter5()
326 *in1 = shr(temp0, 1, pOverflow); in filter5()
421 *in1 = shr(temp1, 1, pOverflow); in filter3()
425 *in0 = shr(temp1, 1, pOverflow); in filter3()
821 temp = shr(num, 1, pOverflow); in update_cntrl()
824 stat_rat = add(stat_rat, shr(temp, sub(8, exp, pOverflow), pOverflow), pOverflow); in update_cntrl()
[all …]
Dshr_r.cpp212 var_out = shr(var1, var2, pOverflow); in shr_r()
Dshr.cpp205 Word16 shr(Word16 var1, Word16 var2, Flag *pOverflow) in shr() function
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DGEOLocationElement.java238 int shr = sbit - 7 + dbit;
241 if (shr >= 0) {
242 data[b0] = (byte) ((data[b0] & ~dmask) | ((value >>> shr) & dmask));
246 data[b0] = (byte) ((data[b0] & ~dmask) | ((value << -shr) & dmask));
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dshr.h106 Word16 shr(Word16 var1, Word16 var2, Flag *pOverflow);
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Dbasicop2.c270 var_out = shr (var1, (Word16)-var2); in shl()
328 Word16 shr (Word16 var1, Word16 var2) in shr() function
1106 var_out = shr (var1, var2); in shr_r()
Dbasic_op.h77 __inline Word16 shr (Word16 var1, Word16 var2);
79 Word16 shr (Word16 var1, Word16 var2);
361 var_out = shr (var1, (Word16)-var2); in shl()
383 __inline Word16 shr (Word16 var1, Word16 var2) in shr() function
1085 var_out = shr(var1, var2); in shr_r()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcalc_en.cpp371 pred_gain = div_s(shr(frac_en[0], 1, pOverflow), ltp_res_en); in calc_unfilt_energies()
694 *cod_gain_frac = div_s(shr(frac, 1, pOverflow), frac_coeff[2]); in calc_filt_energies()
Dhp_max.cpp323 *cor_hp_max = shr(cor_max, shift, pOverflow); /* Q15 */ in hp_max()
Dg_adapt.cpp505 result = shr(result, 1, pOverflow); in gain_adapt()
Dton_stab.cpp698 sum = shr(g_pitch, 3, pOverflow); /* Division by 8 */ in check_gp_clipping()
Dg_pitch.cpp448 gain = shr(gain, i, pOverflow); in G_pitch()
Dqgain795.cpp629 L_t0 = L_shr(L_t0, shr(tmp, 1, pOverflow), pOverflow); in MR795_gain_code_quant_mod()
671 L_tmp = L_shr(L_tmp, shr(exp, 1, pOverflow), pOverflow); in MR795_gain_code_quant_mod()
Dp_ol_wgh.cpp912 scal_sig[i] = shr(signal[i], 3, pOverflow); in Pitch_ol_wgh()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dex_ctrl.cpp167 prevEnergy = shr(add(exEnergyHist[7], exEnergyHist[8], pOverflow) , 1, pOverflow); in Ex_ctrl()
Dc_g_aver.cpp528 *(tmp + i) = shr(*(tmp + i), shift, pOverflow); in Cb_gain_average()
Ddtx_dec.cpp1295 log_pg = shr(sub(0, add(log_pg, shr(log_pg_m, 15 - 12, pOverflow), in dtx_dec()
/frameworks/av/media/libstagefright/codecs/amrnb/common/
DAndroid.mk54 src/shr.cpp \
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h71 static_vo Word16 shr (Word16 var1, Word16 var2); /* Short shift righ…
277 static_vo Word16 shr (Word16 var1, Word16 var2) in shr() function
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Ddtx.c207 st->log_en_index = shr(log_en, 6); in dtx_enc()
317 log_en = add(log_en, shr(log_en_m, 15 - 7)); in dtx_buffer()
Disp_az.c147 a[0] = shr(a[0], q); in Isp_Az()
Dwb_vad.c304 stat_rat = add1(stat_rat, shr(temp, (8 - exp))); in update_cntrl()
DvoAMRWBEnc.c555 exc2[i] = shr(exc[i], Q_new); in coder()
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp235 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext() local
237 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext()