/frameworks/base/media/java/android/media/ |
D | ResampleInputStream.java | 45 private byte[] mBuf; field in ResampleInputStream 89 if (mBuf == null) { in read() 90 mBuf = new byte[nIn]; in read() 91 } else if (nIn > mBuf.length) { in read() 93 System.arraycopy(mBuf, 0, bf, 0, mBufCount); in read() 94 mBuf = bf; in read() 105 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount); in read() 111 fir21(mBuf, 0, b, offset, length / 2); in read() 116 if (mBufCount > 0) System.arraycopy(mBuf, nFwd, mBuf, 0, mBufCount); in read()
|
D | AmrInputStream.java | 47 private final byte[] mBuf = new byte[SAMPLES_PER_FRAME * 2]; field in AmrInputStream 87 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i); in read() 93 mBufIn = GsmAmrEncoderEncode(mGae, mBuf, 0, mBuf, 0); in read() 98 System.arraycopy(mBuf, mBufOut, b, offset, length); in read()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitwiseOutputStream.java | 30 private byte[] mBuf; field in BitwiseOutputStream 53 mBuf = new byte[startingLength]; in BitwiseOutputStream() 66 System.arraycopy(mBuf, 0, newBuf, 0, len); in toByteArray() 78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3); in possExpand() 79 mBuf = newBuf; in possExpand() 102 mBuf[index] |= data >>> 8; in write() 103 if (offset < 8) mBuf[index + 1] |= data & 0xFF; in write()
|
D | BitwiseInputStream.java | 30 private byte[] mBuf; field in BitwiseInputStream 53 mBuf = buf; in BitwiseInputStream() 81 int data = (mBuf[index] & 0xFF) << 8; in read() 82 if (offset < 8) data |= mBuf[index + 1] & 0xFF; in read()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | PreviewRenderer.cpp | 101 &mBuf)) != 0) { in getBufferYV12() 111 CHECK_EQ(0, mapper.lock(mBuf->handle, in getBufferYV12() 116 *stride = mBuf->stride; in getBufferYV12() 130 if (mBuf!= NULL) { in renderYV12() 131 CHECK_EQ(0, mapper.unlock(mBuf->handle)); in renderYV12() 133 if ((err = mSurface->ANativeWindow::queueBuffer(mSurface.get(), mBuf, -1)) != 0) { in renderYV12() 137 mBuf = NULL; in renderYV12()
|
D | PreviewRenderer.h | 58 ANativeWindowBuffer *mBuf; variable
|
/frameworks/base/libs/androidfw/ |
D | Asset.cpp | 356 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset() 450 if (mBuf == NULL) in read() 467 } else if (mBuf != NULL) { in read() 470 memcpy(buf, (char*)mBuf + mOffset, count); in read() 532 if (mBuf != NULL) { in close() 533 delete[] mBuf; in close() 534 mBuf = NULL; in close() 561 if (mBuf != NULL) in getBuffer() 562 return mBuf; in getBuffer() 602 mBuf = buf; in getBuffer() [all …]
|
/frameworks/base/core/java/android/speech/srec/ |
D | UlawEncoderInputStream.java | 43 private final byte[] mBuf = new byte[1024]; field in UlawEncoderInputStream 146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount)); in read() 153 encode(mBuf, 0, buf, offset, n, mMax); in read() 157 for (int i = 0; i < mBufCount; i++) mBuf[i] = mBuf[i + n * 2]; in read()
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_context.cpp | 258 mBuf = malloc(size); in ElementArrayBuffer() 262 memcpy(mBuf, buf, size); in ElementArrayBuffer() 267 if (mBuf != NULL) { in ~ElementArrayBuffer() 268 free(mBuf); in ~ElementArrayBuffer() 272 mBuf = NULL; in ~ElementArrayBuffer() 277 memcpy((char*)mBuf + offset, data, size); in updateSubBuffer() 282 return mBuf; in getBuffer()
|
D | gltrace_context.h | 37 GLvoid *mBuf; variable 41 ElementArrayBuffer():mBuf(NULL), mSize(0) {} in ElementArrayBuffer()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 286 ALOGV("fillCodecBuffer_l: setting mBufferSlot %d", item.mBuf); in fillCodecBuffer_l() 287 mBufferSlot[item.mBuf] = item.mGraphicBuffer; in fillCodecBuffer_l() 290 err = submitBuffer_l(mBufferSlot[item.mBuf], item.mTimestamp / 1000, cbi); in fillCodecBuffer_l() 292 ALOGV("submitBuffer_l failed, releasing bq buf %d", item.mBuf); in fillCodecBuffer_l() 293 mBufferQueue->releaseBuffer(item.mBuf, EGL_NO_DISPLAY, in fillCodecBuffer_l() 296 ALOGV("buffer submitted (bq %d, cbi %d)", item.mBuf, cbi); in fillCodecBuffer_l() 434 mBufferQueue->releaseBuffer(item.mBuf, EGL_NO_DISPLAY, in onFrameAvailable()
|
/frameworks/native/libs/gui/ |
D | BufferItemConsumer.cpp | 74 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer; in acquireBuffer() 85 err = addReleaseFenceLocked(item.mBuf, releaseFence); in releaseBuffer() 87 err = releaseBufferLocked(item.mBuf, EGL_NO_DISPLAY, in releaseBuffer()
|
D | ConsumerBase.cpp | 195 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer; in acquireBufferLocked() 198 mSlots[item->mBuf].mFence = item->mFence; in acquireBufferLocked() 200 CB_LOGV("acquireBufferLocked: -> slot=%d", item->mBuf); in acquireBufferLocked()
|
D | CpuConsumer.cpp | 80 int buf = b.mBuf; in lockNextBuffer()
|
D | GLConsumer.cpp | 174 int slot = item->mBuf; in acquireBufferLocked() 216 int buf = item.mBuf; in releaseAndUpdateLocked()
|
D | BufferQueue.cpp | 846 buffer->mBuf = buf; in acquireBuffer()
|
/frameworks/base/include/androidfw/ |
D | Asset.h | 245 virtual bool isAllocated(void) const { return mBuf != NULL; } in isAllocated() 262 unsigned char* mBuf; // for read variable 302 virtual bool isAllocated(void) const { return mBuf != NULL; } in isAllocated() 315 unsigned char* mBuf; // for getBuffer() variable
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 217 err = addReleaseFenceLocked(item.mBuf, item.mFence); in releaseOldestBufferLocked() 229 err = releaseBufferLocked(item.mBuf, in releaseOldestBufferLocked() 296 item.mGraphicBuffer = mSlots[item.mBuf].mGraphicBuffer; in onFrameAvailable() 313 status_t res = addReleaseFenceLocked(item.mBuf, item.mFence); in unpinBuffer()
|
D | RingBufferConsumer.h | 139 return mBufferItem.mBuf == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 104 item.mBuf != mCurrentBufferSlot) { in nextBuffer() 113 mCurrentBufferSlot = item.mBuf; in nextBuffer()
|
/frameworks/base/core/java/android/net/http/ |
D | Connection.java | 103 private byte[] mBuf; field in Connection 517 if (mBuf == null) mBuf = new byte[8192]; in getBuf() 518 return mBuf; in getBuf()
|
/frameworks/native/include/gui/ |
D | BufferQueue.h | 243 mBuf(INVALID_BUFFER_SLOT) { in BufferItem() 268 int mBuf; member
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 308 mBufferSlot[item.mBuf] = item.mGraphicBuffer; in read() 318 mBufferQueue->releaseBuffer(item.mBuf, EGL_NO_DISPLAY, in read() 344 mCurrentSlot = item.mBuf; in read()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerConsumer.cpp | 70 int buf = item.mBuf; in updateTexImage()
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
D | StreamingProcessor.cpp | 634 if (mRecordingBuffers[i].mBuf != in processRecordingFrame() 721 if (item.mBuf != BufferItemConsumer::INVALID_BUFFER_SLOT && in releaseRecordingFrame()
|