Searched defs:mBuf (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.h58 ANativeWindowBuffer *mBuf; member in class:android::PreviewRenderer
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java30 private byte[] mBuf; field in class:BitwiseInputStream
53 mBuf = buf;
81 int data = (mBuf[index] & 0xFF) << 8;
82 if (offset < 8) data |= mBuf[index + 1] & 0xFF;
H A DBitwiseOutputStream.java30 private byte[] mBuf; field in class:BitwiseOutputStream
53 mBuf = new byte[startingLength];
66 System.arraycopy(mBuf, 0, newBuf, 0, len);
78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3);
79 mBuf = newBuf;
102 mBuf[index] |= data >>> 8;
103 if (offset < 8) mBuf[index + 1] |= data & 0xFF;
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java43 private final byte[] mBuf = new byte[1024]; field in class:UlawEncoderInputStream
146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount));
153 encode(mBuf, 0, buf, offset, n, mMax);
155 // move data to bottom of mBuf
157 for (int i = 0; i < mBufCount; i++) mBuf[i] = mBuf[i + n * 2];
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.h37 GLvoid *mBuf; member in class:android::gltrace::ElementArrayBuffer
41 ElementArrayBuffer():mBuf(NULL), mSize(0) {}
/frameworks/base/media/java/android/media/
H A DAmrInputStream.java47 private final byte[] mBuf = new byte[SAMPLES_PER_FRAME * 2]; field in class:AmrInputStream
87 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
93 mBufIn = GsmAmrEncoderEncode(mGae, mBuf, 0, mBuf, 0);
98 System.arraycopy(mBuf, mBufOut, b, offset, length);
H A DResampleInputStream.java45 private byte[] mBuf; field in class:ResampleInputStream
87 // ensure that mBuf is big enough to cover requested 'length'
89 if (mBuf == null) {
90 mBuf = new byte[nIn];
91 } else if (nIn > mBuf.length) {
93 System.arraycopy(mBuf, 0, bf, 0, mBufCount);
94 mBuf = bf;
104 // TODO: should mBuf.length below be nIn instead?
105 int n = mInputStream.read(mBuf, mBufCount, mBuf
[all...]
/frameworks/base/include/androidfw/
H A DAsset.h245 virtual bool isAllocated(void) const { return mBuf != NULL; }
262 unsigned char* mBuf; // for read member in class:android::_FileAsset
302 virtual bool isAllocated(void) const { return mBuf != NULL; }
315 unsigned char* mBuf; // for getBuffer() member in class:android::_CompressedAsset
/frameworks/base/core/java/android/net/http/
H A DConnection.java103 private byte[] mBuf; field in class:Connection
517 if (mBuf == null) mBuf = new byte[8192];
518 return mBuf;
/frameworks/native/include/gui/
H A DBufferQueue.h182 mBuf(INVALID_BUFFER_SLOT) {
205 // mBuf is the slot index of this buffer
206 int mBuf; member in struct:android::BufferQueue::BufferItem

Completed in 77 milliseconds