Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/rs/driver/runtime/arch/
Dgeneric.c118 extern float __attribute__((overloadable)) fmax(float v1, float v2) { in fmax() argument
119 return v1 > v2 ? v1 : v2; in fmax()
122 extern float2 __attribute__((overloadable)) fmax(float2 v1, float2 v2) { in fmax() argument
124 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
125 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
129 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() argument
131 r.x = v1.x > v2.x ? v1.x : v2.x; in fmax()
132 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax()
133 r.z = v1.z > v2.z ? v1.z : v2.z; in fmax()
137 extern float4 __attribute__((overloadable)) fmax(float4 v1, float4 v2) { in fmax() argument
[all …]
Dasimd.ll268 define <4 x float> @_Z4fmaxDv4_fS_(<4 x float> %v1, <4 x float> %v2) nounwind readonly {
269 …%1 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %v1, <4 x float> %v2) nounwin…
273 define <4 x float> @_Z4fmaxDv4_ff(<4 x float> %v1, float %v2) nounwind readonly {
275 …%2 = tail call <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float> %v1, <4 x float> %1) nounwind…
279 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly {
280 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
287 define <3 x float> @_Z4fmaxDv3_ff(<3 x float> %v1, float %v2) nounwind readonly {
288 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
295 define <2 x float> @_Z4fmaxDv2_fS_(<2 x float> %v1, <2 x float> %v2) nounwind readonly {
296 …%1 = tail call <2 x float> @llvm.aarch64.neon.fmax.v2f32(<2 x float> %v1, <2 x float> %v2) nounwin…
[all …]
Dneon.ll272 define <4 x float> @_Z4fmaxDv4_fS_(<4 x float> %v1, <4 x float> %v2) nounwind readonly {
273 …%1 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %v2) nounwind r…
277 define <4 x float> @_Z4fmaxDv4_ff(<4 x float> %v1, float %v2) nounwind readonly {
279 …%2 = tail call <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float> %v1, <4 x float> %1) nounwind re…
283 define <3 x float> @_Z4fmaxDv3_fS_(<3 x float> %v1, <3 x float> %v2) nounwind readonly {
284 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
291 define <3 x float> @_Z4fmaxDv3_ff(<3 x float> %v1, float %v2) nounwind readonly {
292 %1 = shufflevector <3 x float> %v1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
299 define <2 x float> @_Z4fmaxDv2_fS_(<2 x float> %v1, <2 x float> %v2) nounwind readonly {
300 …%1 = tail call <2 x float> @llvm.arm.neon.vmaxs.v2f32(<2 x float> %v1, <2 x float> %v2) nounwind r…
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/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.rscript58 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/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_math_agree.java183 private float min(float v1, float v2) { in min() argument
184 return v1 < v2 ? v1 : v2; in min()
187 private float[] min(float[] v1, float[] v2) { in min() argument
188 assert v1.length == v2.length; in min()
189 float[] rv = new float[v1.length]; in min()
190 for (int i = 0; i < v1.length; ++i) in min()
191 rv[i] = min(v1[i], v2[i]); in min()
195 private byte min(byte v1, byte v2) { in min() argument
196 return v1 < v2 ? v1 : v2; in min()
199 private byte[] min(byte[] v1, byte[] v2) { in min() argument
[all …]
DUT_bug_char.java41 private byte min(byte v1, byte v2) { in min() argument
42 return v1 < v2 ? v1 : v2; in min()
45 private byte[] min(byte[] v1, byte[] v2) { in min() argument
46 assert v1.length == v2.length; in min()
47 byte[] rv = new byte[v1.length]; in min()
48 for (int i = 0; i < v1.length; ++i) in min()
49 rv[i] = min(v1[i], v2[i]); in min()
Dmath_agree.rscript76 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
79 rsDebug("v1", v1);
86 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
91 rsDebug("v1.x", v1.x);
92 rsDebug("v1.y", v1.y);
103 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
109 rsDebug("v1.x", v1.x);
110 rsDebug("v1.y", v1.y);
111 rsDebug("v1.z", v1.z);
126 static void fail_f4(float4 v1, float4 v2, float4 actual, float4 expected, char *op_name) {
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_math_agree.java181 private float min(float v1, float v2) { in min() argument
182 return v1 < v2 ? v1 : v2; in min()
185 private float[] min(float[] v1, float[] v2) { in min() argument
186 assert v1.length == v2.length; in min()
187 float[] rv = new float[v1.length]; in min()
188 for (int i = 0; i < v1.length; ++i) in min()
189 rv[i] = min(v1[i], v2[i]); in min()
193 private byte min(byte v1, byte v2) { in min() argument
194 return v1 < v2 ? v1 : v2; in min()
197 private byte[] min(byte[] v1, byte[] v2) { in min() argument
[all …]
DUT_bug_char.java39 private byte min(byte v1, byte v2) { in min() argument
40 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.rscript74 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
77 rsDebug("v1", v1);
84 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
89 rsDebug("v1.x", v1.x);
90 rsDebug("v1.y", v1.y);
101 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
107 rsDebug("v1.x", v1.x);
108 rsDebug("v1.y", v1.y);
109 rsDebug("v1.z", v1.z);
124 static void fail_f4(float4 v1, float4 v2, float4 actual, float4 expected, char *op_name) {
[all …]
/frameworks/rs/driver/runtime/
Drs_cl.c72 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \
74 r.x = fnc(v1.x, v2.x); \
75 r.y = fnc(v1.y, v2.y); \
78 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \
80 r.x = fnc(v1.x, v2.x); \
81 r.y = fnc(v1.y, v2.y); \
82 r.z = fnc(v1.z, v2.z); \
85 extern float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2) { \
87 r.x = fnc(v1.x, v2.x); \
88 r.y = fnc(v1.y, v2.y); \
[all …]
/frameworks/native/libs/math/tests/
Dvec_test.cpp48 vec4 v1(1); in TEST_F() local
49 EXPECT_EQ(v1.x, 1); in TEST_F()
50 EXPECT_EQ(v1.y, 1); in TEST_F()
51 EXPECT_EQ(v1.z, 1); in TEST_F()
52 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/cpu_ref/
DrsCpuIntrinsics_advsimd_Blend.S59 movi v1.16b, #0
67 mov v1.16b, v9.16b
83 umull2 v13.8h, v7.16b, v1.16b
84 umull v1.8h, v7.8b, v1.8b
92 rshrn v5.8b, v1.8h, #8
101 uaddw v1.8h, v1.8h, v5.8b
110 rshrn v1.8b, v1.8h, #8
111 rshrn2 v1.16b, v13.8h, #8
118 uqadd v1.16b, v1.16b, v9.16b
164 uqadd v1.16b, v1.16b, v9.16b
[all …]
DrsCpuIntrinsics_advsimd_Blur.S172 vertfetch_clamped 15, v1.h[7]
173 vertfetch_clamped 14, v1.h[6]
174 vertfetch_clamped 13, v1.h[5]
175 vertfetch_clamped 12, v1.h[4]
176 vertfetch_clamped 11, v1.h[3]
177 vertfetch_clamped 10, v1.h[2]
178 vertfetch_clamped 9, v1.h[1]
179 vertfetch_clamped 8, v1.h[0]
207 vertfetch_noclamp 15, v1.h[7]
208 vertfetch_noclamp 14, v1.h[6]
[all …]
DrsCpuIntrinsics_advsimd_Convolve.S36 ld1 {v0.8h, v1.8h}, [x4]
82 smlal v8.4s, v7.4h, v1.h[0]
83 smlal2 v9.4s, v7.8h, v1.h[0]
167 smlal2 v4.4s, v13.8h, v1.h[0]
168 smlal v5.4s, v14.4h, v1.h[0]
169 smlal v4.4s, v14.4h, v1.h[1]
170 smlal2 v5.4s, v14.8h, v1.h[1]
193 smlal v4.4s, v9.4h, v1.h[2]
194 smlal2 v5.4s, v9.8h, v1.h[2]
195 smlal2 v4.4s, v9.8h, v1.h[3]
[all …]
DrsCpuIntrinsics_advsimd_3DLUT.S149 uxtl v1.8h, v1.8b
152 mul v1.8h, v1.8h, v4.h[1]
161 usra v1.8h, v1.8h, #8
165 ushr v13.8h, v1.8h, #8
168 xtn v1.8b, v1.8h
189 …t=v20.8b, src0=v6.s[0], src1=v6.s[1], xr0=v0.h[0], xr1=v0.h[1], yr0=v1.b[0], yr1=v1.b[1], zr0=v2.…
192 …t=v20.16b, src0=v6.s[2], src1=v6.s[3], xr0=v0.h[2], xr1=v0.h[3], yr0=v1.b[2], yr1=v1.b[3], zr0=v2.…
195 …t=v21.8b, src0=v7.s[0], src1=v7.s[1], xr0=v0.h[4], xr1=v0.h[5], yr0=v1.b[4], yr1=v1.b[5], zr0=v2.…
198 …t=v21.16b, src0=v7.s[2], src1=v7.s[3], xr0=v0.h[6], xr1=v0.h[7], yr0=v1.b[6], yr1=v1.b[7], zr0=v2.…
DrsCpuIntrinsics_advsimd_YuvToRGB.S65 umull v1.8h, v8.8b, v24.8b // g0 = y0 * 149
76 uaddw v0.8h, v1.8h, v19.8b // r0 = g0 + (v >> 1)
84 add v2.8h, v1.8h, v19.8h // b0 = g0 + (u << 2)
98 …uqadd v1.8h, v1.8h, v30.8h // g0 = satu16(g0 + (-16 * 149 + 128 * 50 + 128 * 104) >> …
112 uqsub v1.8h, v1.8h, v8.8h // g0 = satu16(g0 - g2)
126 uqrshrn v1.8b, v1.8h, #7
139 zip1 v1.16b, v1.16b, v17.16b
275 zip1 v17.16b, v1.16b, v3.16b
276 zip2 v19.16b, v1.16b, v3.16b
278 zip2 v1.16b, v16.16b, v17.16b
[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.cpp567 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip() local
587 v1 = v++; in drawPrimitivesLineStrip()
588 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineStrip()
590 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineStrip()
591 v0 = v1; in drawPrimitivesLineStrip()
608 vertex_t* v1 = c->vc.vBuffer + 1; in drawPrimitivesLineLoop() local
609 c->arrays.compileElement(c, v1, first); in drawPrimitivesLineLoop()
610 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineLoop()
612 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineLoop()
657 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip() local
[all …]
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp44 Res_value v1; in createTypeData() local
45 memset(&v1, 0, sizeof(v1)); in createTypeData()
46 t.header.size += sizeof(v1); in createTypeData()
50 offsets[2] = sizeof(e1) + sizeof(v1); in createTypeData()
69 memcpy(p, &v1, sizeof(v1)); in createTypeData()
70 p += sizeof(v1); in createTypeData()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java53 public void set(double[] v1, double[] v2) { in set() argument
54 double[] vec1 = normal(v1); in set()
61 public static double calcAngle(double[] v1, double[] v2) { in calcAngle() argument
62 double[] vec1 = normal(v1); in calcAngle()
67 public static double[] calcAxis(double[] v1, double[] v2) { in calcAxis() argument
68 double[] vec1 = normal(v1); in calcAxis()
120 double v1 = v[1]; in rotateVec() local
123 double s = x[1] * v0 + x[2] * v1 + x[3] * v2; in rotateVec()
125 double n0 = 2 * (x[0] * (v0 * x[0] - (x[2] * v2 - x[3] * v1)) + s * x[1]) - v0; in rotateVec()
126 double n1 = 2 * (x[0] * (v1 * x[0] - (x[3] * v0 - x[1] * v2)) + s * x[2]) - v1; in rotateVec()
[all …]
/frameworks/base/services/core/xsd/platform-compat-schema/
Dcurrent.txt29 ….datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserExcepti…
30 …hod public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xm…
31 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu…
/frameworks/base/services/core/xsd/schema/
Dcurrent.txt30 ….datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserExcepti…
31 …hod public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xm…
32 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu…

12345678910>>...18