Home
last modified time | relevance | path

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

123456789

/frameworks/rs/driver/runtime/arch/
Dgeneric.c114 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() argument
115 return v1 > v2 ? v1 : v2; in fmax()
118 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument
120 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
121 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
125 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument
127 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
128 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
129 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
133 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() argument
[all …]
Dneon.ll266 define <4 x float> @_Z4fmaxDv4_fS_(<4 x float> %v1, <4 x float> %v2) nounwind readonly {
267 …%1 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %v2) nounwind r…
271 define <4 x float> @_Z4fmaxDv4_ff(<4 x float> %v1, float %v2) nounwind readonly {
273 …%2 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %1) nounwind re…
277 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly {
278 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
285 define <3 x float> @_Z4fmaxDv3_ff(<3 x float> %v1, float %v2) nounwind readonly {
286 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
293 define <2 x float> @_Z4fmaxDv2_fS_(<2 x float> %v1, <2 x float> %v2) nounwind readonly {
294 …%1 = tail call <2 x float> @llvm.arm.neon.vmaxs.v2f32(<2 x float> %v1, <2 x float> %v2) nounwind r…
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_math_agree.java149 private float min(float v1, float v2) { in min() argument
150 return v1 < v2 ? v1 : v2; in min()
152 private float[] min(float[] v1, float[] v2) { in min() argument
153 assert v1.length == v2.length; in min()
154 float[] rv = new float[v1.length]; in min()
155 for (int i = 0; i < v1.length; ++i) in min()
156 rv[i] = min(v1[i], v2[i]); in min()
159 private byte min(byte v1, byte v2) { in min() argument
160 return v1 < v2 ? v1 : v2; in min()
162 private byte[] min(byte[] v1, byte[] v2) { in min() argument
[all …]
DUT_bug_char.java40 private byte min(byte v1, byte v2) { in min() argument
41 return v1 < v2 ? v1 : v2; in min()
43 private byte[] min(byte[] v1, byte[] v2) { in min() argument
44 assert v1.length == v2.length; in min()
45 byte[] rv = new byte[v1.length]; in min()
46 for (int i = 0; i < v1.length; ++i) in min()
47 rv[i] = min(v1[i], v2[i]); in min()
Dmath_agree.rs58 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
61 rsDebug("v1", v1);
68 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
73 rsDebug("v1.x", v1.x);
74 rsDebug("v1.y", v1.y);
85 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
91 rsDebug("v1.x", v1.x);
92 rsDebug("v1.y", v1.y);
93 rsDebug("v1.z", v1.z);
108 static void fail_f4(float4 v1, float4 v2, float4 actual, float4 expected, char *op_name) {
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_math_agree.java149 private float min(float v1, float v2) { in min() argument
150 return v1 < v2 ? v1 : v2; in min()
152 private float[] min(float[] v1, float[] v2) { in min() argument
153 assert v1.length == v2.length; in min()
154 float[] rv = new float[v1.length]; in min()
155 for (int i = 0; i < v1.length; ++i) in min()
156 rv[i] = min(v1[i], v2[i]); in min()
159 private byte min(byte v1, byte v2) { in min() argument
160 return v1 < v2 ? v1 : v2; in min()
162 private byte[] min(byte[] v1, byte[] v2) { in min() argument
[all …]
DUT_bug_char.java40 private byte min(byte v1, byte v2) { in min() argument
41 return v1 < v2 ? v1 : v2; in min()
43 private byte[] min(byte[] v1, byte[] v2) { in min() argument
44 assert v1.length == v2.length; in min()
45 byte[] rv = new byte[v1.length]; in min()
46 for (int i = 0; i < v1.length; ++i) in min()
47 rv[i] = min(v1[i], v2[i]); in min()
Dmath_agree.rs58 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
61 rsDebug("v1", v1);
68 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
73 rsDebug("v1.x", v1.x);
74 rsDebug("v1.y", v1.y);
85 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
91 rsDebug("v1.x", v1.x);
92 rsDebug("v1.y", v1.y);
93 rsDebug("v1.z", v1.z);
108 static void fail_f4(float4 v1, float4 v2, float4 actual, float4 expected, char *op_name) {
[all …]
/frameworks/native/libs/ui/tests/
Dvec_test.cpp49 vec4 v1(1); in TEST_F() local
50 EXPECT_EQ(v1.x, 1); in TEST_F()
51 EXPECT_EQ(v1.y, 1); in TEST_F()
52 EXPECT_EQ(v1.z, 1); in TEST_F()
53 EXPECT_EQ(v1.w, 1); in TEST_F()
140 vec4 v1(10, 20, 30, 40); in TEST_F() local
142 v0 += v1; in TEST_F()
148 v0 -= v1; in TEST_F()
154 v0 *= v1; in TEST_F()
160 v0 /= v1; in TEST_F()
[all …]
/frameworks/rs/driver/runtime/
Drs_cl.c71 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
73 r.x = fnc(v1.x, v2.x); \
74 r.y = fnc(v1.y, v2.y); \
77 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \
79 r.x = fnc(v1.x, v2.x); \
80 r.y = fnc(v1.y, v2.y); \
81 r.z = fnc(v1.z, v2.z); \
84 extern float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2) { \
86 r.x = fnc(v1.x, v2.x); \
87 r.y = fnc(v1.y, v2.y); \
[all …]
/frameworks/native/opengl/libagl/
Dprimitives.cpp38 static void primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
40 vertex_t* v0, vertex_t* v1, vertex_t* v2);
43 static void primitive_nop_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1);
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);
[all …]
Darray.cpp565 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip() local
585 v1 = v++; in drawPrimitivesLineStrip()
586 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineStrip()
588 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineStrip()
589 v0 = v1; in drawPrimitivesLineStrip()
606 vertex_t* v1 = c->vc.vBuffer + 1; in drawPrimitivesLineLoop() local
607 c->arrays.compileElement(c, v1, first); in drawPrimitivesLineLoop()
608 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineLoop()
610 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineLoop()
655 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip() local
[all …]
/frameworks/base/libs/hwui/
DPatch.cpp124 float v1 = 0.0f; in createMesh() local
140 v1 += vOffset / bitmapHeight; in createMesh()
143 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, in createMesh()
148 v1 = stepY / bitmapHeight; in createMesh()
155 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, in createMesh()
171 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, in generateRow() argument
195 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow()
206 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow()
211 float u1, float v1, float u2, float v2, uint32_t& quadCount) { in generateQuad() argument
224 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.8f, %.8f", x1, y1, u1, v1); in generateQuad()
[all …]
DUvMapper.h101 void map(float& u1, float& v1, float& u2, float& v2) const { in map() argument
105 v1 = lerp(mMinV, mMaxV, v1); in map()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dartistic1.rs47 float4 v1 = rsUnpackColor8888(in);
55 v1 = mix(v1, v2, dist * 2.f);
56 v1 *= 1.f - pdist;
59 uchar4 out = rsPackColorTo8888(v1);
/frameworks/base/core/java/android/content/pm/
DXmlSerializerAndParser.java19 import org.xmlpull.v1.XmlSerializer;
20 import org.xmlpull.v1.XmlPullParser;
21 import org.xmlpull.v1.XmlPullParserException;
/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java49 float[] v1 = new float[9]; in testCopyConstructor() local
51 m1.getValues(v1); in testCopyConstructor()
55 assertEquals(v1[i], v2[i]); in testCopyConstructor()
/frameworks/rs/scriptc/
Drs_cl.rsh130 _RS_RUNTIME float2 __attribute__((const, overloadable)) fnc(float2 v1, float2 v2); \
131 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v1, float3 v2); \
132 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v1, float4 v2);
135 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float2 v1, float2 v2); \
136 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float3 v1, float3 v2); \
137 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float4 v1, float4 v2);
140 _RS_RUNTIME float2 __attribute__((const, overloadable)) fnc(float2 v1, float v2); \
141 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v1, float v2); \
142 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v1, float v2);
145 _RS_RUNTIME float2 __attribute__((const, overloadable)) fnc(float2 v1, int2 v2); \
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dconceal.cpp142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; in CopyVopMB() local
156 v1 = curr->vChan + chrstart; in CopyVopMB()
182 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB()
183 v1 += width_C; in CopyVopMB()
185 oscl_memcpy(v1, v2, B_SIZE); in CopyVopMB()
186 v1 += width_C; in CopyVopMB()
/frameworks/base/core/java/android/util/
DXml.java30 import org.xmlpull.v1.XmlPullParser;
31 import org.xmlpull.v1.XmlPullParserException;
32 import org.xmlpull.v1.XmlPullParserFactory;
33 import org.xmlpull.v1.XmlSerializer;
/frameworks/base/services/java/com/android/server/pm/
DPreferredActivity.java22 import org.xmlpull.v1.XmlPullParser;
23 import org.xmlpull.v1.XmlPullParserException;
24 import org.xmlpull.v1.XmlSerializer;
/frameworks/base/services/java/com/android/server/firewall/
DFilterFactory.java19 import org.xmlpull.v1.XmlPullParser;
20 import org.xmlpull.v1.XmlPullParserException;
DFilterList.java20 import org.xmlpull.v1.XmlPullParser;
21 import org.xmlpull.v1.XmlPullParserException;
DOrFilter.java21 import org.xmlpull.v1.XmlPullParser;
22 import org.xmlpull.v1.XmlPullParserException;
/frameworks/native/opengl/tests/angeles/
Ddemo.c169 static void vector3Sub(VECTOR3 *dest, VECTOR3 *v1, VECTOR3 *v2) in vector3Sub() argument
171 dest->x = v1->x - v2->x; in vector3Sub()
172 dest->y = v1->y - v2->y; in vector3Sub()
173 dest->z = v1->z - v2->z; in vector3Sub()
244 VECTOR3 v1, v2, n; in createSuperShape() local
258 vector3Sub(&v1, &pb, &pa); in createSuperShape()
267 n.x = v1.y * v2.z - v1.z * v2.y; in createSuperShape()
268 n.y = v1.z * v2.x - v1.x * v2.z; in createSuperShape()
269 n.z = v1.x * v2.y - v1.y * v2.x; in createSuperShape()

123456789