Home
last modified time | relevance | path

Searched refs:f1 (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_copy_test.java37 float[] f1 = new float[1024 * 2]; in testFloat2() local
39 for (int ct=0; ct < f1.length; ct++) { in testFloat2()
40 f1[ct] = (float)ct; in testFloat2()
42 a1.copyFrom(f1); in testFloat2()
47 for (int ct=0; ct < f1.length; ct++) { 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()
61 float[] f1 = new float[1024 * 4]; in testFloat3() local
63 for (int ct=0; ct < f1.length; ct++) { in testFloat3()
64 f1[ct] = (float)ct; in testFloat3()
[all …]
Dmath.rs5 volatile float f1;
144 f1 = fnc(f1); \
151 f1 = fnc(f1, (float*) &f1); \
158 f1 = fnc(f1, f1); \
170 f1 = fnc(f1, f1); \
171 f2 = fnc(f2, f1); \
172 f3 = fnc(f3, f1); \
173 f4 = fnc(f4, f1);
177 f1 = fnc(f1); \
178 f1 = fnc(f2); \
[all …]
Dkernel_struct.rs6 float f1;
19 out->f1 = 0.f;
28 s.f1 = in.f1 + x;
40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
Dshared.rsh87 static int float_dist(float f1, float f2) {
88 return *((int *)(&f1)) - *((int *)(&f2));
93 static bool float_almost_equal(float f1, float f2) {
94 int *i1 = (int*)(&f1);
100 if (f1 == f2)
106 if (float_dist(f1, f2) > FLT_MAX_ULP)
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_copy_test.java37 float[] f1 = new float[1024 * 2]; in testFloat2() local
39 for (int ct=0; ct < f1.length; ct++) { in testFloat2()
40 f1[ct] = (float)ct; in testFloat2()
42 a1.copyFrom(f1); in testFloat2()
47 for (int ct=0; ct < f1.length; ct++) { 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()
61 float[] f1 = new float[1024 * 4]; in testFloat3() local
63 for (int ct=0; ct < f1.length; ct++) { in testFloat3()
64 f1[ct] = (float)ct; in testFloat3()
[all …]
Dmath.rs5 volatile float f1;
144 f1 = fnc(f1); \
151 f1 = fnc(f1, (float*) &f1); \
158 f1 = fnc(f1, f1); \
170 f1 = fnc(f1, f1); \
171 f2 = fnc(f2, f1); \
172 f3 = fnc(f3, f1); \
173 f4 = fnc(f4, f1);
177 f1 = fnc(f1, f1); \
178 f2 = fnc(f1, f2); \
[all …]
Dkernel_struct.rs6 float f1;
19 out->f1 = 0.f;
28 s.f1 = in.f1 + x;
40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
Dshared.rsh87 static int float_dist(float f1, float f2) {
88 return *((int *)(&f1)) - *((int *)(&f2));
93 static bool float_almost_equal(float f1, float f2) {
94 int *i1 = (int*)(&f1);
100 if (f1 == f2)
106 if (float_dist(f1, f2) > FLT_MAX_ULP)
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs5 volatile float f1;
144 f1 = fnc(f1); \
151 f1 = fnc(f1, (float*) &f1); \
158 f1 = fnc(f1, f1); \
170 f1 = fnc(f1, f1); \
171 f2 = fnc(f2, f1); \
172 f3 = fnc(f3, f1); \
173 f4 = fnc(f4, f1);
177 f1 = fnc(f1); \
178 f1 = fnc(f2); \
[all …]
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs5 volatile float f1;
144 f1 = fnc(f1); \
151 f1 = fnc(f1, (float*) &f1); \
158 f1 = fnc(f1, f1); \
170 f1 = fnc(f1, f1); \
171 f2 = fnc(f2, f1); \
172 f3 = fnc(f3, f1); \
173 f4 = fnc(f4, f1);
177 f1 = fnc(f1); \
178 f1 = fnc(f2); \
[all …]
Dmath.rs.bak5 volatile float f1;
130 f1 = fnc(f1); \
137 f1 = fnc(f1, (float*) &f1); \
144 f1 = fnc(f1, f1); \
156 f1 = fnc(f1, f1); \
157 f2 = fnc(f2, f1); \
158 f3 = fnc(f3, f1); \
159 f4 = fnc(f4, f1);
163 f1 = fnc(f1); \
164 f1 = fnc(f2); \
[all …]
Dmath.rs.orig5 volatile float f1;
144 f1 = fnc(f1); \
151 f1 = fnc(f1, (float*) &f1); \
158 f1 = fnc(f1, f1); \
170 f1 = fnc(f1, f1); \
171 f2 = fnc(f2, f1); \
172 f3 = fnc(f3, f1); \
173 f4 = fnc(f4, f1);
177 f1 = fnc(f1); \
178 f1 = fnc(f2); \
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Disp_az.c47 Word32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local
56 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az()
59 f1[i] = f1[i] << 2; in Isp_Az()
62 Get_isp_pol(&isp[0], f1, nc); in Isp_Az()
91 hi = f1[i] >> 16; in Isp_Az()
92 lo = (f1[i] & 0xffff)>>1; in Isp_Az()
95 f1[i] = vo_L_add(f1[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()
140 t0 = vo_L_add(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az()
[all …]
Daz_isp.c70 Word16 f1[NC + 1], f2[NC]; in Az_isp() local
90 f1[i] = vo_round(t0 + (a[M - i] << 15)); /* =(a[i]+a[M-i])/2 */ in Az_isp()
93 f1[NC] = a[NC]; in Az_isp()
110 coef = f1; in Az_isp()
175 coef = f1; in Az_isp()
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs5 volatile float f1;
42 f1 = fnc(f1); \
49 f1 = fnc(f1, (float*) &f1); \
56 f1 = fnc(f1, f1); \
63 f1 = fnc(f1, f1); \
64 f2 = fnc(f2, f1); \
65 f3 = fnc(f3, f1); \
66 f4 = fnc(f4, f1);
70 f1 = fnc(f1, i1); \
77 f1 = fnc(f1, i1); \
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Disp_az.cpp142 int32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local
154 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az()
157 f1[i] = shl_int32(f1[i], 2); in Isp_Az()
167 Get_isp_pol(&isp[0], f1, nc); in Isp_Az()
189 t0 = f1[i]; in Isp_Az()
193 f1[i] += t0; 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()
262 t0 = sub_int32(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DarmVCM4P10_TransformResidual4x4.c50 int f1 = e1 + e2; in armVCM4P10_TransformResidual4x4() local
54 pDst[i+1] = (OMX_S16)f1; in armVCM4P10_TransformResidual4x4()
63 int f1 = pDst[i+4]; in armVCM4P10_TransformResidual4x4() local
68 int g2 = (f1>>1) - f3; in armVCM4P10_TransformResidual4x4()
69 int g3 = f1 + (f3>>1); in armVCM4P10_TransformResidual4x4()
DarmVCM4P10_FwdTransformResidual4x4.c49 int f1 = (e1 << 1) + e3; in armVCM4P10_FwdTransformResidual4x4() local
53 pDst[i+1] = (OMX_S16)f1; in armVCM4P10_FwdTransformResidual4x4()
62 int f1 = pDst[i+4]; in armVCM4P10_FwdTransformResidual4x4() local
67 int g2 = f1 + f2; in armVCM4P10_FwdTransformResidual4x4()
68 int g3 = f1 - f2; in armVCM4P10_FwdTransformResidual4x4()
/frameworks/native/libs/ui/
DFence.cpp72 sp<Fence> Fence::merge(const String8& name, const sp<Fence>& f1, in merge() argument
79 if (f1->isValid() && f2->isValid()) { in merge()
80 result = sync_merge(name.string(), f1->mFenceFd, f2->mFenceFd); in merge()
81 } else if (f1->isValid()) { in merge()
82 result = sync_merge(name.string(), f1->mFenceFd, f1->mFenceFd); in merge()
91 name.string(), f1->mFenceFd, f2->mFenceFd, in merge()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dlsp_az.cpp517 Word32 f1[6]; in Lsp_Az() local
525 Get_lsp_pol(&lsp[0], f1, pOverflow); in Lsp_Az()
529 p_f1 = &f1[5]; in Lsp_Az()
534 *(p_f1--) += f1[i-1]; in Lsp_Az()
539 p_f1 = &f1[1]; in Lsp_Az()
Daz_lsp.cpp583 Word16 f1[NC + 1]; in Az_lsp() local
587 Word16 *p_f1 = f1; in Az_lsp()
630 coef = f1; in Az_lsp()
712 coef = f1; in Az_lsp()
/frameworks/compile/slang/tests/P_float3/
Dfloat3.rs5 float3 f1[1];
9 float3 f1[1];
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java72 private boolean filterEquals(IntentFilter f1, IntentFilter f2) { in filterEquals() argument
73 int s1 = f1.countActions(); in filterEquals()
79 if (!f2.hasAction(f1.getAction(i))) { in filterEquals()
83 s1 = f1.countCategories(); in filterEquals()
89 if (!f2.hasCategory(f1.getCategory(i))) { in filterEquals()
93 s1 = f1.countDataTypes(); in filterEquals()
99 if (!f2.hasExactDataType(f1.getDataType(i))) { in filterEquals()
103 s1 = f1.countDataSchemes(); in filterEquals()
109 if (!f2.hasDataScheme(f1.getDataScheme(i))) { in filterEquals()
113 s1 = f1.countDataAuthorities(); in filterEquals()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuRuntimeStubs.cpp72 static void SC_debugFv2(const char *s, float f1, float f2) { in SC_debugFv2() argument
73 ALOGD("float x2 %s {%f, %f}", s, f1, f2); in SC_debugFv2()
75 static void SC_debugFv3(const char *s, float f1, float f2, float f3) { in SC_debugFv3() argument
76 ALOGD("float x3 %s {%f, %f, %f}", s, f1, f2, f3); in SC_debugFv3()
78 static void SC_debugFv4(const char *s, float f1, float f2, float f3, float f4) { in SC_debugFv4() argument
79 ALOGD("float x4 %s {%f, %f, %f, %f}", s, f1, f2, f3, f4); in SC_debugFv4()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java353 float[] f1 = new float[]{90.2f, 90.3f}; in testArrays() local
355 float[] fr = mRemote.floatArray(f0, f1, f2); in testArrays()
360 assertEquals(90.1f, f1[0]); in testArrays()
361 assertEquals(0f, f1[1], 0.0f); in testArrays()

12