/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/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/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/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/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_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/rs/tests/java_api/RsTest_14/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 …]
|
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.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/native/libs/ui/ |
D | Fence.cpp | 79 const sp<Fence>& f2) { in merge() argument 85 if (f1->isValid() && f2->isValid()) { in merge() 86 result = sync_merge(name, f1->mFenceFd, f2->mFenceFd); in merge() 89 } else if (f2->isValid()) { in merge() 90 result = sync_merge(name, f2->mFenceFd, f2->mFenceFd); in merge() 97 name, f1->mFenceFd, f2->mFenceFd, in merge() 105 const sp<Fence>& f2) { in merge() argument 106 return merge(name.string(), f1, f2); in merge()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_TransformResidual4x4.c | 66 int f2 = e1 - e2; in armVCM4P10_TransformResidual4x4() local 70 pDst[i+2] = (OMX_S16)f2; in armVCM4P10_TransformResidual4x4() 79 int f2 = pDst[i+8]; in armVCM4P10_TransformResidual4x4() local 81 int g0 = f0 + f2; in armVCM4P10_TransformResidual4x4() 82 int g1 = f0 - f2; in armVCM4P10_TransformResidual4x4()
|
D | armVCM4P10_FwdTransformResidual4x4.c | 65 int f2 = e0 - e2; in armVCM4P10_FwdTransformResidual4x4() local 69 pDst[i+2] = (OMX_S16)f2; in armVCM4P10_FwdTransformResidual4x4() 78 int f2 = pDst[i+8]; in armVCM4P10_FwdTransformResidual4x4() local 82 int g2 = f1 + f2; in armVCM4P10_FwdTransformResidual4x4() 83 int g3 = f1 - f2; in armVCM4P10_FwdTransformResidual4x4()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | NameMappingTest.java | 36 final AtomicBoolean f2 = new AtomicBoolean(false); in testChanges() local 45 return f2.get(); in testChanges() 57 if (f2New != f2.get()) { in testChanges() 62 assertEquals(f2.get(), mBinder.textView.isEnabled()); in testChanges() 63 assertEquals(f2.get(), mBinder.textView2.isEnabled()); in testChanges()
|