HomeSort by relevance Sort by last modified time
    Searched refs:mFp (Results 1 - 13 of 13) sorted by null

  /frameworks/av/media/img_utils/src/
FileInput.cpp 24 FileInput::FileInput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {}
39 mFp = ::fopen(mPath, "rb");
40 if (!mFp) {
54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
55 int error = ::ferror(mFp);
62 if (::feof(mFp) != 0 && bytesRead == 0) {
76 if(::fclose(mFp) != 0) {
FileOutput.cpp 24 FileOutput::FileOutput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {}
38 mFp = ::fopen(mPath, "wb");
39 if (!mFp) {
53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
55 int error = ::ferror(mFp);
70 if(::fclose(mFp) != 0) {
  /frameworks/av/media/libstagefright/codecs/mp3dec/test/
mp3reader.h 42 FILE *mFp;
mp3reader.cpp 351 Mp3Reader::Mp3Reader() : mFp(NULL) {
358 mFp = fopen(file, "rb");
359 if (mFp == NULL) return false;
364 bool success = resync(mFp, 0 /*match_header*/, &pos, &header);
383 ssize_t n = sourceReadAt(mFp, mCurrentPos, buffer, 4);
399 if (!resync(mFp, mFixedHeader, &pos, NULL /*out_header*/)) {
408 ssize_t n = sourceReadAt(mFp, mCurrentPos, buffer, frame_size);
420 assert(mFp != NULL);
421 fclose(mFp);
  /frameworks/av/media/img_utils/include/img_utils/
FileInput.h 67 FILE *mFp;
FileOutput.h 38 FILE *mFp;
  /frameworks/base/libs/androidfw/
Asset.cpp 400 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL)
426 assert(mFp == NULL); // no reopen
449 mFp = fdopen(fd, "rb");
450 if (mFp == NULL)
458 if (fseek(mFp, mStart, SEEK_SET) != 0) {
472 assert(mFp == NULL); // no reopen
526 if (ftell(mFp) != mStart + mOffset) {
528 ftell(mFp), (long) mStart, (long) mOffset);
539 actual = fread(buf, 1, count, mFp);
565 if (mFp != NULL)
    [all...]
ZipUtils.cpp 40 FileReader(FILE* fp) : Reader(), mFp(fp), mCurrentOffset(0) {
48 if (fseek(mFp, offset, SEEK_SET) != 0) {
55 size_t read = fread(buf, 1, len, mFp);
65 FILE* mFp;
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicBlur.cpp 39 float mFp[104];
58 memset(mFp, 0, sizeof(mFp));
88 mFp[r + mIradius] = coeff1 * powf(e, floatR * floatR * coeff2);
89 normalizeFactor += mFp[r + mIradius];
95 mFp[r + mIradius] *= normalizeFactor;
96 mIp[r + mIradius] = (uint16_t)(mFp[r + mIradius] * 65536.0f + 0.5f);
329 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, 0, info->dim.x);
333 OneVU4(info, fout, x1, y, pin, stride, cp->mFp, cp->mIradius);
341 OneHU4(info, out, x1, buf, cp->mFp, cp->mIradius)
    [all...]
rsCpuIntrinsicConvolve3x3.cpp 37 float mFp[16];
70 memcpy (&mFp, data, dataLength);
72 if (mFp[ct] >= 0) {
73 mIp[ct] = (short)(mFp[ct] * 256.f + 0.5f);
75 mIp[ct] = (short)(mFp[ct] * 256.f - 0.5f);
201 ConvolveOneU4(info, 0, out, py0, py1, py2, cp->mFp);
219 ConvolveOneU4(info, x1, out, py0, py1, py2, cp->mFp);
248 ConvolveOneU2(info, 0, out, py0, py1, py2, cp->mFp);
264 ConvolveOneU2(info, x1, out, py0, py1, py2, cp->mFp);
293 ConvolveOneU1(info, 0, out, py0, py1, py2, cp->mFp);
    [all...]
rsCpuIntrinsicConvolve5x5.cpp 37 float mFp[28];
72 memcpy (&mFp, data, dataLength);
74 if (mFp[ct] >= 0) {
75 mIp[ct] = (short)(mFp[ct] * 256.f + 0.5f);
77 mIp[ct] = (short)(mFp[ct] * 256.f - 0.5f);
371 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp);
397 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp);
431 OneU2(info, x1, out, py0, py1, py2, py3, py4, cp->mFp);
446 OneU2(info, x1, out, py0, py1, py2, py3, py4, cp->mFp);
480 OneU1(info, x1, out, py0, py1, py2, py3, py4, cp->mFp);
    [all...]
  /packages/apps/Settings/src/com/android/settings/fingerprint/
FingerprintSettings.java 672 private Fingerprint mFp;
692 mFp = getArguments().getParcelable(KEY_FINGERPRINT);
693 final String title = getString(R.string.fingerprint_delete_title, mFp.getName());
709 final int fingerprintId = mFp.getFingerId();
716 parent.deleteFingerPrint(mFp);
723 private Fingerprint mFp;
738 mFp = getArguments().getParcelable("fingerprint");
    [all...]
  /frameworks/base/libs/androidfw/include/androidfw/
Asset.h 274 FILE* mFp; // for read/seek

Completed in 174 milliseconds