/frameworks/base/libs/androidfw/ |
Asset.cpp | 356 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) 375 assert(mFp == NULL); // no reopen 398 mFp = fdopen(fd, "rb"); 399 if (mFp == NULL) 407 if (fseek(mFp, mStart, SEEK_SET) != 0) { 421 assert(mFp == NULL); // no reopen 475 if (ftell(mFp) != mStart + mOffset) { 477 ftell(mFp), (long) mStart, (long) mOffset); 488 actual = fread(buf, 1, count, mFp); 514 if (mFp != NULL) [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlur.cpp | 39 float mFp[104]; 61 memset(mFp, 0, sizeof(mFp)); 90 mFp[r + mIradius] = coeff1 * powf(e, floatR * floatR * coeff2); 91 normalizeFactor += mFp[r + mIradius]; 97 mFp[r + mIradius] *= normalizeFactor; 303 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, x1, x2); 306 OneVU4(p, fout, x1, y, pin, stride, cp->mFp, cp->mIradius); 314 OneHU4(p, out, x1, buf, cp->mFp, cp->mIradius); 321 rsdIntrinsicBlurHFU4_K(out, buf - cp->mIradius, cp->mFp, [all...] |
rsCpuIntrinsicConvolve3x3.cpp | 40 float mFp[16]; 77 memcpy (&mFp, data, dataLength); 79 if (mFp[ct] >= 0) { 80 mIp[ct] = (short)(mFp[ct] * 256.f + 0.5f); 82 mIp[ct] = (short)(mFp[ct] * 256.f - 0.5f); 208 ConvolveOneU4(p, 0, out, py0, py1, py2, cp->mFp); 226 ConvolveOneU4(p, x1, out, py0, py1, py2, cp->mFp); 255 ConvolveOneU2(p, 0, out, py0, py1, py2, cp->mFp); 271 ConvolveOneU2(p, x1, out, py0, py1, py2, cp->mFp); 300 ConvolveOneU1(p, 0, out, py0, py1, py2, cp->mFp); [all...] |
rsCpuIntrinsicConvolve5x5.cpp | 40 float mFp[28]; 78 memcpy (&mFp, data, dataLength); 80 if (mFp[ct] >= 0) { 81 mIp[ct] = (short)(mFp[ct] * 256.f + 0.5f); 83 mIp[ct] = (short)(mFp[ct] * 256.f - 0.5f); 377 OneU4(p, x1, out, py0, py1, py2, py3, py4, cp->mFp); 392 OneU4(p, x1, out, py0, py1, py2, py3, py4, cp->mFp); 426 OneU2(p, x1, out, py0, py1, py2, py3, py4, cp->mFp); 441 OneU2(p, x1, out, py0, py1, py2, py3, py4, cp->mFp); 475 OneU1(p, x1, out, py0, py1, py2, py3, py4, cp->mFp); [all...] |
/frameworks/base/include/androidfw/ |
Asset.h | 251 FILE* mFp; // for read/seek
|