/frameworks/native/libs/gui/include/gui/ |
D | GLConsumer.h | 258 const sp<GraphicBuffer> graphicBuffer, 262 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { in releaseBufferLocked() argument 263 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence); in releaseBufferLocked() 268 graphicBuffer(), display(nullptr), fence(nullptr) {} in PendingRelease() 272 sp<GraphicBuffer> graphicBuffer; member 308 explicit EglImage(sp<GraphicBuffer> graphicBuffer); 319 const sp<GraphicBuffer>& graphicBuffer() { return mGraphicBuffer; } in graphicBuffer() function 331 const sp<GraphicBuffer>& graphicBuffer);
|
D | ConsumerBase.h | 207 const sp<GraphicBuffer> graphicBuffer, 211 bool stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer); 219 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 221 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
|
D | BufferItemConsumer.h | 41 virtual void onBufferFreed(const wp<GraphicBuffer>& graphicBuffer) = 0;
|
/frameworks/native/libs/nativedisplay/include/surfacetexture/ |
D | EGLConsumer.h | 119 graphicBuffer(), in PendingRelease() 125 sp<GraphicBuffer> graphicBuffer; member 168 EglImage(sp<GraphicBuffer> graphicBuffer); 182 const sp<GraphicBuffer>& graphicBuffer() { return mGraphicBuffer; } in graphicBuffer() function 193 EGLImageKHR createImage(EGLDisplay dpy, const sp<GraphicBuffer>& graphicBuffer);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | FrameRenderTracker.h | 61 Info(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, in Info() 66 mGraphicBuffer(graphicBuffer), in Info() 99 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence);
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 410 inline CodecBuffer *wrapAs(CodecBuffer *t, sp<GraphicBuffer> const& graphicBuffer) { in wrapAs() argument 414 if (graphicBuffer == nullptr) { in wrapAs() 423 t->attr.anwBuffer.width = graphicBuffer->getWidth(); in wrapAs() 424 t->attr.anwBuffer.height = graphicBuffer->getHeight(); in wrapAs() 425 t->attr.anwBuffer.stride = graphicBuffer->getStride(); in wrapAs() 427 graphicBuffer->getPixelFormat()); in wrapAs() 432 uint64_t usage = graphicBuffer->getUsage(); in wrapAs() 435 uint32_t layerLow = graphicBuffer->getLayerCount(); in wrapAs() 438 t->nativeHandle = graphicBuffer->handle; in wrapAs() 518 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in convertTo() local [all …]
|
/frameworks/av/media/codec2/hal/client/ |
D | output.cpp | 64 sp<GraphicBuffer> graphicBuffer = in createGraphicBuffer() local 70 return graphicBuffer; in createGraphicBuffer() 118 sp<GraphicBuffer> graphicBuffer = createGraphicBuffer(block); in attachToBufferQueue() local 119 graphicBuffer->setGenerationNumber(generation); in attachToBufferQueue() 124 << ", graphicBuffer dimension " << graphicBuffer->getWidth() << "x" in attachToBufferQueue() 125 << graphicBuffer->getHeight() in attachToBufferQueue() 127 << ", format 0x" << std::setw(8) << graphicBuffer->getPixelFormat() in attachToBufferQueue() 128 << ", usage 0x" << std::setw(16) << graphicBuffer->getUsage() in attachToBufferQueue() 130 << ", stride " << graphicBuffer->getStride() in attachToBufferQueue() 131 << ", generation " << graphicBuffer->getGenerationNumber(); in attachToBufferQueue() [all …]
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 416 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFence() argument 418 return addReleaseFenceLocked(slot, graphicBuffer, fence); in addReleaseFence() 422 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFenceLocked() argument 427 if (!stillTracking(slot, graphicBuffer)) { in addReleaseFenceLocked() 483 int slot, const sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() argument 492 if (!stillTracking(slot, graphicBuffer)) { in releaseBufferLocked() 511 const sp<GraphicBuffer> graphicBuffer) { in stillTracking() argument 516 mSlots[slot].mGraphicBuffer->handle == graphicBuffer->handle); in stillTracking()
|
D | GLConsumer.cpp | 344 sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() argument 351 buf, graphicBuffer, display, eglFence); in releaseBufferLocked() 421 mCurrentTexture, mCurrentTextureImage->graphicBuffer(), in updateAndReleaseLocked() 431 pendingRelease->graphicBuffer = in updateAndReleaseLocked() 432 mCurrentTextureImage->graphicBuffer(); in updateAndReleaseLocked() 539 mCurrentTextureImage->graphicBuffer(), fence); in setReleaseFence() 667 mCurrentTextureImage->graphicBuffer(), fence); in syncForReleaseLocked() 739 nullptr : mCurrentTextureImage->graphicBuffer(); in computeCurrentTransformMatrixLocked() 814 nullptr : mCurrentTextureImage->graphicBuffer(); in getCurrentBuffer() 936 GLConsumer::EglImage::EglImage(sp<GraphicBuffer> graphicBuffer) : in EglImage() argument [all …]
|
D | BufferQueueProducer.cpp | 608 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(allocRequest); in dequeueBuffer() local 610 sp<GraphicBuffer> graphicBuffer = in dequeueBuffer() local 615 status_t error = graphicBuffer->initCheck(); in dequeueBuffer() 621 graphicBuffer->setGenerationNumber(mCore->mGenerationNumber); in dequeueBuffer() 622 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; in dequeueBuffer() 971 const sp<GraphicBuffer>& graphicBuffer(mSlots[slot].mGraphicBuffer); in queueBuffer() local 972 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight()); in queueBuffer() 1569 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(allocRequest); in allocateBuffers() local 1571 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer( in allocateBuffers() 1576 status_t result = graphicBuffer->initCheck(); in allocateBuffers() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | WindowThumbnail.java | 46 GraphicBuffer graphicBuffer = GraphicBuffer.createFromHardwareBuffer(thumbnailHeader); in createAndAttach() local 47 t.setBuffer(windowThumbnail.mSurfaceControl, graphicBuffer); in createAndAttach()
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | EGLConsumer.cpp | 290 mCurrentTextureImage->graphicBuffer(), mEglDisplay, in updateAndReleaseLocked() 300 pendingRelease->graphicBuffer = mCurrentTextureImage->graphicBuffer(); in updateAndReleaseLocked() 499 mCurrentTextureImage->graphicBuffer(), fence); in syncForReleaseLocked() 607 EGLConsumer::EglImage::EglImage(sp<GraphicBuffer> graphicBuffer) in EglImage() argument 608 : mGraphicBuffer(graphicBuffer), mEglImage(EGL_NO_IMAGE_KHR), mEglDisplay(EGL_NO_DISPLAY) {} in EglImage() 656 const sp<GraphicBuffer>& graphicBuffer) { in createImage() argument 657 EGLClientBuffer cbuf = static_cast<EGLClientBuffer>(graphicBuffer->getNativeBuffer()); in createImage() 659 (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED) && hasEglProtectedContent(); in createImage()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OMXNodeInstance.h | 205 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 209 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 213 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 222 IOMX::buffer_id buffer, const sp<GraphicBuffer> &graphicBuffer, 272 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
|
/frameworks/av/media/codec2/sfplugin/ |
D | C2NodeImpl.cpp | 284 uint32_t buffer, const sp<GraphicBuffer> &graphicBuffer, in submitBuffer() argument 297 if (graphicBuffer) { in submitBuffer() 300 graphicBuffer->handle, in submitBuffer() 301 graphicBuffer->width, in submitBuffer() 302 graphicBuffer->height, in submitBuffer() 303 graphicBuffer->format, in submitBuffer() 304 graphicBuffer->usage, in submitBuffer() 305 graphicBuffer->stride); in submitBuffer()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 139 explicit BufferMeta(const sp<GraphicBuffer> &graphicBuffer, OMX_U32 portIndex) in BufferMeta() 140 : mGraphicBuffer(graphicBuffer), in BufferMeta() 188 void setGraphicBuffer(const sp<GraphicBuffer> &graphicBuffer) { in setGraphicBuffer() 189 mGraphicBuffer = graphicBuffer; in setGraphicBuffer() 1420 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer2_l() argument 1422 if (graphicBuffer == NULL || buffer == NULL) { in useGraphicBuffer2_l() 1439 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer, portIndex); in useGraphicBuffer2_l() 1443 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle)); in useGraphicBuffer2_l() 1476 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer_l() argument 1478 if (graphicBuffer == NULL || buffer == NULL) { in useGraphicBuffer_l() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.cpp | 292 buffer.graphicBuffer = new GraphicBuffer( in getBufferForStream() 296 status_t res = buffer.graphicBuffer->initCheck(); in getBufferForStream() 300 buffer.graphicBuffer.get(), buffer.graphicBuffer->handle); in getBufferForStream() 317 *gb = buffer.graphicBuffer; in getBufferForStream() 320 __FUNCTION__, buffer.graphicBuffer.get(), buffer.graphicBuffer->handle); in getBufferForStream()
|
D | Camera3BufferManager.h | 209 sp<GraphicBuffer> graphicBuffer; member 212 graphicBuffer(gb), in graphicBuffer() function
|
D | Camera3OutputStream.cpp | 271 sp<GraphicBuffer> graphicBuffer = GraphicBuffer::from(anwBuffer); in fixUpHidlJpegBlobHeader() local 276 GraphicBufferLocker gbLocker(graphicBuffer); in fixUpHidlJpegBlobHeader() 287 static_cast<uint8_t*>(mapped) + graphicBuffer->getWidth() - sizeof(camera_jpeg_blob_t); in fixUpHidlJpegBlobHeader() 291 graphicBuffer->getWidth()); in fixUpHidlJpegBlobHeader() 306 if (blobSizeBytes > (graphicBuffer->getWidth() - sizeof(camera_jpeg_blob_t))) { in fixUpHidlJpegBlobHeader() 308 blobSizeBytes, graphicBuffer->getWidth()); in fixUpHidlJpegBlobHeader() 312 static_cast<uint8_t*>(mapped) + graphicBuffer->getWidth() - sizeof(CameraBlob); in fixUpHidlJpegBlobHeader() 317 graphicBuffer->getWidth()); in fixUpHidlJpegBlobHeader() 324 graphicBuffer->getWidth()); in fixUpHidlJpegBlobHeader() 334 graphicBuffer->unlock(); in fixUpHidlJpegBlobHeader() [all …]
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 963 sp<GraphicBuffer>& graphicBuffer, uint32_t oldGeneration, in migrate() argument 982 if (!graphicBuffer) { in migrate() 1000 if (toUsage != graphicBuffer->getUsage()) { in migrate() 1002 graphicBuffer->handle, GraphicBuffer::CLONE_HANDLE, in migrate() 1003 graphicBuffer->width, graphicBuffer->height, graphicBuffer->format, in migrate() 1004 graphicBuffer->layerCount, toUsage | graphicBuffer->getUsage(), graphicBuffer->stride); in migrate() 1006 graphicBuffer = std::move(newBuffer); in migrate() 1009 __func__, graphicBuffer->getUsage(), toUsage); in migrate() 1012 graphicBuffer->setGenerationNumber(toGeneration); in migrate() 1016 if (!hgbp_b2h(graphicBuffer, &hBuffer, &hGenerationNumber)) { in migrate()
|
/frameworks/base/core/java/android/hardware/ |
D | HardwareBuffer.java | 275 public static HardwareBuffer createFromGraphicBuffer(@NonNull GraphicBuffer graphicBuffer) { in createFromGraphicBuffer() argument 276 long nativeObject = nCreateFromGraphicBuffer(graphicBuffer); in createFromGraphicBuffer() 445 private static native long nCreateFromGraphicBuffer(GraphicBuffer graphicBuffer); in nCreateFromGraphicBuffer() argument
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 46 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) { in onFrameQueued() argument 47 mRenderQueue.emplace_back(mediaTimeUs, graphicBuffer, fence); in onFrameQueued()
|
/frameworks/base/tests/SurfaceViewBufferTests/cpp/ |
D | SurfaceProxy.cpp | 165 android::sp<android::GraphicBuffer> graphicBuffer(static_cast<android::GraphicBuffer*>(buffer)); in Java_com_android_test_SurfaceProxy_drawBuffer() local 172 graphicBuffer->lockAsync(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in Java_com_android_test_SurfaceProxy_drawBuffer() 185 graphicBuffer->unlockAsync(&fenceFd); in Java_com_android_test_SurfaceProxy_drawBuffer()
|
/frameworks/base/libs/hostgraphics/gui/ |
D | BufferItemConsumer.h | 69 status_t addReleaseFenceLocked(int slot, const sp<GraphicBuffer> graphicBuffer, in addReleaseFenceLocked() argument
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineThreadedTest.cpp | 224 auto graphicBuffer = sp<GraphicBuffer>::make(); in TEST_F() local 225 graphicBuffer->usage |= GRALLOC_USAGE_PROTECTED; in TEST_F() 228 ExternalTexture>(std::move(graphicBuffer), *mRenderEngine, in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainerThumbnail.java | 99 GraphicBuffer graphicBuffer = GraphicBuffer.createFromHardwareBuffer(thumbnailHeader); in WindowContainerThumbnail() local 100 t.setBuffer(mSurfaceControl, graphicBuffer); in WindowContainerThumbnail()
|