Home
last modified time | relevance | path

Searched refs:g1 (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java189 firstBox.g1 = MAX_INDEX; in createBoxes()
246 mMoments[getIndex(cube.r1, cube.g1, cube.b1)] in variance()
247 - mMoments[getIndex(cube.r1, cube.g1, cube.b0)] in variance()
250 - mMoments[getIndex(cube.r0, cube.g1, cube.b1)] in variance()
251 + mMoments[getIndex(cube.r0, cube.g1, cube.b0)] in variance()
270 maximize(one, Direction.GREEN, one.g0 + 1, one.g1, wholeR, wholeG, wholeB, wholeW); in cut()
289 two.g1 = one.g1; in cut()
300 one.g1 = maxGResult.mCutLocation; in cut()
302 two.g0 = one.g1; in cut()
315 one.vol = (one.r1 - one.r0) * (one.g1 - one.g0) * (one.b1 - one.b0); in cut()
[all …]
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dpre_big.cpp173 const Word16 *g1; /* Pointer to correct gammma1 vector */ in pre_big() local
179 g1 = gamma1; in pre_big()
183 g1 = gamma1_12k2; in pre_big()
198 Weight_Ai(&A_t[aOffset], g1, Ap1); in pre_big()
Dspreproc.cpp192 const Word16 *g1; /* Pointer to correct gammma1 vector */ in subframePreProc() local
197 g1 = gamma1_12k2; in subframePreProc()
201 g1 = gamma1; in subframePreProc()
205 Weight_Ai(A, g1, Ap1); in subframePreProc()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dsimplex2d.agsl51 // gradients (g0, g1, g2).
52 float kernel_summation(vec2 v0, vec2 v1, vec2 v2, vec2 g0, vec2 g1, vec2 g2) {
56 vec3 n = w * vec3(dot(v0, g0), dot(v1, g1), dot(v2, g2));
93 vec2 g1 = ihash2d(i+walk);
98 g1 += getVectorFromAngle(rot * time * hash1d(i+walk));
101 return kernel_summation(v0, v1, v2, g0, g1, g2);
122 vec2 g1 = ihash2d(i+walk);
125 return kernel_summation(v0, v1, v2, g0, g1, g2);
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp203 int r1, r2, g1, g2, b1, b2; in etc1_decode_block() local
211 g1 = convert5To8(gBase); in etc1_decode_block()
219 g1 = convert4To8(high >> 20); in etc1_decode_block()
229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); in etc1_decode_block()
379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks in etc_encodeBaseColors() local
389 g1 = convert5To8(g51); in etc_encodeBaseColors()
412 g1 = convert4To8(g41); in etc_encodeBaseColors()
421 pBaseColors[1] = g1; in etc_encodeBaseColors()
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp809 signed g1 = (tmp1 + v_g + u_g) / 256; in convertCbYCrY() local
819 | ((kAdjustedClip[g1] >> 2) << 5) in convertCbYCrY()
1124 signed r1, signed g1, signed b1, in getWriteToDst()
1128 | ((((uint8_t *)kAdjustedClip)[g1] >> 2) << 5) in getWriteToDst()
1146 signed r1, signed g1, signed b1, in getWriteToDst() argument
1150 | (((uint8_t *)kAdjustedClip)[g1] << 8) in getWriteToDst()
1166 signed r1, signed g1, signed b1, in getWriteToDst() argument
1170 | (((uint8_t *)kAdjustedClip)[g1] << 8) in getWriteToDst()
1186 signed r1, signed g1, signed b1, in getWriteToDst() argument
1190 | (((uint16_t *)kAdjustedClip)[g1] << 10) in getWriteToDst()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java223 int g1 = Color.green(c1); in testSetPixelsWithNonOpaqueAlpha() local
225 assertTrue("green", Math.abs(gg - g1) <= tolerance); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/rs/toolkit/
Dx86.cpp381 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local
399 g1 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(1, 1, 1, 1)); in rsdIntrinsicBlurHFU1_K()
400 pf = _mm_add_ps(pf, _mm_mul_ps(g1, _mm_alignr_epi8(p1, p0, 4))); in rsdIntrinsicBlurHFU1_K()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp378 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local
396 g1 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(1, 1, 1, 1)); in rsdIntrinsicBlurHFU1_K()
397 pf = _mm_add_ps(pf, _mm_mul_ps(g1, _mm_alignr_epi8(p1, p0, 4))); in rsdIntrinsicBlurHFU1_K()
/frameworks/base/core/res/geoid_map_assets/
Dgeoid-height-disk-tile-5.textpb3 …000\000\000\000\000\000\000\000\000\000\000\357\351\031\000\000\000\000\266g1\001\000\000\000\000\…
/frameworks/base/services/tests/mockingservicestests/res/raw/
Dbackup_telephony_no_password127 …S��gd:��9==e�F�+P9,���:��w�\�߾z�5���E�#��.����%7rO�L��:�bl��n̩q;E7�8g1�Va �+�o5V\-�) �G}��…
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Daudio191 …S�GA9���@~����^��!�u��L�*��!ą��E��j��f��%ԤN \�;�O�A�_�A�����{&.g1��O�F�����q�\2OQ>��…
329 R��=)Ȏ0O�(H^E��c*�u��Z��g1#� }�J�#g߀� *
585 R��=)Ȏ0O�(H^E��c*�u��Z��g1#� }�J�#g߀� *
Dmaster_playlist213 …S�GA9���@~����^��!�u��L�*��!ą��E��j��f��%ԤN \�;�O�A�_�A�����{&.g1��O�F�����q�\2OQ>��…
621 R��=)Ȏ0O�(H^E��c*�u��Z��g1#� }�J�#g߀� *