Home
last modified time | relevance | path

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

12

/frameworks/rs/toolkit/test/
DReferenceYuvToRgb.kt42 val offsetU = ((y shr 1) * sizeX + (x shr 1) * 2) in referenceYuvToRgb()
43 val offsetV = ((y shr 1) * sizeX + (x shr 1) * 2) in referenceYuvToRgb()
69 val offsetUV = (y shr 1) * strideUV + (x shr 1) in referenceYuvToRgb()
90 intY * 298 + intV * 409 + 128 shr 8, in yuvToRGBA4()
91 intY * 298 - intU * 100 - intV * 208 + 128 shr 8, in yuvToRGBA4()
92 intY * 298 + intU * 516 + 128 shr 8, in yuvToRGBA4()
DBufferUtils.kt124 operator fun times(other: Rgba) = Rgba(r * other.r, g * other.g, b * other.b, a * other.a) shr 8 in plus()
125 operator fun times(scalar: Int) = Rgba(r * scalar, g * scalar, b * scalar, a * scalar) shr 8 in plus()
129 infix fun shr(other: Int) = Rgba(r shr other, g shr other, b shr other, a shr other) in plus() method in com.example.testapp.Rgba
DReferenceHistogram.kt94 val index = (sum + 0x7f) shr 8 in referenceHistogramDot()
/frameworks/av/media/module/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/av/media/module/codecs/amrnb/common/include/
Dshr.h106 Word16 shr(Word16 var1, Word16 var2, Flag *pOverflow);
/frameworks/av/media/module/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/module/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/module/codecs/amrnb/common/
DAndroid.bp80 "src/shr.cpp",
/frameworks/av/media/module/codecs/amrwb/enc/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()
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp228 EGLContext shr = getContext(_env, share_context); in jni_eglCreateContext() local
230 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); in jni_eglCreateContext()
/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt47 val actualRadix = ((complex shr TypedValue.COMPLEX_RADIX_SHIFT) in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt454 pkg.versionCodeMajor = (versionCode shr 32).toInt() in createBasicAndroidPackage()

12