/frameworks/native/libs/gui/ |
D | GraphicBufferAlloc.cpp | 36 sp<GraphicBuffer> graphicBuffer( in createGraphicBuffer() local 38 status_t err = graphicBuffer->initCheck(); in createGraphicBuffer() 40 if (err != 0 || graphicBuffer->handle == 0) { in createGraphicBuffer() 46 width, height, strerror(-err), graphicBuffer->handle); in createGraphicBuffer() 49 return graphicBuffer; in createGraphicBuffer()
|
D | IGraphicBufferAlloc.cpp | 57 sp<GraphicBuffer> graphicBuffer; in createGraphicBuffer() local 60 graphicBuffer = new GraphicBuffer(); in createGraphicBuffer() 61 result = reply.read(*graphicBuffer); in createGraphicBuffer() 63 graphicBuffer.clear(); in createGraphicBuffer() 70 return graphicBuffer; in createGraphicBuffer()
|
D | ConsumerBase.cpp | 281 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFence() argument 283 return addReleaseFenceLocked(slot, graphicBuffer, fence); in addReleaseFence() 287 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFenceLocked() argument 292 if (!stillTracking(slot, graphicBuffer)) { in addReleaseFenceLocked() 316 int slot, const sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() argument 325 if (!stillTracking(slot, graphicBuffer)) { in releaseBufferLocked() 343 const sp<GraphicBuffer> graphicBuffer) { in stillTracking() argument 348 mSlots[slot].mGraphicBuffer->handle == graphicBuffer->handle); in stillTracking()
|
D | GLConsumer.cpp | 387 sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() argument 394 buf, graphicBuffer, display, eglFence); in releaseBufferLocked() 464 mCurrentTexture, mCurrentTextureImage->graphicBuffer(), in updateAndReleaseLocked() 474 pendingRelease->graphicBuffer = in updateAndReleaseLocked() 475 mCurrentTextureImage->graphicBuffer(); in updateAndReleaseLocked() 583 mCurrentTextureImage->graphicBuffer(), fence); in setReleaseFence() 711 mCurrentTextureImage->graphicBuffer(), fence); in syncForReleaseLocked() 802 nullptr : mCurrentTextureImage->graphicBuffer(); in computeCurrentTransformMatrixLocked() 922 NULL : mCurrentTextureImage->graphicBuffer(); in getCurrentBuffer() 1154 GLConsumer::EglImage::EglImage(sp<GraphicBuffer> graphicBuffer) : in EglImage() argument [all …]
|
D | BufferQueueProducer.cpp | 498 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer( in dequeueBuffer() local 503 if (graphicBuffer != NULL && !mCore->mIsAbandoned) { in dequeueBuffer() 504 graphicBuffer->setGenerationNumber(mCore->mGenerationNumber); in dequeueBuffer() 505 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; in dequeueBuffer() 511 if (graphicBuffer == NULL) { in dequeueBuffer() 802 const sp<GraphicBuffer>& graphicBuffer(mSlots[slot].mGraphicBuffer); in queueBuffer() local 803 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight()); in queueBuffer() 1257 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer( in allocateBuffers() local 1267 buffers.push_back(graphicBuffer); in allocateBuffers()
|
/frameworks/native/include/gui/ |
D | GLConsumer.h | 252 const sp<GraphicBuffer> graphicBuffer, 256 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { in releaseBufferLocked() argument 257 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence); in releaseBufferLocked() 264 graphicBuffer(), display(nullptr), fence(nullptr) {} in PendingRelease() 268 sp<GraphicBuffer> graphicBuffer; member 304 EglImage(sp<GraphicBuffer> graphicBuffer); 316 const sp<GraphicBuffer>& graphicBuffer() { return mGraphicBuffer; } in graphicBuffer() function 328 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop);
|
D | ConsumerBase.h | 178 const sp<GraphicBuffer> graphicBuffer, 182 bool stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer); 190 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 192 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
|
/frameworks/av/include/media/stagefright/ |
D | FrameRenderTracker.h | 61 Info(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) in Info() 65 mGraphicBuffer(graphicBuffer), in Info() 98 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence);
|
D | MediaBuffer.h | 59 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 78 sp<GraphicBuffer> graphicBuffer() const;
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 201 sp<GraphicBuffer> graphicBuffer; in TEST_F() local 203 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&graphicBuffer, &fence)); in TEST_F() 204 ASSERT_EQ(0U, graphicBuffer->getGenerationNumber()); in TEST_F() 207 buffer = static_cast<ANativeWindowBuffer*>(graphicBuffer.get()); in TEST_F() 215 graphicBuffer = static_cast<GraphicBuffer*>(buffer); in TEST_F() 216 ASSERT_EQ(1U, graphicBuffer->getGenerationNumber()); in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.cpp | 219 if (buffer.graphicBuffer == nullptr) { in getBufferForStream() 223 buffer.graphicBuffer = mAllocator->createGraphicBuffer( in getBufferForStream() 227 buffer.graphicBuffer.get(), buffer.graphicBuffer->handle); in getBufferForStream() 245 *gb = buffer.graphicBuffer; in getBufferForStream() 248 __FUNCTION__, buffer.graphicBuffer.get(), buffer.graphicBuffer->handle); in getBufferForStream() 436 const sp<GraphicBuffer>& buffer = bufEntry.valueAt(m).graphicBuffer; in dump() 528 ALOGV_IF(entry.graphicBuffer == 0, "%s: Unable to find free buffer for stream %d", in getFirstBufferFromBufferListLocked()
|
D | Camera3BufferManager.h | 196 sp<GraphicBuffer> graphicBuffer; member 199 graphicBuffer(gb), in graphicBuffer() function
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 108 BufferMeta(const sp<GraphicBuffer> &graphicBuffer, OMX_U32 portIndex) in BufferMeta() 109 : mGraphicBuffer(graphicBuffer), in BufferMeta() 154 void setGraphicBuffer(const sp<GraphicBuffer> &graphicBuffer) { in setGraphicBuffer() 155 mGraphicBuffer = graphicBuffer; in setGraphicBuffer() 732 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer2_l() argument 734 if (graphicBuffer == NULL || buffer == NULL) { in useGraphicBuffer2_l() 751 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer, portIndex); in useGraphicBuffer2_l() 755 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle)); in useGraphicBuffer2_l() 788 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer() argument 790 if (graphicBuffer == NULL || buffer == NULL) { in useGraphicBuffer() [all …]
|
/frameworks/av/media/libmedia/ |
D | IHDCP.cpp | 121 const sp<GraphicBuffer> &graphicBuffer, in encryptNative() 126 data.write(*graphicBuffer); in encryptNative() 282 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in onTransact() local 283 data.read(*graphicBuffer); in onTransact() 295 err = encryptNative(graphicBuffer, offset, size, in onTransact()
|
D | IOMX.cpp | 283 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument 288 data.write(*graphicBuffer); in useGraphicBuffer() 305 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) { in updateGraphicBufferInMeta() argument 310 data.write(*graphicBuffer); in updateGraphicBufferInMeta() 902 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in onTransact() local 903 data.read(*graphicBuffer); in onTransact() 907 node, port_index, graphicBuffer, &buffer); in onTransact() 923 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in onTransact() local 924 data.read(*graphicBuffer); in onTransact() 928 node, port_index, graphicBuffer, buffer); in onTransact()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 75 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer() argument 83 mGraphicBuffer(graphicBuffer), in MediaBuffer() 161 sp<GraphicBuffer> MediaBuffer::graphicBuffer() const { in graphicBuffer() function in android::MediaBuffer
|
/frameworks/av/media/libstagefright/include/ |
D | OMXNodeInstance.h | 75 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 79 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 208 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 250 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
|
D | OMX.h | 90 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 94 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer);
|
/frameworks/av/media/libstagefright/ |
D | OMXClient.cpp | 108 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 112 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer); 388 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument 390 node, port_index, graphicBuffer, buffer); in useGraphicBuffer() 395 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) { in updateGraphicBufferInMeta() argument 397 node, port_index, graphicBuffer, buffer); in updateGraphicBufferInMeta()
|
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/av/media/libmediaplayerservice/ |
D | HDCP.cpp | 130 const sp<GraphicBuffer> &graphicBuffer, in encryptNative() argument 143 return mHDCPModule->encryptNative(graphicBuffer->handle, in encryptNative()
|
D | HDCP.h | 40 const sp<GraphicBuffer> &graphicBuffer,
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerConsumer.cpp | 202 mPendingRelease.graphicBuffer, fence); in setReleaseFence() 217 mPendingRelease.graphicBuffer, mPendingRelease.display, in releasePendingBuffer()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AssetAtlasService.cpp | 65 jobject graphicBuffer, jobject bitmapHandle) { in com_android_server_AssetAtlasService_upload() argument 73 sp<GraphicBuffer> buffer(graphicBufferForJavaObject(env, graphicBuffer)); in com_android_server_AssetAtlasService_upload()
|
/frameworks/av/include/media/ |
D | IHDCP.h | 84 const sp<GraphicBuffer> &graphicBuffer,
|