Searched defs:v2 (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_bug_char.java40 private byte min(byte v1, byte v2) { argument
41 return v1 < v2 ? v1 : v2;
43 private byte[] min(byte[] v1, byte[] v2) { argument
44 assert v1.length == v2.length;
47 rv[i] = min(v1[i], v2[i]);
H A DUT_math_agree.java149 private float min(float v1, float v2) { argument
150 return v1 < v2 ? v1 : v2;
152 private float[] min(float[] v1, float[] v2) { argument
153 assert v1.length == v2.length;
156 rv[i] = min(v1[i], v2[i]);
159 private byte min(byte v1, byte v2) { argument
160 return v1 < v2 ? v1 : v2;
162 private byte[] min(byte[] v1, byte[] v2) { argument
169 min(short v1, short v2) argument
172 min(short[] v1, short[] v2) argument
179 min(int v1, int v2) argument
182 min(int[] v1, int[] v2) argument
189 min(long v1, long v2) argument
192 min(long[] v1, long[] v2) argument
202 max(float v1, float v2) argument
205 max(float[] v1, float[] v2) argument
212 max(byte v1, byte v2) argument
215 max(byte[] v1, byte[] v2) argument
222 max(short v1, short v2) argument
225 max(short[] v1, short[] v2) argument
232 max(int v1, int v2) argument
235 max(int[] v1, int[] v2) argument
242 max(long v1, long v2) argument
245 max(long[] v1, long[] v2) argument
255 fmin(float v1, float v2) argument
258 fmin(float[] v1, float[] v2) argument
261 fmin(float[] v1, float v2) argument
269 fmax(float v1, float v2) argument
272 fmax(float[] v1, float[] v2) argument
275 fmax(float[] v1, float v2) argument
[all...]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_bug_char.java40 private byte min(byte v1, byte v2) { argument
41 return v1 < v2 ? v1 : v2;
43 private byte[] min(byte[] v1, byte[] v2) { argument
44 assert v1.length == v2.length;
47 rv[i] = min(v1[i], v2[i]);
H A DUT_math_agree.java149 private float min(float v1, float v2) { argument
150 return v1 < v2 ? v1 : v2;
152 private float[] min(float[] v1, float[] v2) { argument
153 assert v1.length == v2.length;
156 rv[i] = min(v1[i], v2[i]);
159 private byte min(byte v1, byte v2) { argument
160 return v1 < v2 ? v1 : v2;
162 private byte[] min(byte[] v1, byte[] v2) { argument
169 min(short v1, short v2) argument
172 min(short[] v1, short[] v2) argument
179 min(int v1, int v2) argument
182 min(int[] v1, int[] v2) argument
189 min(long v1, long v2) argument
192 min(long[] v1, long[] v2) argument
202 max(float v1, float v2) argument
205 max(float[] v1, float[] v2) argument
212 max(byte v1, byte v2) argument
215 max(byte[] v1, byte[] v2) argument
222 max(short v1, short v2) argument
225 max(short[] v1, short[] v2) argument
232 max(int v1, int v2) argument
235 max(int[] v1, int[] v2) argument
242 max(long v1, long v2) argument
245 max(long[] v1, long[] v2) argument
255 fmin(float v1, float v2) argument
258 fmin(float[] v1, float[] v2) argument
261 fmin(float[] v1, float v2) argument
269 fmax(float v1, float v2) argument
272 fmax(float[] v1, float[] v2) argument
275 fmax(float[] v1, float v2) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; local
159 v2 = prevFrame + size + (size >> 2) + chrstart;
182 oscl_memcpy(v1, v2, B_SIZE);
184 v2 += width_C;
185 oscl_memcpy(v1, v2, B_SIZE);
187 v2 += width_C;
/frameworks/base/services/input/
H A DEventHub.cpp73 static inline int max(int v1, int v2) argument
75 return (v1 > v2) ? v1 : v2;
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DArrayMapTests.java111 private static boolean compare(Object v1, Object v2) { argument
113 return v2 == null;
115 if (v2 == null) {
118 return v1.equals(v2);
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c114 extern float __attribute__((overloadable)) fmax(float v1, float v2) { argument
115 return v1 > v2 ? v1 : v2;
118 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { argument
120 r.x = v1.x > v2.x ? v1.x : v2.x;
121 r.y = v1.y > v2.y ? v1.y : v2.y;
125 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { argument
127 r.x = v1.x > v2
133 fmax(float4 v1, float4 v2) argument
142 fmax(float2 v1, float v2) argument
149 fmax(float3 v1, float v2) argument
157 fmax(float4 v1, float v2) argument
166 fmin(float v1, float v2) argument
174 fmin(float2 v1, float2 v2) argument
181 fmin(float3 v1, float3 v2) argument
189 fmin(float4 v1, float4 v2) argument
198 fmin(float2 v1, float v2) argument
205 fmin(float3 v1, float v2) argument
213 fmin(float4 v1, float v2) argument
227 max(char v1, char v2) argument
231 max(char2 v1, char2 v2) argument
238 max(char3 v1, char3 v2) argument
246 max(char4 v1, char4 v2) argument
255 max(short v1, short v2) argument
259 max(short2 v1, short2 v2) argument
266 max(short3 v1, short3 v2) argument
274 max(short4 v1, short4 v2) argument
283 max(int v1, int v2) argument
287 max(int2 v1, int2 v2) argument
294 max(int3 v1, int3 v2) argument
302 max(int4 v1, int4 v2) argument
311 max(int64_t v1, int64_t v2) argument
315 max(long2 v1, long2 v2) argument
322 max(long3 v1, long3 v2) argument
330 max(long4 v1, long4 v2) argument
339 max(uchar v1, uchar v2) argument
343 max(uchar2 v1, uchar2 v2) argument
350 max(uchar3 v1, uchar3 v2) argument
358 max(uchar4 v1, uchar4 v2) argument
367 max(ushort v1, ushort v2) argument
371 max(ushort2 v1, ushort2 v2) argument
378 max(ushort3 v1, ushort3 v2) argument
386 max(ushort4 v1, ushort4 v2) argument
395 max(uint v1, uint v2) argument
399 max(uint2 v1, uint2 v2) argument
406 max(uint3 v1, uint3 v2) argument
414 max(uint4 v1, uint4 v2) argument
423 max(ulong v1, ulong v2) argument
427 max(ulong2 v1, ulong2 v2) argument
434 max(ulong3 v1, ulong3 v2) argument
442 max(ulong4 v1, ulong4 v2) argument
451 max(float v1, float v2) argument
455 max(float2 v1, float2 v2) argument
459 max(float2 v1, float v2) argument
463 max(float3 v1, float3 v2) argument
467 max(float3 v1, float v2) argument
471 max(float4 v1, float4 v2) argument
475 max(float4 v1, float v2) argument
484 min(int8_t v1, int8_t v2) argument
488 min(char2 v1, char2 v2) argument
495 min(char3 v1, char3 v2) argument
503 min(char4 v1, char4 v2) argument
512 min(int16_t v1, int16_t v2) argument
516 min(short2 v1, short2 v2) argument
523 min(short3 v1, short3 v2) argument
531 min(short4 v1, short4 v2) argument
540 min(int32_t v1, int32_t v2) argument
544 min(int2 v1, int2 v2) argument
551 min(int3 v1, int3 v2) argument
559 min(int4 v1, int4 v2) argument
568 min(int64_t v1, int64_t v2) argument
572 min(long2 v1, long2 v2) argument
579 min(long3 v1, long3 v2) argument
587 min(long4 v1, long4 v2) argument
596 min(uchar v1, uchar v2) argument
600 min(uchar2 v1, uchar2 v2) argument
607 min(uchar3 v1, uchar3 v2) argument
615 min(uchar4 v1, uchar4 v2) argument
624 min(ushort v1, ushort v2) argument
628 min(ushort2 v1, ushort2 v2) argument
635 min(ushort3 v1, ushort3 v2) argument
643 min(ushort4 v1, ushort4 v2) argument
652 min(uint v1, uint v2) argument
656 min(uint2 v1, uint2 v2) argument
663 min(uint3 v1, uint3 v2) argument
671 min(uint4 v1, uint4 v2) argument
680 min(ulong v1, ulong v2) argument
684 min(ulong2 v1, ulong2 v2) argument
691 min(ulong3 v1, ulong3 v2) argument
699 min(ulong4 v1, ulong4 v2) argument
708 min(float v1, float v2) argument
712 min(float2 v1, float2 v2) argument
716 min(float2 v1, float v2) argument
720 min(float3 v1, float3 v2) argument
724 min(float3 v1, float v2) argument
728 min(float4 v1, float4 v2) argument
732 min(float4 v1, float v2) argument
[all...]
/frameworks/base/libs/hwui/
H A DPatch.cpp139 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight; local
143 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX,
171 float y1, float y2, float v1, float v2, float stretchX, float rescaleX,
195 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount);
206 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount);
211 float u1, float v1, float u2, float v2, uint32_t& quadCount) {
225 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.8f, %.8f", x2, y2, u2, v2);
236 mUvMapper.map(u1, v1, u2, v2);
240 TextureVertex::set(vertex++, x1, y2, u1, v2);
170 generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, float y1, float y2, float v1, float v2, float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) argument
210 generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, float u1, float v1, float u2, float v2, uint32_t& quadCount) argument
[all...]
H A DLayerRenderer.cpp174 const float v2 = (height - r->bottom) * texY; local
178 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2);
179 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
H A DFontRenderer.cpp537 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3,
544 mCurrentCacheTexture->addQuad(x1, y1, u1, v1, x2, y2, u2, v2,
549 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3,
557 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture);
572 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3,
575 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture);
536 appendMeshQuadNoClip(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
548 appendMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
571 appendRotatedMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp73 const float v2 = A[2][i]; local
74 D[0][i] = v0*B[0][0] + v1*B[0][1] + v2*B[0][2];
75 D[1][i] = v0*B[1][0] + v1*B[1][1] + v2*B[1][2];
76 D[2][i] = v0*B[2][0] + v1*B[2][1] + v2*B[2][2];
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic3DLUT.cpp137 uint4 v2 = (v + 0x7f) >> (int4)8; local
139 uchar4 ret = convert_uchar4(v2);
156 ALOGE("v2 %08x %08x %08x %08x", v2.x, v2.y, v2.z, v2.w);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h158 float x2, float y2, float u2, float v2,
162 TextureVertex::set(mesh++, x2, y2, u2, v2);
157 addQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4) argument
H A DFont.cpp175 float v2 = glyph->mBitmapMaxV; local
177 mState->appendMeshQuad(nPenX, nPenY, u1, v2,
178 nPenX + width, nPenY, u2, v2,
201 float v2 = glyph->mBitmapMaxV; local
204 p[0].x(), p[0].y(), u1, v2,
205 p[1].x(), p[1].y(), u2, v2,
256 const float v2 = glyph->mBitmapMaxV; local
260 position->y() + destination[0].y(), u1, v2,
262 position->y() + destination[1].y(), u2, v2,
/frameworks/native/include/ui/
H A Dmat4.h113 tmat44(const tvec4<A>& v0, const tvec4<B>& v1, const tvec4<C>& v2, const tvec4<D>& v3);
212 tmat44<T>::tmat44(const tvec4<A>& v0, const tvec4<B>& v1, const tvec4<C>& v2, const tvec4<D>& v3) { argument
215 mValue[2] = v2;
/frameworks/rs/driver/runtime/
H A Drs_cl.c12 extern float __attribute__((overloadable)) fmin(float v, float v2);
13 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2);
14 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2);
15 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2);
17 extern float __attribute__((overloadable)) fmax(float v, float v2);
18 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2);
19 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2);
20 extern float4 __attribute__((overloadable)) fmax(float4 v, float v2);
71 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
73 r.x = fnc(v1.x, v2
1156 float2 v2 = {native_log2(v.x), native_log2(v.y)}; local
1160 float3 v2 = {native_log2(v.x), native_log2(v.y), native_log2(v.z)}; local
1164 float4 v2 = {native_log2(v.x), native_log2(v.y), native_log2(v.z), native_log2(v.w)}; local
1196 float v2 = native_log2(v); local
1201 float2 v2 = native_log2(v); local
1206 float3 v2 = native_log2(v); local
1211 float4 v2 = native_log2(v); local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A DarmCOMM_s.h101 M_VARIANTS $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
106 _M_VARIANT $v2
153 _M_TRY $cpu, $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
159 _M_TRY1 $v2
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A DarmCOMM_s.h101 M_VARIANTS $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
106 _M_VARIANT $v2
156 _M_TRY $cpu, $v0,$v1,$v2,$v3,$v4,$v5,$v6,$v7
162 _M_TRY1 $v2
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp510 const uint16_t v2 = chars[(*iter)++]; local
511 if (!HB_IsLowSurrogate(v2)) {
517 return HB_SurrogateToUcs4(v, v2);
537 const uint16_t v2 = chars[(*iter)--]; local
538 if (!HB_IsHighSurrogate(v2)) {
544 return HB_SurrogateToUcs4(v2, v);
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp419 static int pid_compare(const void* v1, const void* v2) argument
421 //ALOGI("Compare %d vs %d\n", *((const jint*)v1), *((const jint*)v2));
422 return *((const jint*)v1) - *((const jint*)v2);
/frameworks/native/opengl/libagl/
H A Darray.cpp655 vertex_t *v, *v0, *v1, *v2;
679 v2 = v++;
680 const uint32_t cc = v0->flags & v1->flags & v2->flags;
682 c->prims.renderTriangle(c, v0, v1, v2);
683 swap(((winding^=1) ? v1 : v0), v2);
868 vertex_t* v2; local
879 v2 = fetch_vertex(c, read_index(type, indices));
880 const uint32_t cc = v0->flags & v1->flags & v2->flags;
882 c->prims.renderTriangle(c, v0, v1, v2);
885 consumed = v2;
915 vertex_t* const v2 = fetch_vertex(c, *p++); local
929 vertex_t* const v2 = fetch_vertex(c, *p++); local
[all...]
H A Dprimitives.cpp40 vertex_t* v0, vertex_t* v1, vertex_t* v2);
45 vertex_t* v0, vertex_t* v1, vertex_t* v2);
48 vertex_t* v0, vertex_t* v1, vertex_t* v2);
51 vertex_t* v0, vertex_t* v1, vertex_t* v2);
54 vertex_t* v0, vertex_t* v1, vertex_t* v2);
57 vertex_t* v0, vertex_t* v1, vertex_t* v2);
60 vertex_t* v0, vertex_t* v1, vertex_t* v2);
63 vertex_t* v0, vertex_t* v1, vertex_t* v2);
74 vertex_t* v0, vertex_t* v1, vertex_t* v2)
88 if(!(v2
73 lightTriangleDarkSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
96 lightTriangleDarkFlat(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
109 lightTriangleSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
120 lightTriangleFlat(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
159 lightTriangleDarkSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
167 lightTriangleDarkFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
177 lightTriangleSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
185 lightTriangleFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
236 initTriangle( vertex_t const* v0, vertex_t const* v1, vertex_t const* v2) argument
390 fetch_texcoord_impl(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
435 fetch_texcoord(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
570 primitive_nop_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
574 primitive_clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
614 triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
631 lerp_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
715 lerp_texcoords(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
759 lerp_texcoords_w(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
826 cull_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
850 clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument
[all...]
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c169 static void vector3Sub(VECTOR3 *dest, VECTOR3 *v1, VECTOR3 *v2) argument
171 dest->x = v1->x - v2->x;
172 dest->y = v1->y - v2->y;
173 dest->z = v1->z - v2->z;
244 VECTOR3 v1, v2, n; local
259 vector3Sub(&v2, &pd, &pa);
264 * v2.x v2.y v2.z | v2
[all...]
/frameworks/rs/
H A DrsFont.cpp102 float v2 = glyph->mBitmapMaxV; local
107 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2,
108 nPenX + width, nPenY, 0, u2, v2,
671 float u2, float v2,
701 (*currentPos++) = v2;
668 appendMeshQuad(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument

Completed in 1097 milliseconds

12