Searched refs:f1 (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_copy_test.java37 float[] f1 = new float[1024 * 2];
39 for (int ct=0; ct < f1.length; ct++) {
40 f1[ct] = (float)ct;
42 a1.copyFrom(f1);
47 for (int ct=0; ct < f1.length; ct++) {
48 if (f1[ct] != f2[ct]) {
50 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]);
61 float[] f1 = new float[1024 * 4];
63 for (int ct=0; ct < f1.length; ct++) {
64 f1[c
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_az.cpp142 int32 f1[NC16k + 1], f2[NC16k]; local
154 Get_isp_pol_16kHz(&isp[0], f1, nc);
157 f1[i] = shl_int32(f1[i], 2);
167 Get_isp_pol(&isp[0], f1, nc);
186 /* f1[i] *= (1.0 + isp[M-1]); */
189 t0 = f1[i];
193 f1[i] += t0;
209 /* a[i] = 0.5*(f1[i] + f2[i]); */
211 t0 = add_int32(f1[
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_FwdTransformResidual4x4.c49 int f1 = (e1 << 1) + e3; local
53 pDst[i+1] = (OMX_S16)f1;
62 int f1 = pDst[i+4]; local
67 int g2 = f1 + f2;
68 int g3 = f1 - f2;
H A DarmVCM4P10_TransformResidual4x4.c50 int f1 = e1 + e2; local
54 pDst[i+1] = (OMX_S16)f1;
63 int f1 = pDst[i+4]; local
68 int g2 = (f1>>1) - f3;
69 int g3 = f1 + (f3>>1);
/frameworks/compile/libbcc/tests/data/src/
H A Dfloat.c17 float f0, f1; variable
29 f1 = arg1;
36 printf("globals: %g %g %g %g\n", f0, f1, d0, d1);
41 printf("cast rval: %g %g\n", * (float*) & f1, * (double*) & d1);
45 printf("cast lval: %g %g %g %g\n", f0, f1, d0, d1);
/frameworks/compile/libbcc/runtime/test/Unit/
H A Dclear_cache_test.c47 pfunc f1 = (pfunc)(uintptr_t)execution_buffer; local
48 if ( (*f1)() != 1 )
H A Denable_execute_stack_test.c45 pfunc f1 = (pfunc)(uintptr_t)execution_buffer; local
46 if ( (*f1)() != 1 )
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_az.c47 Word32 f1[NC16k + 1], f2[NC16k]; local
56 Get_isp_pol_16kHz(&isp[0], f1, nc);
59 f1[i] = f1[i] << 2;
62 Get_isp_pol(&isp[0], f1, nc);
89 /* f1[i] *= (1.0 + isp[M-1]); */
91 hi = f1[i] >> 16;
92 lo = (f1[i] & 0xffff)>>1;
95 f1[i] = vo_L_add(f1[
[all...]
H A Daz_isp.c70 Word16 f1[NC + 1], f2[NC]; local
79 * f1[i] = a[i] + a[M-i]; *
82 * f1[NC] = 2.0*a[NC]; *
90 f1[i] = vo_round(t0 + (a[M - i] << 15)); /* =(a[i]+a[M-i])/2 */
93 f1[NC] = a[NC];
109 ip = 0; /* indicator for f1 or f2 */
110 coef = f1;
175 coef = f1;
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_az.cpp461 Word32 f1[6], f2[6];
464 Get_lsp_pol (&lsp[0], f1);
469 f1[i] = L_add (f1[i], f1[i - 1]); // f1[i] += f1[i-1];
476 t0 = L_add (f1[i], f2[i]); // f1[i] + f2[i]
478 t0 = L_sub (f1[
517 Word32 f1[6]; local
[all...]
H A Daz_lsp.cpp57 4. Used NC in the definition of f1 and f2 arrays.
356 f1[i] = a[i] + a[11-i] - f1[i-1] ; i=1,...,5
389 Word16 f1[M / 2 + 1], f2[M / 2 + 1];
396 * f1[0] = 1.0; *
401 * f1[i+1] = a[i+1] + a[M-i] - f1[i] ; *
406 f1[0] = 1024; // f1[0] = 1.0
419 // f1[
583 Word16 f1[NC + 1]; local
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp68 sp<Fence> Fence::merge(const String8& name, const sp<Fence>& f1, argument
71 int result = sync_merge(name.string(), f1->mFenceFd, f2->mFenceFd);
75 name.string(), f1->mFenceFd, f2->mFenceFd,
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp364 float f1 = getFloat(); local
371 OP_NAMES[op], f1, f2, f3, f4, paint, flags);
375 float f1 = getFloat(); local
382 OP_NAMES[op], f1, f2, f3, f4, alpha, flags);
386 float f1 = getFloat(); local
388 ALOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], f1, f2);
422 float f1 = getFloat(); local
428 f1, f2, f3, f4, regionOp);
467 float f1 = getFloat(); local
477 (char*) indent, OP_NAMES[op], bitmap, f1, f
529 float f1 = getFloat(); local
539 float f1 = getFloat(); local
551 float f1 = getFloat(); local
560 float f1 = getFloat(); local
570 float f1 = getFloat(); local
948 float f1 = getFloat(); local
960 float f1 = getFloat(); local
972 float f1 = getFloat(); local
1016 float f1 = getFloat(); local
1081 float f1 = getFloat(); local
1159 float f1 = getFloat(); local
1170 float f1 = getFloat(); local
1183 float f1 = getFloat(); local
1193 float f1 = getFloat(); local
1204 float f1 = getFloat(); local
[all...]
/frameworks/compile/mclinker/unittests/
H A DFragmentTest.cpp45 Fragment* f1 = new Fragment(Fragment::Alignment, s); local
H A DSectionDataTest.cpp61 Fragment* f1 = new Fragment(Fragment::Alignment, s); local
/frameworks/native/include/ui/
H A DFence.h77 // becomes signaled when both f1 and f2 are signaled (even if f1 or f2 is
80 static sp<Fence> merge(const String8& name, const sp<Fence>& f1,
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeStubs.cpp257 static void SC_debugFv2(const char *s, float f1, float f2) { argument
258 ALOGD("%s {%f, %f}", s, f1, f2);
260 static void SC_debugFv3(const char *s, float f1, float f2, float f3) { argument
261 ALOGD("%s {%f, %f, %f}", s, f1, f2, f3);
263 static void SC_debugFv4(const char *s, float f1, float f2, float f3, float f4) { argument
264 ALOGD("%s {%f, %f, %f, %f}", s, f1, f2, f3, f4);
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java353 float[] f1 = new float[]{90.2f, 90.3f};
355 float[] fr = mRemote.floatArray(f0, f1, f2);
360 assertEquals(90.1f, f1[0]);
361 assertEquals(0f, f1[1], 0.0f);
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java87 FactoryMerger(Factory<T> f1, Factory<T> f2) { argument
88 mF1 = f1;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp546 static void SC_debugFv2(const char *s, float f1, float f2) { argument
547 ALOGD("%s {%f, %f}", s, f1, f2);
549 static void SC_debugFv3(const char *s, float f1, float f2, float f3) { argument
550 ALOGD("%s {%f, %f, %f}", s, f1, f2, f3);
552 static void SC_debugFv4(const char *s, float f1, float f2, float f3, float f4) { argument
553 ALOGD("%s {%f, %f, %f, %f}", s, f1, f2, f3, f4);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java114 File f1 = new File(dir, "f1.txt.gz");
119 GZIPOutputStream gz1 = new GZIPOutputStream(new FileOutputStream(f1));
137 dropbox.addFile("DropBoxTest", f1, DropBoxManager.IS_TEXT | DropBoxManager.IS_GZIPPED);
505 DropBoxManager.Entry f1 = dropbox.getNextEntry(null, f0.getTimeMillis());
506 DropBoxManager.Entry f2 = dropbox.getNextEntry(null, f1.getTimeMillis());
509 assertEquals("TEST5", f1.getText(80));
513 f1.close();
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaImageItem.java167 final FileOutputStream f1 = new FileOutputStream(mScaledFilename);
168 imageBitmap.compress(Bitmap.CompressFormat.JPEG, 50,f1);
169 f1.close();
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java154 FactoryMerger(Factory f1, Factory2 f12, Factory f2, Factory2 f22) { argument
155 mF1 = f1;

Completed in 606 milliseconds