Home
last modified time | relevance | path

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

12

/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs67 volatile float4 f4;
346 f4 = rsGetElementAt_float4(aFloat4, 0);
347 rsSetElementAt_float4(aFloat4, f4, 0);
348 f4 = rsGetElementAt_float4(aFloat4, 0, 0);
349 rsSetElementAt_float4(aFloat4, f4, 0, 0);
350 f4 = rsGetElementAt_float4(aFloat4, 0, 0, 0);
351 rsSetElementAt_float4(aFloat4, f4, 0, 0, 0);
395 f4 += rsSample(allocDst, samplerNonNull, f);
396 f4 += rsSample(allocDst, samplerNonNull, f, f);
397 f4 += rsSample(allocDst, samplerNonNull, f2);
[all …]
Dmath.rs8 volatile float4 f4;
147 f4 = fnc(f4);
154 f4 = fnc(f4, (float4*) &f4);
161 f4 = fnc(f4, f4);
166 f4 = fnc(f4, f4);
173 f4 = fnc(f4, f1);
180 f1 = fnc(f4);
187 f1 = fnc(f4, f4);
194 f4 = fnc(f4, i4);
201 f4 = fnc(f4, i1);
[all …]
Dconvert.rs3 float4 f4 = { 2.0f, 4.0f, 6.0f, 8.0f };
10 f4 = convert_float4(i8_4);
11 _RS_ASSERT(f4.x == -1.0f);
12 _RS_ASSERT(f4.y == -2.0f);
13 _RS_ASSERT(f4.z == -3.0f);
14 _RS_ASSERT(f4.w == 4.0f);
Dvector.rs6 float4 f4 = { 1.0f, 2.0f, 3.0f, 4.0f };
55 _RS_ASSERT(f4.x == 2.99f);
56 _RS_ASSERT(f4.y == 3.99f);
57 _RS_ASSERT(f4.z == 4.99f);
58 _RS_ASSERT(f4.w == 5.99f);
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs67 volatile float4 f4;
348 f4 = rsGetElementAt_float4(aFloat4, 0);
349 rsSetElementAt_float4(aFloat4, f4, 0);
350 f4 = rsGetElementAt_float4(aFloat4, 0, 0);
351 rsSetElementAt_float4(aFloat4, f4, 0, 0);
352 f4 = rsGetElementAt_float4(aFloat4, 0, 0, 0);
353 rsSetElementAt_float4(aFloat4, f4, 0, 0, 0);
397 f4 += rsSample(allocDst, samplerNonNull, f);
398 f4 += rsSample(allocDst, samplerNonNull, f, f);
399 f4 += rsSample(allocDst, samplerNonNull, f2);
[all …]
Dmath.rs8 volatile float4 f4;
147 f4 = fnc(f4);
154 f4 = fnc(f4, (float4*) &f4);
161 f4 = fnc(f4, f4);
166 f4 = fnc(f4, f4);
173 f4 = fnc(f4, f1);
180 f1 = fnc(f4);
187 f1 = fnc(f4, f4);
194 f4 = fnc(f4, i4);
201 f4 = fnc(f4, i1);
[all …]
Dconvert.rs3 float4 f4 = { 2.0f, 4.0f, 6.0f, 8.0f };
10 f4 = convert_float4(i8_4);
11 _RS_ASSERT(f4.x == -1.0f);
12 _RS_ASSERT(f4.y == -2.0f);
13 _RS_ASSERT(f4.z == -3.0f);
14 _RS_ASSERT(f4.w == 4.0f);
Dvector.rs6 float4 f4 = { 1.0f, 2.0f, 3.0f, 4.0f };
55 _RS_ASSERT(f4.x == 2.99f);
56 _RS_ASSERT(f4.y == 3.99f);
57 _RS_ASSERT(f4.z == 4.99f);
58 _RS_ASSERT(f4.w == 5.99f);
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs12 float4 f4;
18 f4 = fnc(f4);
24 i4 = fnc(f4);
30 f4 = fnc(f4, f4);
36 f4 = fnc(f4, &f4);
42 f4 = fnc(f4, &i4);
48 f4 = fnc(f4, f4);
54 f4 = fnc(f4, i);
60 f4 = fnc(f4, i4);
66 f4 = fnc(f4, f4, f4);
[all …]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
Dmath.rs8 volatile float4 f4;
147 f4 = fnc(f4);
154 f4 = fnc(f4, (float4*) &f4);
161 f4 = fnc(f4, f4);
166 f4 = fnc(f4, f4);
173 f4 = fnc(f4, f1);
180 f4 = fnc(f1, f4);
187 f1 = fnc(f4);
194 f1 = fnc(f4, f4);
201 f4 = fnc(f4, i4);
[all …]
Dconvert.rs3 float4 f4 = { 2.0f, 4.0f, 6.0f, 8.0f };
10 f4 = convert_float4(i8_4);
11 _RS_ASSERT(f4.x == -1.0f);
12 _RS_ASSERT(f4.y == -2.0f);
13 _RS_ASSERT(f4.z == -3.0f);
14 _RS_ASSERT(f4.w == 4.0f);
Dvector.rs6 float4 f4 = { 1.0f, 2.0f, 3.0f, 4.0f };
55 _RS_ASSERT(f4.x == 2.99f);
56 _RS_ASSERT(f4.y == 3.99f);
57 _RS_ASSERT(f4.z == 4.99f);
58 _RS_ASSERT(f4.w == 5.99f);
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak8 volatile float4 f4;
133 f4 = fnc(f4);
140 f4 = fnc(f4, (float4*) &f4);
147 f4 = fnc(f4, f4);
152 f4 = fnc(f4, f4);
159 f4 = fnc(f4, f1);
166 f1 = fnc(f4);
173 f1 = fnc(f4, f4);
180 f4 = fnc(f4, i4);
187 f4 = fnc(f4, i1);
[all …]
Dmath.rs8 volatile float4 f4;
147 f4 = fnc(f4);
154 f4 = fnc(f4, (float4*) &f4);
161 f4 = fnc(f4, f4);
166 f4 = fnc(f4, f4);
173 f4 = fnc(f4, f1);
180 f1 = fnc(f4);
187 f1 = fnc(f4, f4);
194 f4 = fnc(f4, i4);
201 f4 = fnc(f4, i1);
[all …]
Dmath.rs.orig8 volatile float4 f4;
147 f4 = fnc(f4);
154 f4 = fnc(f4, (float4*) &f4);
161 f4 = fnc(f4, f4);
166 f4 = fnc(f4, f4);
173 f4 = fnc(f4, f1);
180 f1 = fnc(f4);
187 f1 = fnc(f4, f4);
194 f4 = fnc(f4, i4);
201 f4 = fnc(f4, i1);
[all …]
Dvector.rs6 float4 f4 = { 1.0f, 2.0f, 3.0f, 4.0f };
55 _RS_ASSERT(f4.x == 2.99f);
56 _RS_ASSERT(f4.y == 3.99f);
57 _RS_ASSERT(f4.z == 4.99f);
58 _RS_ASSERT(f4.w == 5.99f);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rs8 volatile float4 f4;
147 f4 = fnc(f4);
154 f4 = fnc(f4, (float4*) &f4);
161 f4 = fnc(f4, f4);
166 f4 = fnc(f4, f4);
173 f4 = fnc(f4, f1);
180 f1 = fnc(f4);
187 f1 = fnc(f4, f4);
194 f4 = fnc(f4, i4);
201 f4 = fnc(f4, i1);
[all …]
Dvector.rs6 float4 f4 = { 1.0f, 2.0f, 3.0f, 4.0f };
55 _RS_ASSERT(f4.x == 2.99f);
56 _RS_ASSERT(f4.y == 3.99f);
57 _RS_ASSERT(f4.z == 4.99f);
58 _RS_ASSERT(f4.w == 5.99f);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rs8 volatile float4 f4;
45 f4 = fnc(f4);
52 f4 = fnc(f4, (float4*) &f4);
59 f4 = fnc(f4, f4);
66 f4 = fnc(f4, f1);
73 f4 = fnc(f4, i4);
80 f4 = fnc(f4, i1);
87 f4 = fnc(f4, f4, f4);
94 f4 = fnc(f4, (int4*) &i4);
101 f4 = fnc(f4, f4, (int4*) &i4);
[all …]
/frameworks/compile/slang/tests/F_mix_vector/
Dmix_vector.rs5 float4 f4;
6 (void)f4.xg;
7 (void)f4.ry;
8 f4.xr = f4.ba;
/frameworks/native/libs/math/tests/
Dhalf_test.cpp86 float4 f4(1,2,3,4); in TEST_F() local
87 half4 h4(f4); in TEST_F()
88 half3 h3(f4.xyz); in TEST_F()
89 half2 h2(f4.xy); in TEST_F()
91 EXPECT_EQ(f4, h4); in TEST_F()
92 EXPECT_EQ(f4.xyz, h3); in TEST_F()
93 EXPECT_EQ(f4.xy, h2); in TEST_F()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
25 float3 mono = dot(f4.rgb, gMonoMult);
30 float4 f4 = convert_float4(v_in);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
25 float3 mono = dot(f4.rgb, gMonoMult);
30 float4 f4 = convert_float4(v_in);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
25 float3 mono = dot(f4.rgb, gMonoMult);
30 float4 f4 = convert_float4(v_in);
31 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/java_api/HelloComputeNDK/libhellocomputendk/
Dmono.rs23 float4 f4 = rsUnpackColor8888(*v_in);
25 float3 mono = dot(f4.rgb, gMonoMult);

12