Searched refs:fp (Results 51 - 66 of 66) sorted by relevance

123

/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp175 float fp[16]; member in class:android::renderscript::RsdCpuScriptIntrinsicColorMatrix
234 if (fabs(fp[i]) != 0.f) {
745 ip[ct] = (short)(fp[ct] * 256.f + 0.5f);
746 tmpFp[ct] = fp[ct] * fpMul;
747 //ALOGE("mat %i %f %f", ct, fp[ct], tmpFp[ct]);
766 memcpy (fp, data, sizeof(fp));
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java1032 * @param fp
1034 public void setFromFieldPacker(int xoff, FieldPacker fp) { argument
1037 final byte[] data = fp.getData();
1038 int data_length = fp.getPos();
1055 * @param fp
1057 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { argument
1058 setFromFieldPacker(xoff, 0, 0, component_number, fp);
1069 * @param fp
1071 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) { argument
1086 final byte[] data = fp
2028 copyToFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) argument
[all...]
H A DFieldPacker.java51 FieldPacker fp = new FieldPacker(RenderScript.sPointerSize * 8);
53 fp.addSafely(arg);
55 fp.resize(fp.mPos);
56 return fp;
/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp239 double fp = (fcr - tbw/2)/c.mL; local
243 testFir(buf, c.mL, c.mHalfNumCoefs, fp, fs, /*passSteps*/ 1000, /*stopSteps*/ 100000,
245 printf("passband(%lf, %lf): %.8lf %.8lf %.8lf\n", 0., fp, passMin, passMax, passRipple);
H A DAudioResamplerFirGen.h560 * and is used to verify the design. For this case, fp should be set to the
571 * @param fp is the passband normalized frequency, 0 < fp < fs < 0.5.
573 * @param fs is the stopband normalized frequency, 0 < fp < fs < 0.5.
597 double fp, double fs, int passSteps, int stopSteps,
601 testFir(coef, L, halfNumCoef, 0., fp, passSteps, fmin, fmax);
596 testFir(const T* coef, int L, int halfNumCoef, double fp, double fs, int passSteps, int stopSteps, double &passMin, double &passMax, double &passRipple, double &stopMax, double &stopRipple) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java993 * @param fp
995 public void setFromFieldPacker(int xoff, FieldPacker fp) { argument
998 final byte[] data = fp.getData();
999 int data_length = fp.getPos();
1015 * @param fp
1017 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { argument
1026 final byte[] data = fp.getData();
1027 int data_length = fp.getPos();
1049 * @param fp
1052 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) {
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp233 FILE *fp = fopen("/proc/sys/net/core/wmem_max", "r"); local
235 if (fp != NULL && fgets(line, sizeof(line), fp) != NULL) {
243 if (fp) {
244 fclose(fp);
/frameworks/base/tools/aapt/
H A DCommand.cpp2460 FILE* fp; local
2580 fp = fopen(dependencyFile, "w");
2581 fclose(fp);
2669 fp = fopen(dependencyFile, "a+");
2670 fprintf(fp, " : ");
2672 err = writeDependencyPreReqs(bundle, assets, fp, includeRaw);
2675 fprintf(fp, "%s \\\n", bundle->getAndroidManifestFile());
2676 fclose(fp);
H A DResourceTable.cpp3367 void ResourceTable::writePublicDefinitions(const String16& package, FILE* fp) argument
3369 fprintf(fp,
3375 writePublicDefinitions(package, fp, true);
3376 writePublicDefinitions(package, fp, false);
3378 fprintf(fp,
3383 void ResourceTable::writePublicDefinitions(const String16& package, FILE* fp, bool pub) argument
3410 fprintf(fp, "\n");
3415 fprintf(fp," <!-- PUBLIC SECTION. These resources have been declared public.\n");
3416 fprintf(fp," Changes to these definitions will break binary compatibility. -->\n\n");
3418 fprintf(fp," <!
[all...]
H A DResourceTable.h266 void writePublicDefinitions(const String16& package, FILE* fp);
587 void writePublicDefinitions(const String16& package, FILE* fp, bool pub);
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp1159 FILE* fp = fopen(RT_TABLES_PATH, "re"); local
1160 if (!fp) {
1168 for (int i = 0; i < 64 && fscanf(fp, " %10s %*s", table) == 1; ++i) {
1172 fclose(fp);
H A Ddumpstate.cpp322 FILE *fp = fdopen(fd, "rb"); local
323 getline(&buffer, &i, fp);
324 fclose(fp);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c2238 void (*fp)(u8*, u8*, i32, i32, i32);
2258 fp = FillRow1;
2260 fp = h264bsdFillRow7;
2294 (*fp)(ref, fill, left, x, right);
2301 (*fp)(ref, fill, left, x, right);
2311 (*fp)(ref, fill, left, x, right);
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp22 #include "fp.h"
238 GLfloat const* fp = rhs.elements(); local
241 const GLfloat f = *fp++;
296 GLfloat* fp = m; local
299 *fp++ = fixedToFloat(*rhs++);
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp335 * We ignore "fp" and just write the results to the log file.
337 static void runtime_vfprintf(FILE* fp, const char* format, va_list ap) argument
/frameworks/base/media/tests/contents/media_api/music/
H A Dtest_amr_ietf.amr119 ש�P�8����<3%Ծzź��@�J�v��3JBbL|�}�`<D؃�>����_�M����2�B(ږ��`<4�־�F�0�2:g�N�������L�:��fp<�zz��zC��?�Fj���� �1C�"I���< [o�à !�q��7ٵ4

Completed in 617 milliseconds

123