Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs10 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/av/media/libstagefright/codecs/amrwbenc/src/
Disp_az.c47 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 …]
Daz_isp.c70 Word16 f1[NC + 1], f2[NC]; in Az_isp() local
91 f2[i] = vo_round(t0 - (a[M - i] << 15)); /* =(a[i]-a[M-i])/2 */ in Az_isp()
95 f2[i] = add1(f2[i], f2[i - 2]); in Az_isp()
170 coef = f2; in Az_isp()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_copy_test.java38 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 …]
Dmath.rs6 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 …]
Dkernel_struct.rs9 float f2;
21 out->f2 = 1.0f;
30 s.f2 = in.f2 + x;
42 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
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) {
95 int *i2 = (int*)(&f2);
100 if (f1 == f2)
106 if (float_dist(f1, f2) > FLT_MAX_ULP)
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_copy_test.java38 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 …]
Dmath.rs6 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 …]
Dkernel_struct.rs9 float f2;
21 out->f2 = 1.0f;
30 s.f2 = in.f2 + x;
42 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
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) {
95 int *i2 = (int*)(&f2);
100 if (f1 == f2)
106 if (float_dist(f1, f2) > FLT_MAX_ULP)
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Disp_az.cpp142 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/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs6 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/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak6 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 …]
Dmath.rs6 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 …]
Dmath.rs.orig6 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/
DFence.cpp73 const sp<Fence>& f2) { in merge() argument
79 if (f1->isValid() && f2->isValid()) { in merge()
80 result = sync_merge(name.string(), f1->mFenceFd, f2->mFenceFd); in merge()
83 } else if (f2->isValid()) { in merge()
84 result = sync_merge(name.string(), f2->mFenceFd, f2->mFenceFd); in merge()
91 name.string(), f1->mFenceFd, f2->mFenceFd, in merge()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DarmVCM4P10_TransformResidual4x4.c51 int f2 = e1 - e2; in armVCM4P10_TransformResidual4x4() local
55 pDst[i+2] = (OMX_S16)f2; in armVCM4P10_TransformResidual4x4()
64 int f2 = pDst[i+8]; in armVCM4P10_TransformResidual4x4() local
66 int g0 = f0 + f2; in armVCM4P10_TransformResidual4x4()
67 int g1 = f0 - f2; in armVCM4P10_TransformResidual4x4()
DarmVCM4P10_FwdTransformResidual4x4.c50 int f2 = e0 - e2; in armVCM4P10_FwdTransformResidual4x4() local
54 pDst[i+2] = (OMX_S16)f2; in armVCM4P10_FwdTransformResidual4x4()
63 int f2 = pDst[i+8]; in armVCM4P10_FwdTransformResidual4x4() local
67 int g2 = f1 + f2; in armVCM4P10_FwdTransformResidual4x4()
68 int g3 = f1 - f2; in armVCM4P10_FwdTransformResidual4x4()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dlsp_az.cpp518 Word32 f2[6]; in Lsp_Az() local
527 Get_lsp_pol(&lsp[1], f2, pOverflow); in Lsp_Az()
530 p_f2 = &f2[5]; in Lsp_Az()
535 *(p_f2--) -= f2[i-1]; in Lsp_Az()
540 p_f2 = &f2[1]; in Lsp_Az()
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlocals.cpp18 float f2[2]; member
41 s.f2[0] = 1e4f; in main()
42 s.f2[1] = 100.5f; in main()
/frameworks/compile/slang/lit-tests/opt/
Dlocals_opt_3.rs10 float f2[2];
33 s.f2[0] = 1e4f;
34 s.f2[1] = 100.5f;
Dlocals_opt_default.rs12 float f2[2];
36 s.f2[0] = 1e4f;
37 s.f2[1] = 100.5f;
Dlocals_opt_0.rs10 float f2[2];
33 s.f2[0] = 1e4f;
34 s.f2[1] = 100.5f;
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlocals.rs20 float f2[2];
44 s.f2[0] = 1e4f;
45 s.f2[1] = 100.5f;

12