Home
last modified time | relevance | path

Searched refs:f3 (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs66 volatile float3 f3;
340 f3 = rsGetElementAt_float3(aFloat3, 0);
341 rsSetElementAt_float3(aFloat3, f3, 0);
342 f3 = rsGetElementAt_float3(aFloat3, 0, 0);
343 rsSetElementAt_float3(aFloat3, f3, 0, 0);
344 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0);
345 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0);
429 c3 = convert_char3(f3);
451 uc3 = convert_uchar3(f3);
473 s3 = convert_short3(f3);
[all …]
Dmath.rs7 volatile float3 f3;
146 f3 = fnc(f3); \
153 f3 = fnc(f3, (float3*) &f3); \
160 f3 = fnc(f3, f3); \
165 f3 = fnc(f3, f3); \
172 f3 = fnc(f3, f1); \
179 f1 = fnc(f3); \
186 f1 = fnc(f3, f3); \
193 f3 = fnc(f3, i3); \
200 f3 = fnc(f3, i1); \
[all …]
Dvector.rs5 float3 f3 = { 1.0f, 2.0f, 3.0f };
51 _RS_ASSERT(f3.x == 2.99f);
52 _RS_ASSERT(f3.y == 3.99f);
53 _RS_ASSERT(f3.z == 4.99f);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rs84 volatile float3 f3;
360 f3 = rsGetElementAt_float3(aFloat3, 0);
361 rsSetElementAt_float3(aFloat3, f3, 0);
362 f3 = rsGetElementAt_float3(aFloat3, 0, 0);
363 rsSetElementAt_float3(aFloat3, f3, 0, 0);
364 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0);
365 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0);
449 c3 = convert_char3(f3);
471 uc3 = convert_uchar3(f3);
493 s3 = convert_short3(f3);
[all …]
Dmath.rs25 volatile float3 f3;
164 f3 = fnc(f3); \
171 f3 = fnc(f3, (float3*) &f3); \
178 f3 = fnc(f3, f3); \
183 f3 = fnc(f3, f3); \
190 f3 = fnc(f3, f1); \
197 f3 = fnc(f1, f3); \
204 f1 = fnc(f3); \
211 f1 = fnc(f3, f3); \
218 f3 = fnc(f3, i3); \
[all …]
Dmath_24.rs25 volatile float3 f3;
32 f3 = fnc(f3); \
Dvector.rs23 float3 f3 = { 1.0f, 2.0f, 3.0f };
69 _RS_ASSERT(f3.x == 2.99f);
70 _RS_ASSERT(f3.y == 3.99f);
71 _RS_ASSERT(f3.z == 4.99f);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rs82 volatile float3 f3;
358 f3 = rsGetElementAt_float3(aFloat3, 0);
359 rsSetElementAt_float3(aFloat3, f3, 0);
360 f3 = rsGetElementAt_float3(aFloat3, 0, 0);
361 rsSetElementAt_float3(aFloat3, f3, 0, 0);
362 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0);
363 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0);
447 c3 = convert_char3(f3);
469 uc3 = convert_uchar3(f3);
491 s3 = convert_short3(f3);
[all …]
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs11 float3 f3;
17 f3 = fnc(f3); \
23 i3 = fnc(f3); \
29 f3 = fnc(f3, f3); \
35 f3 = fnc(f3, &f3); \
41 f3 = fnc(f3, &i3); \
47 f3 = fnc(f3, f3); \
53 f3 = fnc(f3, i); \
59 f3 = fnc(f3, i3); \
65 f3 = fnc(f3, f3, f3); \
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Drasterize.rs41 triangleSetup(float3 f1, float3 f2, float3 f3) {
42 if (((f1.x - f2.x) * (f3.y - f2.y) - (f1.y - f2.y) * (f3.x - f2.x)) < 0) {
50 double d = (f1.x * (f3.y - f2.y) - f2.x * f3.y + f3.x * f2.y + (f2.x - f3.x)
57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z)
59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z)
61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) +
62 (f3.x * f2.y - f2.x * f3.y) * f1.z) / d);
66 p3[total] = f3.xy;
80 float3 f3;
91 f3.x = vert[p3];
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath.rs23 volatile float3 f3;
162 f3 = fnc(f3); \
169 f3 = fnc(f3, (float3*) &f3); \
176 f3 = fnc(f3, f3); \
181 f3 = fnc(f3, f3); \
188 f3 = fnc(f3, f1); \
195 f3 = fnc(f1, f3); \
202 f1 = fnc(f3); \
209 f1 = fnc(f3, f3); \
216 f3 = fnc(f3, i3); \
[all …]
Dmath_24.rs23 volatile float3 f3;
30 f3 = fnc(f3); \
Dvector.rs21 float3 f3 = { 1.0f, 2.0f, 3.0f };
67 _RS_ASSERT(f3.x == 2.99f);
68 _RS_ASSERT(f3.y == 3.99f);
69 _RS_ASSERT(f3.z == 4.99f);
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak7 volatile float3 f3;
132 f3 = fnc(f3); \
139 f3 = fnc(f3, (float3*) &f3); \
146 f3 = fnc(f3, f3); \
151 f3 = fnc(f3, f3); \
158 f3 = fnc(f3, f1); \
165 f1 = fnc(f3); \
172 f1 = fnc(f3, f3); \
179 f3 = fnc(f3, i3); \
186 f3 = fnc(f3, i1); \
[all …]
Dmath.rs7 volatile float3 f3;
146 f3 = fnc(f3); \
153 f3 = fnc(f3, (float3*) &f3); \
160 f3 = fnc(f3, f3); \
165 f3 = fnc(f3, f3); \
172 f3 = fnc(f3, f1); \
179 f1 = fnc(f3); \
186 f1 = fnc(f3, f3); \
193 f3 = fnc(f3, i3); \
200 f3 = fnc(f3, i1); \
[all …]
Dmath.rs.orig7 volatile float3 f3;
146 f3 = fnc(f3); \
153 f3 = fnc(f3, (float3*) &f3); \
160 f3 = fnc(f3, f3); \
165 f3 = fnc(f3, f3); \
172 f3 = fnc(f3, f1); \
179 f1 = fnc(f3); \
186 f1 = fnc(f3, f3); \
193 f3 = fnc(f3, i3); \
200 f3 = fnc(f3, i1); \
[all …]
Dvector.rs5 float3 f3 = { 1.0f, 2.0f, 3.0f };
51 _RS_ASSERT(f3.x == 2.99f);
52 _RS_ASSERT(f3.y == 3.99f);
53 _RS_ASSERT(f3.z == 4.99f);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rs7 volatile float3 f3;
146 f3 = fnc(f3); \
153 f3 = fnc(f3, (float3*) &f3); \
160 f3 = fnc(f3, f3); \
165 f3 = fnc(f3, f3); \
172 f3 = fnc(f3, f1); \
179 f1 = fnc(f3); \
186 f1 = fnc(f3, f3); \
193 f3 = fnc(f3, i3); \
200 f3 = fnc(f3, i1); \
[all …]
Dvector.rs5 float3 f3 = { 1.0f, 2.0f, 3.0f };
51 _RS_ASSERT(f3.x == 2.99f);
52 _RS_ASSERT(f3.y == 3.99f);
53 _RS_ASSERT(f3.z == 4.99f);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rs7 volatile float3 f3;
44 f3 = fnc(f3); \
51 f3 = fnc(f3, (float3*) &f3); \
58 f3 = fnc(f3, f3); \
65 f3 = fnc(f3, f1); \
72 f3 = fnc(f3, i3); \
79 f3 = fnc(f3, i1); \
86 f3 = fnc(f3, f3, f3); \
93 f3 = fnc(f3, (int3*) &i3); \
100 f3 = fnc(f3, f3, (int3*) &i3); \
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_2/
Ddepthwise_conv2d_v1_2.mod.py88 f3 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 2}", [.25, 0, .25, 1, .25, 0, .25, 1]) variable
91 Model("large").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 1, 0, layout).To(o3)
96 f3: ("TENSOR_QUANT8_ASYMM", 0.125, 128),
102f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.125…
111 }).AddNchw(i3, o3, layout).AddInput(f3, b3).AddVariations("relaxed", "float16", quant8, channelQuan…
Ddepthwise_conv2d_per_channel.mod.py53 f3 = Parameter("op2", "TENSOR_QUANT8_SYMM_PER_CHANNEL", "{1, 2, 2, 4}, 0.0f, 0", variable
58 Model("layout").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o3)
65 }).AddNchw(i3, o3, layout).AddInput(f3, b3)
Dconv2d_dilation.mod.py124 f3 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 1}", [1, 2, 3, 4]) variable
127 Model().Operation("CONV_2D", i3, f3, b3, 1, 2, 2, 0, layout, 3, 3).To(o3)
132 f3: ("TENSOR_QUANT8_ASYMM", 0.125, 0),
146 }).AddNchw(i3, o3, layout).AddInput(f3, b3).AddVariations("relaxed", quant8, "float16")
Dconv2d_v1_2.mod.py77 f3 = Parameter("op2", "TENSOR_FLOAT32", "{3, 1, 1, 3}", [0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.… variable
80 Model("channel").Operation("CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 0, layout).To(o3)
85 f3: ("TENSOR_QUANT8_ASYMM", 0.5, 0),
91f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, …
100 }).AddNchw(i3, o3, layout).AddInput(f3, b3).AddVariations("relaxed", quant8, channelQuant8, "float1…
/frameworks/compile/slang/lit-tests/padding/
Dmore_structs.rs101 short f3;
119 (g_five_struct.f3 != arg3) ||

12