Home
last modified time | relevance | path

Searched refs:g0 (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java248 - mMoments[getIndex(cube.r1, cube.g0, cube.b1)] in variance()
249 + mMoments[getIndex(cube.r1, cube.g0, cube.b0)] in variance()
252 + mMoments[getIndex(cube.r0, cube.g0, cube.b1)] in variance()
253 - mMoments[getIndex(cube.r0, cube.g0, cube.b0)]; in variance()
270 maximize(one, Direction.GREEN, one.g0 + 1, one.g1, wholeR, wholeG, wholeB, wholeW); in cut()
296 two.g0 = one.g0; in cut()
302 two.g0 = one.g1; in cut()
308 two.g0 = one.g0; in cut()
315 one.vol = (one.r1 - one.r0) * (one.g1 - one.g0) * (one.b1 - one.b0); in cut()
316 two.vol = (two.r1 - two.r0) * (two.g1 - two.g0) * (two.b1 - two.b0); in cut()
[all …]
/frameworks/av/media/codecs/amrnb/dec/src/
Dagc.cpp752 Word16 g0; in agc() local
778 g0 = 0; in agc()
811 g0 = (Word16)(((Word32) i * temp) >> 15); in agc()
828 gain += g0; in agc()
975 Word16 g0; in agc2() local
996 g0 = 0; in agc2()
1043 g0 = pv_round(L_temp, pOverflow); in agc2()
1050 L_temp = L_mult(sig_out[i], g0, pOverflow); in agc2()
/frameworks/av/media/codecs/amrwb/dec/src/
Dagc2_amr_wb.cpp125 int16 gain_in, gain_out, g0; in agc2_amr_wb() local
161 g0 = 0; in agc2_amr_wb()
178 g0 = amr_wb_round(shl_int32(s, 9)); in agc2_amr_wb()
184 sig_out[i] = extract_h(shl_int32(fxp_mul_16by16(sig_out[i], g0), 3)); in agc2_amr_wb()
/frameworks/compile/slang/lit-tests/P_ref_count/
Dfunc_params.rscript38 static int g0;
50 g0 = a0;
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp378 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local
383 g0 = _mm_load_ss((const float *)gptr); in rsdIntrinsicBlurHFU1_K()
384 g0 = _mm_shuffle_ps(g0, g0, _MM_SHUFFLE(0, 0, 0, 0)); in rsdIntrinsicBlurHFU1_K()
387 pf = _mm_mul_ps(g0, _mm_loadu_ps(pi)); in rsdIntrinsicBlurHFU1_K()
394 g0 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(0, 0, 0, 0)); in rsdIntrinsicBlurHFU1_K()
395 pf = _mm_add_ps(pf, _mm_mul_ps(g0, p0)); in rsdIntrinsicBlurHFU1_K()
/frameworks/rs/toolkit/
Dx86.cpp381 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local
386 g0 = _mm_load_ss((const float *)gptr); in rsdIntrinsicBlurHFU1_K()
387 g0 = _mm_shuffle_ps(g0, g0, _MM_SHUFFLE(0, 0, 0, 0)); in rsdIntrinsicBlurHFU1_K()
390 pf = _mm_mul_ps(g0, _mm_loadu_ps(pi)); in rsdIntrinsicBlurHFU1_K()
397 g0 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(0, 0, 0, 0)); in rsdIntrinsicBlurHFU1_K()
398 pf = _mm_add_ps(pf, _mm_mul_ps(g0, p0)); in rsdIntrinsicBlurHFU1_K()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java222 int g0 = Color.green(c0); in testSetPixelsWithNonOpaqueAlpha() local
224 int gg = computePrePostMul(a0, g0); in testSetPixelsWithNonOpaqueAlpha()