/frameworks/native/libs/gui/ |
CpuConsumer.cpp | 108 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 110 err = mSlots[buf].mGraphicBuffer->lockYCbCr( 122 err = mSlots[buf].mGraphicBuffer->lock( 146 ab.mGraphicBuffer = mSlots[buf].mGraphicBuffer; 150 nativeBuffer->width = mSlots[buf].mGraphicBuffer->getWidth(); 151 nativeBuffer->height = mSlots[buf].mGraphicBuffer->getHeight(); 152 nativeBuffer->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); 155 mSlots[buf].mGraphicBuffer->getStride(); 193 err = mAcquiredBuffers[lockedIdx].mGraphicBuffer->unlock() [all...] |
BufferItemConsumer.cpp | 74 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer; 85 err = addReleaseFenceLocked(item.mBuf, item.mGraphicBuffer, releaseFence); 87 err = releaseBufferLocked(item.mBuf, item.mGraphicBuffer, EGL_NO_DISPLAY,
|
ConsumerBase.cpp | 94 mSlots[slotIndex].mGraphicBuffer = 0; 184 if (item->mGraphicBuffer != NULL) { 185 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer; 260 return (mSlots[slot].mGraphicBuffer != NULL && 261 mSlots[slot].mGraphicBuffer->handle == graphicBuffer->handle);
|
BufferQueue.cpp | 249 *buf = mSlots[slot].mGraphicBuffer; 299 if (mSlots[i].mGraphicBuffer != NULL) { 396 const sp<GraphicBuffer>& buffer(mSlots[buf].mGraphicBuffer); 404 mSlots[buf].mGraphicBuffer = NULL; 445 mSlots[*outBuf].mGraphicBuffer = graphicBuffer; 464 mSlots[*outBuf].mGraphicBuffer->handle, returnFlags); 541 const sp<GraphicBuffer>& graphicBuffer(mSlots[buf].mGraphicBuffer); 558 item.mGraphicBuffer = mSlots[buf].mGraphicBuffer; 780 i->mBuf, i->mGraphicBuffer.get() [all...] |
IGraphicBufferConsumer.cpp | 71 if (mGraphicBuffer != 0) { 72 c += mGraphicBuffer->getFlattenedSize(); 84 if (mGraphicBuffer != 0) { 85 c += mGraphicBuffer->getFdCount(); 108 if (mGraphicBuffer != 0) { 109 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); 150 mGraphicBuffer = new GraphicBuffer(); 151 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count);
|
GLConsumer.cpp | 248 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); 312 if (item->mGraphicBuffer != NULL) { 370 // We may have to do this even when item.mGraphicBuffer == NULL (which 376 mSlots[buf].mGraphicBuffer, item.mCrop); 393 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, 401 buf, mSlots[buf].mGraphicBuffer->handle); 418 mCurrentTextureBuf = mSlots[buf].mGraphicBuffer; [all...] |
/frameworks/rs/ |
rsGrallocConsumer.cpp | 93 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 95 err = mSlots[buf].mGraphicBuffer->lockYCbCr( 107 err = mSlots[buf].mGraphicBuffer->lock( 124 mAcquiredBuffer.mGraphicBuffer = mSlots[buf].mGraphicBuffer; 127 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() * 129 mAlloc->mHal.state.nativeBuffer = mAcquiredBuffer.mGraphicBuffer->getNativeBuffer(); 133 mSlots[buf].mGraphicBuffer->getWidth()); 135 mSlots[buf].mGraphicBuffer->getHeight()); 137 //mAlloc->format = mSlots[buf].mGraphicBuffer->getPixelFormat() [all...] |
rsGrallocConsumer.h | 63 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/av/media/libstagefright/ |
MediaBuffer.cpp | 68 mGraphicBuffer(graphicBuffer), 119 CHECK(mGraphicBuffer == NULL); 124 CHECK(mGraphicBuffer == NULL); 137 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) { 140 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); 147 return mGraphicBuffer; 191 CHECK(mGraphicBuffer == NULL);
|
SurfaceMediaSource.cpp | 304 if (item.mGraphicBuffer != NULL) { 305 mSlots[item.mBuf].mGraphicBuffer = item.mGraphicBuffer; 346 if (item.mGraphicBuffer != NULL) { 347 mSlots[item.mBuf].mGraphicBuffer = item.mGraphicBuffer; 351 mCurrentBuffers.push_back(mSlots[mCurrentSlot].mGraphicBuffer); 358 passMetadataBuffer(buffer, mSlots[mCurrentSlot].mGraphicBuffer->handle); 408 if (mSlots[id].mGraphicBuffer == NULL) { 412 if (bufferHandle == mSlots[id].mGraphicBuffer->handle) [all...] |
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.cpp | 160 if (item.mGraphicBuffer == find.mGraphicBuffer) { 218 // item.mGraphicBuffer was populated with the proper graphic-buffer 221 item.mGraphicBuffer, item.mFence); 233 // item.mGraphicBuffer was populated with the proper graphic-buffer 235 err = releaseBufferLocked(item.mBuf, item.mGraphicBuffer, 302 item.mGraphicBuffer = mSlots[item.mBuf].mGraphicBuffer; 318 if (item.mGraphicBuffer == find.mGraphicBuffer) { [all...] |
/frameworks/native/services/surfaceflinger/ |
SurfaceFlingerConsumer.cpp | 71 if (rejecter && rejecter->reject(mSlots[buf].mGraphicBuffer, item)) { 72 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, EGL_NO_SYNC_KHR);
|
/frameworks/av/media/libstagefright/omx/ |
GraphicBufferSource.cpp | 187 // TODO: scan mCodecBuffers to verify that all mGraphicBuffer entries 233 if (codecBuffer.mGraphicBuffer == NULL) { 251 if (bufferHandle != codecBuffer.mGraphicBuffer->handle) { 254 bufferHandle, codecBuffer.mGraphicBuffer->handle); 264 mBufferSlot[id]->handle == codecBuffer.mGraphicBuffer->handle) { 280 codecBuffer.mGraphicBuffer = NULL; 412 if (item.mGraphicBuffer != NULL) { 414 mBufferSlot[item.mBuf] = item.mGraphicBuffer; 591 codecBuffer.mGraphicBuffer = mBufferSlot[item.mBuf]; 599 buffer_handle_t handle = codecBuffer.mGraphicBuffer->handle [all...] |
GraphicBufferSource.h | 137 // (mGraphicBuffer == NULL) or in use by the codec. 147 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/av/include/media/stagefright/ |
MediaBuffer.h | 105 sp<GraphicBuffer> mGraphicBuffer;
|
SurfaceMediaSource.h | 150 sp<GraphicBuffer> mGraphicBuffer;
|
ACodec.h | 148 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/native/include/gui/ |
ConsumerBase.h | 183 // mGraphicBuffer is the Gralloc buffer store in the slot or NULL if 185 sp<GraphicBuffer> mGraphicBuffer;
|
CpuConsumer.h | 121 sp<GraphicBuffer> mGraphicBuffer;
|
IGraphicBufferConsumer.h | 54 // mGraphicBuffer points to the buffer allocated for this slot, or is NULL 57 sp<GraphicBuffer> mGraphicBuffer; 105 // acquired then the BufferItem::mGraphicBuffer field of buffer is set to
|
BufferQueue.h | 218 // acquired then the BufferItem::mGraphicBuffer field of buffer is set to 371 // mGraphicBuffer points to the buffer allocated for this slot or is NULL 373 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3InputStream.cpp | 75 anb = bufferItem.mGraphicBuffer->getNativeBuffer(); 113 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer();
|
Camera3ZslStream.cpp | 166 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer(); 211 tmp->getBufferItem().mGraphicBuffer->getNativeBuffer();
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
FramebufferSurface.cpp | 118 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer;
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
StreamingProcessor.cpp | 711 *((buffer_handle_t*)(data + 4)) = imgBuffer.mGraphicBuffer->handle; 714 imgBuffer.mGraphicBuffer->handle); 765 item.mGraphicBuffer->handle == imgHandle) { 814 mId, item.mGraphicBuffer->handle, strerror(-res), res);
|