/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rscript | 67 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 …]
|
D | math.rscript | 8 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 …]
|
D | convert.rscript | 3 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);
|
D | vector.rscript | 6 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/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 85 volatile float4 f4; 366 f4 = rsGetElementAt_float4(aFloat4, 0); 367 rsSetElementAt_float4(aFloat4, f4, 0); 368 f4 = rsGetElementAt_float4(aFloat4, 0, 0); 369 rsSetElementAt_float4(aFloat4, f4, 0, 0); 370 f4 = rsGetElementAt_float4(aFloat4, 0, 0, 0); 371 rsSetElementAt_float4(aFloat4, f4, 0, 0, 0); 415 f4 += rsSample(allocDst, samplerNonNull, f); 416 f4 += rsSample(allocDst, samplerNonNull, f, f); 417 f4 += rsSample(allocDst, samplerNonNull, f2); [all …]
|
D | math.rscript | 26 volatile float4 f4; 165 f4 = fnc(f4); 172 f4 = fnc(f4, (float4*) &f4); 179 f4 = fnc(f4, f4); 184 f4 = fnc(f4, f4); 191 f4 = fnc(f4, f1); 198 f4 = fnc(f1, f4); 205 f1 = fnc(f4); 212 f1 = fnc(f4, f4); 219 f4 = fnc(f4, i4); [all …]
|
D | convert.rscript | 21 float4 f4 = { 2.0f, 4.0f, 6.0f, 8.0f }; 28 f4 = convert_float4(i8_4); 29 _RS_ASSERT(f4.x == -1.0f); 30 _RS_ASSERT(f4.y == -2.0f); 31 _RS_ASSERT(f4.z == -3.0f); 32 _RS_ASSERT(f4.w == 4.0f);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 83 volatile float4 f4; 364 f4 = rsGetElementAt_float4(aFloat4, 0); 365 rsSetElementAt_float4(aFloat4, f4, 0); 366 f4 = rsGetElementAt_float4(aFloat4, 0, 0); 367 rsSetElementAt_float4(aFloat4, f4, 0, 0); 368 f4 = rsGetElementAt_float4(aFloat4, 0, 0, 0); 369 rsSetElementAt_float4(aFloat4, f4, 0, 0, 0); 413 f4 += rsSample(allocDst, samplerNonNull, f); 414 f4 += rsSample(allocDst, samplerNonNull, f, f); 415 f4 += rsSample(allocDst, samplerNonNull, f2); [all …]
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 12 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_14/src/com/android/rs/test/ |
D | math.rs.bak | 8 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 …]
|
D | math.rs.orig | 8 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 …]
|
D | math.rscript | 8 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 …]
|
D | vector.rscript | 6 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/ |
D | math.rscript | 8 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 …]
|
D | vector.rscript | 6 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/RSUnitTests/src/com/android/rs/unittest/ |
D | math.rscript | 24 volatile float4 f4; 163 f4 = fnc(f4); 170 f4 = fnc(f4, (float4*) &f4); 177 f4 = fnc(f4, f4); 182 f4 = fnc(f4, f4); 189 f4 = fnc(f4, f1); 196 f4 = fnc(f1, f4); 203 f1 = fnc(f4); 210 f1 = fnc(f4, f4); 217 f4 = fnc(f4, i4); [all …]
|
D | convert.rscript | 19 float4 f4 = { 2.0f, 4.0f, 6.0f, 8.0f }; 26 f4 = convert_float4(i8_4); 27 _RS_ASSERT(f4.x == -1.0f); 28 _RS_ASSERT(f4.y == -2.0f); 29 _RS_ASSERT(f4.z == -3.0f); 30 _RS_ASSERT(f4.w == 4.0f);
|
/frameworks/compile/slang/tests/F_mix_vector/ |
D | mix_vector.rscript | 5 float4 f4; 6 (void)f4.xg; 7 (void)f4.ry; 8 f4.xr = f4.ba;
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 8 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/native/libs/math/tests/ |
D | half_test.cpp | 86 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/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rscript | 187 RUN_BENCH(res_f_4 = fnc(src1_f_4), "f4 " #fnc "(f4)") 194 RUN_BENCH(res_f_4 = fnc(src1_f_4, (float4*) &src2_f_4), "f4 " #fnc "(f4, f4*)") 201 RUN_BENCH(res_f_4 = fnc(src1_f_4, src2_f_4), "f4 " #fnc "(f4, f4)") 206 RUN_BENCH(res_f_4 = fnc(src1_f_4, src2_f_4), "f4 " #fnc "(f4, f4)") 213 RUN_BENCH(res_f_4 = fnc(src1_f_4, src2_f_1), "f4 " #fnc "(f4, f1)") 220 RUN_BENCH(res_f_1 = fnc(src1_f_4), "f1 " #fnc "(f4)") 227 RUN_BENCH(res_f_1 = fnc(src1_f_4, src2_f_4), "f1 " #fnc "(f4, f4)") 234 RUN_BENCH(res_f_4 = fnc(src1_f_4, src1_i_4), "f4 " #fnc "(f4, i4)") 241 RUN_BENCH(res_f_4 = fnc(src1_f_4, src1_i_1), "f4 " #fnc "(f4, i1)") 248 RUN_BENCH(res_f_4 = fnc(src1_f_4, src2_f_4, src3_f_4), "f4 " #fnc "(f4, f4, f4)") [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | greyscale.rscript | 23 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/ |
D | greyscale.rscript | 23 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/ |
D | greyscale.rscript | 23 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/ml/nn/runtime/test/specs/V1_2/ |
D | depthwise_conv2d_v1_2.mod.py | 116 f4 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 4}", [.25, 0, 10, 50, .25, 1, 20, 50, .25, 0, 30… variable 119 Model("large").Operation("DEPTHWISE_CONV_2D", i4, f4, b4, 0, 0, 0, 0, 1, 1, 1, 0, layout).To(o4) 124 f4: ("TENSOR_QUANT8_ASYMM", 0.25, 0), 130 …f4: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[1.0, …
|