/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rs | 65 volatile float2 f2; 334 f2 = rsGetElementAt_float2(aFloat2, 0); 335 rsSetElementAt_float2(aFloat2, f2, 0); 336 f2 = rsGetElementAt_float2(aFloat2, 0, 0); 337 rsSetElementAt_float2(aFloat2, f2, 0, 0); 338 f2 = rsGetElementAt_float2(aFloat2, 0, 0, 0); 339 rsSetElementAt_float2(aFloat2, f2, 0, 0, 0); 397 f4 += rsSample(allocDst, samplerNonNull, f2); 398 f4 += rsSample(allocDst, samplerNonNull, f2, f); 422 c2 = convert_char2(f2); [all …]
|
D | UT_copy_test.java | 38 float[] f2 = new float[1024 * 2]; in testFloat2() local 46 a2.copyTo(f2); in testFloat2() 48 if (f1[ct] != f2[ct]) { in testFloat2() 50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 62 float[] f2 = new float[1024 * 4]; in testFloat3() local 70 a2.copyTo(f2); in testFloat3() 72 if ((f1[ct] != f2[ct]) && ((ct&3) != 3)) { in testFloat3() 74 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat3() 86 float[] f2 = new float[1024 * 4]; in testFloat4() local 94 a2.copyTo(f2); in testFloat4() [all …]
|
D | math.rs | 6 volatile float2 f2; 145 f2 = fnc(f2); \ 152 f2 = fnc(f2, (float2*) &f2); \ 159 f2 = fnc(f2, f2); \ 171 f2 = fnc(f2, f1); \ 178 f1 = fnc(f2); \ 185 f1 = fnc(f2, f2); \ 192 f2 = fnc(f2, i2); \ 199 f2 = fnc(f2, i1); \ 206 f2 = fnc(f2, f2, f2); \ [all …]
|
D | kernel_struct.rs | 9 float f2; 21 out->f2 = 1.0f; 30 s.f2 = in.f2 + x; 42 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rs | 83 volatile float2 f2; 354 f2 = rsGetElementAt_float2(aFloat2, 0); 355 rsSetElementAt_float2(aFloat2, f2, 0); 356 f2 = rsGetElementAt_float2(aFloat2, 0, 0); 357 rsSetElementAt_float2(aFloat2, f2, 0, 0); 358 f2 = rsGetElementAt_float2(aFloat2, 0, 0, 0); 359 rsSetElementAt_float2(aFloat2, f2, 0, 0, 0); 417 f4 += rsSample(allocDst, samplerNonNull, f2); 418 f4 += rsSample(allocDst, samplerNonNull, f2, f); 442 c2 = convert_char2(f2); [all …]
|
D | UT_copy_test.java | 39 float[] f2 = new float[1024 * 2]; in testFloat2() local 47 a2.copyTo(f2); in testFloat2() 49 if (f1[ct] != f2[ct]) { in testFloat2() 51 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 63 float[] f2 = new float[1024 * 4]; in testFloat3() local 71 a2.copyTo(f2); in testFloat3() 73 if ((f1[ct] != f2[ct]) && ((ct & 3) != 3)) { in testFloat3() 75 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat3() 87 float[] f2 = new float[1024 * 4]; in testFloat4() local 95 a2.copyTo(f2); in testFloat4() [all …]
|
D | math.rs | 24 volatile float2 f2; 163 f2 = fnc(f2); \ 170 f2 = fnc(f2, (float2*) &f2); \ 177 f2 = fnc(f2, f2); \ 189 f2 = fnc(f2, f1); \ 196 f2 = fnc(f1, f2); \ 203 f1 = fnc(f2); \ 210 f1 = fnc(f2, f2); \ 217 f2 = fnc(f2, i2); \ 224 f2 = fnc(f2, i1); \ [all …]
|
D | kernel_struct.rs | 27 float f2; 39 out->f2 = 1.0f; 48 s.f2 = in.f2 + x; 60 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rs | 81 volatile float2 f2; 352 f2 = rsGetElementAt_float2(aFloat2, 0); 353 rsSetElementAt_float2(aFloat2, f2, 0); 354 f2 = rsGetElementAt_float2(aFloat2, 0, 0); 355 rsSetElementAt_float2(aFloat2, f2, 0, 0); 356 f2 = rsGetElementAt_float2(aFloat2, 0, 0, 0); 357 rsSetElementAt_float2(aFloat2, f2, 0, 0, 0); 415 f4 += rsSample(allocDst, samplerNonNull, f2); 416 f4 += rsSample(allocDst, samplerNonNull, f2, f); 440 c2 = convert_char2(f2); [all …]
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 10 float2 f2; 16 f2 = fnc(f2); \ 22 i2 = fnc(f2); \ 28 f2 = fnc(f2, f2); \ 34 f2 = fnc(f2, &f2); \ 40 f2 = fnc(f2, &i2); \ 46 f2 = fnc(f2, f2); \ 52 f2 = fnc(f2, i); \ 58 f2 = fnc(f2, i2); \ 64 f2 = fnc(f2, f2, f2); \ [all …]
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | rasterize.rs | 41 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) { 44 f1 = f2; 45 f2 = tmp; 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); 65 p2[total] = f2.xy; [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | depthwise_conv2d_dilation.mod.py | 48 f2 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 4}", [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]) variable 51 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0, layout, 2, 2).To(o2) 56 f2: ("TENSOR_QUANT8_ASYMM", 0.01, 0), 71 }).AddNchw(i2, o2, layout).AddInput(f2, b2) 103 f2 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 4}", [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]) variable 106 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout, 2, 2).To(o2) 111 f2: ("TENSOR_QUANT8_ASYMM", 0.01, 0), 126 }, name="valid_padding").AddNchw(i2, o2, layout).AddInput(f2, b2) 130 f2 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 1}", [1, 2, 3, 4]) variable 133 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 1, 2, 2, 1, 0, layout, 3, 3).To(o2) [all …]
|
D | conv2d_dilation.mod.py | 43 f2 = Parameter("op2", "TENSOR_FLOAT32", "{1, 3, 3, 1}", [1, 2, 3, 4, 5, 6, 7, 8, 9]) variable 46 Model().Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout, 3, 3).To(o2) 51 f2: ("TENSOR_QUANT8_ASYMM", 0.125, 0), 68 }).AddNchw(i2, o2, layout).AddInput(f2, b2).AddVariations("relaxed", quant8, "float16") 94 f2 = Parameter("op2", "TENSOR_FLOAT32", "{1, 3, 3, 1}", [1, 2, 3, 4, 5, 6, 7, 8, 9]) variable 97 Model().Operation("CONV_2D", i2, f2, b2, 2, 1, 1, 0, layout, 3, 3).To(o2) 102 f2: ("TENSOR_QUANT8_ASYMM", 0.125, 0), 119 }, name="valid_padding").AddNchw(i2, o2, layout).AddInput(f2, b2).AddVariations("relaxed", quant8, …
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | isp_az.c | 47 Word32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local 66 Get_isp_pol_16kHz(&isp[1], f2, (nc - 1)); in Isp_Az() 69 f2[i] = f2[i] << 2; in Isp_Az() 72 Get_isp_pol(&isp[1], f2, (nc - 1)); in Isp_Az() 80 f2[i] = vo_L_sub(f2[i], f2[i - 2]); /* f2[i] -= f2[i-2]; */ in Isp_Az() 99 hi = f2[i] >> 16; in Isp_Az() 100 lo = (f2[i] & 0xffff)>>1; in Isp_Az() 102 f2[i] = vo_L_sub(f2[i], t0); in Isp_Az() 117 t0 = vo_L_add(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 123 t0 = vo_L_sub(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_copy_test.java | 37 float[] f2 = new float[1024 * 2]; in testFloat2() local 45 a2.copyTo(f2); in testFloat2() 47 if (f1[ct] != f2[ct]) { in testFloat2() 49 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 61 float[] f2 = new float[1024 * 4]; in testFloat3() local 69 a2.copyTo(f2); in testFloat3() 71 if ((f1[ct] != f2[ct]) && ((ct & 3) != 3)) { in testFloat3() 73 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat3() 85 float[] f2 = new float[1024 * 4]; in testFloat4() local 93 a2.copyTo(f2); in testFloat4() [all …]
|
D | math.rs | 22 volatile float2 f2; 161 f2 = fnc(f2); \ 168 f2 = fnc(f2, (float2*) &f2); \ 175 f2 = fnc(f2, f2); \ 187 f2 = fnc(f2, f1); \ 194 f2 = fnc(f1, f2); \ 201 f1 = fnc(f2); \ 208 f1 = fnc(f2, f2); \ 215 f2 = fnc(f2, i2); \ 222 f2 = fnc(f2, i1); \ [all …]
|
D | kernel_struct.rs | 25 float f2; 37 out->f2 = 1.0f; 46 s.f2 = in.f2 + x; 58 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | isp_az.cpp | 142 int32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local 159 Get_isp_pol_16kHz(&isp[1], f2, nc - 1); in Isp_Az() 162 f2[i] = shl_int32(f2[i], 2); in Isp_Az() 168 Get_isp_pol(&isp[1], f2, nc - 1); in Isp_Az() 177 f2[i] -= f2[i - 2]; /* f2[i] -= f2[i-2]; */ in Isp_Az() 190 t1 = f2[i]; in Isp_Az() 194 f2[i] -= t1; in Isp_Az() 211 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 223 t0 = sub_int32(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() 255 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() [all …]
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 6 volatile float2 f2; 43 f2 = fnc(f2); \ 50 f2 = fnc(f2, (float2*) &f2); \ 57 f2 = fnc(f2, f2); \ 64 f2 = fnc(f2, f1); \ 71 f2 = fnc(f2, i2); \ 78 f2 = fnc(f2, i1); \ 85 f2 = fnc(f2, f2, f2); \ 92 f2 = fnc(f2, (int2*) &i2); \ 99 f2 = fnc(f2, f2, (int2*) &i2); \ [all …]
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 6 volatile float2 f2; 131 f2 = fnc(f2); \ 138 f2 = fnc(f2, (float2*) &f2); \ 145 f2 = fnc(f2, f2); \ 157 f2 = fnc(f2, f1); \ 164 f1 = fnc(f2); \ 171 f1 = fnc(f2, f2); \ 178 f2 = fnc(f2, i2); \ 185 f2 = fnc(f2, i1); \ 192 f2 = fnc(f2, f2, f2); \ [all …]
|
D | math.rs | 6 volatile float2 f2; 145 f2 = fnc(f2); \ 152 f2 = fnc(f2, (float2*) &f2); \ 159 f2 = fnc(f2, f2); \ 171 f2 = fnc(f2, f1); \ 178 f1 = fnc(f2); \ 185 f1 = fnc(f2, f2); \ 192 f2 = fnc(f2, i2); \ 199 f2 = fnc(f2, i1); \ 206 f2 = fnc(f2, f2, f2); \ [all …]
|
D | math.rs.orig | 6 volatile float2 f2; 145 f2 = fnc(f2); \ 152 f2 = fnc(f2, (float2*) &f2); \ 159 f2 = fnc(f2, f2); \ 171 f2 = fnc(f2, f1); \ 178 f1 = fnc(f2); \ 185 f1 = fnc(f2, f2); \ 192 f2 = fnc(f2, i2); \ 199 f2 = fnc(f2, i1); \ 206 f2 = fnc(f2, f2, f2); \ [all …]
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rs | 6 volatile float2 f2; 145 f2 = fnc(f2); \ 152 f2 = fnc(f2, (float2*) &f2); \ 159 f2 = fnc(f2, f2); \ 171 f2 = fnc(f2, f1); \ 178 f1 = fnc(f2); \ 185 f1 = fnc(f2, f2); \ 192 f2 = fnc(f2, i2); \ 199 f2 = fnc(f2, i1); \ 206 f2 = fnc(f2, f2, f2); \ [all …]
|
/frameworks/native/libs/ui/ |
D | Fence.cpp | 73 const sp<Fence>& f2) { in merge() argument 79 if (f1->isValid() && f2->isValid()) { in merge() 80 result = sync_merge(name, f1->mFenceFd, f2->mFenceFd); in merge() 83 } else if (f2->isValid()) { in merge() 84 result = sync_merge(name, f2->mFenceFd, f2->mFenceFd); in merge() 91 name, f1->mFenceFd.get(), f2->mFenceFd.get(), in merge() 99 const sp<Fence>& f2) { in merge() argument 100 return merge(name.string(), f1, f2); in merge()
|
/frameworks/compile/slang/lit-tests/padding/ |
D | more_structs.rs | 92 long f2; 100 long f2; 113 failed |= ((g_char_struct.f1 != arg1) || (g_char_struct.f2 != arg2)); 118 (g_five_struct.f2 != arg2) ||
|