/frameworks/native/libs/gui/ |
D | GraphicBufferAlloc.cpp | 36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage)); in createGraphicBuffer() local 37 status_t err = graphicBuffer->initCheck(); in createGraphicBuffer() 39 if (err != 0 || graphicBuffer->handle == 0) { in createGraphicBuffer() 45 w, h, strerror(-err), graphicBuffer->handle); in createGraphicBuffer() 48 return graphicBuffer; in createGraphicBuffer()
|
D | ConsumerBase.cpp | 203 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFence() argument 205 return addReleaseFenceLocked(slot, graphicBuffer, fence); in addReleaseFence() 209 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFenceLocked() argument 214 if (!stillTracking(slot, graphicBuffer)) { in addReleaseFenceLocked() 238 int slot, const sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() argument 243 if (!stillTracking(slot, graphicBuffer)) { in releaseBufferLocked() 261 const sp<GraphicBuffer> graphicBuffer) { in stillTracking() argument 266 mSlots[slot].mGraphicBuffer->handle == graphicBuffer->handle); in stillTracking()
|
D | IGraphicBufferAlloc.cpp | 54 sp<GraphicBuffer> graphicBuffer; in createGraphicBuffer() local 57 graphicBuffer = new GraphicBuffer(); in createGraphicBuffer() 58 result = reply.read(*graphicBuffer); in createGraphicBuffer() 64 return graphicBuffer; in createGraphicBuffer()
|
D | GLConsumer.cpp | 353 sp<GraphicBuffer> graphicBuffer, in releaseBufferLocked() argument 360 buf, graphicBuffer, display, eglFence); in releaseBufferLocked() 421 mCurrentTexture, mCurrentTextureImage->graphicBuffer(), in updateAndReleaseLocked() 532 mCurrentTextureImage->graphicBuffer(), fence); in setReleaseFence() 660 mCurrentTextureImage->graphicBuffer(), fence); in syncForReleaseLocked() 778 NULL : mCurrentTextureImage->graphicBuffer(); in computeCurrentTransformMatrixLocked() 867 NULL : mCurrentTextureImage->graphicBuffer(); in getCurrentBuffer() 1057 GLConsumer::EglImage::EglImage(sp<GraphicBuffer> graphicBuffer) : in EglImage() argument 1058 mGraphicBuffer(graphicBuffer), in EglImage() 1114 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop) { in createImage() argument [all …]
|
D | BufferQueueProducer.cpp | 343 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer( in dequeueBuffer() local 345 if (graphicBuffer == NULL) { in dequeueBuffer() 359 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; in dequeueBuffer() 588 const sp<GraphicBuffer>& graphicBuffer(mSlots[slot].mGraphicBuffer); in queueBuffer() local 589 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight()); in queueBuffer() 956 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer( in allocateBuffers() local 966 buffers.push_back(graphicBuffer); in allocateBuffers()
|
/frameworks/native/include/gui/ |
D | GLConsumer.h | 249 const sp<GraphicBuffer> graphicBuffer, 253 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { in releaseBufferLocked() argument 254 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence); in releaseBufferLocked() 286 EglImage(sp<GraphicBuffer> graphicBuffer); 298 const sp<GraphicBuffer>& graphicBuffer() { return mGraphicBuffer; } in graphicBuffer() function 310 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop);
|
D | ConsumerBase.h | 167 const sp<GraphicBuffer> graphicBuffer, 171 bool stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer); 179 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 181 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
|
/frameworks/av/media/libstagefright/ |
D | MediaBuffer.cpp | 59 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer() argument 67 mGraphicBuffer(graphicBuffer), in MediaBuffer() 145 sp<GraphicBuffer> MediaBuffer::graphicBuffer() const { in graphicBuffer() function in android::MediaBuffer
|
D | OMXClient.cpp | 97 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 101 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer); 323 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument 325 node, port_index, graphicBuffer, buffer); in useGraphicBuffer() 330 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) { in updateGraphicBufferInMeta() argument 332 node, port_index, graphicBuffer, buffer); in updateGraphicBufferInMeta()
|
D | OMXCodec.cpp | 1945 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false)); in allocateOutputBuffersFromNativeWindow() local 1951 info.mMediaBuffer = new MediaBuffer(graphicBuffer); in allocateOutputBuffersFromNativeWindow() 1956 err = mOMX->useGraphicBuffer(mNode, kPortIndexOutput, graphicBuffer, in allocateOutputBuffersFromNativeWindow() 1967 bufferId, graphicBuffer.get()); in allocateOutputBuffersFromNativeWindow() 1995 mNativeWindow.get(), info->mMediaBuffer->graphicBuffer().get(), -1); in cancelBufferToNativeWindow() 2022 sp<GraphicBuffer> graphicBuffer = buffers->itemAt(i). in dequeueBufferFromNativeWindow() local 2023 mMediaBuffer->graphicBuffer(); in dequeueBufferFromNativeWindow() 2024 if (graphicBuffer->handle == buf->handle) { in dequeueBufferFromNativeWindow() 2317 bool isGraphicBuffer = buffer->graphicBuffer() != NULL; in on_message() 2878 sp<GraphicBuffer> graphicBuffer = info->mMediaBuffer->graphicBuffer(); in freeBuffer() local [all …]
|
D | ACodec.cpp | 811 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false)); in allocateOutputBuffersFromNativeWindow() local 815 info.mGraphicBuffer = graphicBuffer; in allocateOutputBuffersFromNativeWindow() 819 err = mOMX->useGraphicBuffer(mNode, kPortIndexOutput, graphicBuffer, in allocateOutputBuffersFromNativeWindow() 831 bufferId, graphicBuffer.get()); in allocateOutputBuffersFromNativeWindow()
|
D | AwesomePlayer.cpp | 151 mNativeWindow.get(), buffer->graphicBuffer().get(), -1); in render()
|
/frameworks/av/media/libmedia/ |
D | IHDCP.cpp | 121 const sp<GraphicBuffer> &graphicBuffer, in encryptNative() 126 data.write(*graphicBuffer); in encryptNative() 271 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in onTransact() local 272 data.read(*graphicBuffer); in onTransact() 279 status_t err = encryptNative(graphicBuffer, offset, size, in onTransact()
|
D | IOMX.cpp | 269 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument 274 data.write(*graphicBuffer); in useGraphicBuffer() 291 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) { in updateGraphicBufferInMeta() argument 296 data.write(*graphicBuffer); in updateGraphicBufferInMeta() 732 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in onTransact() local 733 data.read(*graphicBuffer); in onTransact() 737 node, port_index, graphicBuffer, &buffer); in onTransact() 753 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in onTransact() local 754 data.read(*graphicBuffer); in onTransact() 758 node, port_index, graphicBuffer, buffer); in onTransact()
|
/frameworks/av/include/media/stagefright/ |
D | MediaBuffer.h | 55 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 74 sp<GraphicBuffer> graphicBuffer() const;
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 113 BufferMeta(const sp<GraphicBuffer> &graphicBuffer) in BufferMeta() 114 : mGraphicBuffer(graphicBuffer), in BufferMeta() 138 void setGraphicBuffer(const sp<GraphicBuffer> &graphicBuffer) { in setGraphicBuffer() 139 mGraphicBuffer = graphicBuffer; in setGraphicBuffer() 662 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer2_l() argument 677 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer); in useGraphicBuffer2_l() 681 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle)); in useGraphicBuffer2_l() 714 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer() argument 724 return useGraphicBuffer2_l(portIndex, graphicBuffer, buffer); in useGraphicBuffer() 735 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer); in useGraphicBuffer() [all …]
|
D | OMX.cpp | 361 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument 363 port_index, graphicBuffer, buffer); in useGraphicBuffer() 368 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) { in updateGraphicBufferInMeta() argument 370 port_index, graphicBuffer, buffer); in updateGraphicBufferInMeta()
|
/frameworks/av/media/libstagefright/include/ |
D | OMXNodeInstance.h | 74 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 78 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer, 177 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
|
D | OMX.h | 88 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 92 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer);
|
/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/base/services/core/jni/ |
D | com_android_server_AssetAtlasService.cpp | 92 jobject graphicBuffer, jlong bitmapHandle) { in com_android_server_AssetAtlasService_upload() argument 97 sp<GraphicBuffer> buffer(graphicBufferForJavaObject(env, graphicBuffer)); in com_android_server_AssetAtlasService_upload()
|
/frameworks/av/include/media/ |
D | IOMX.h | 106 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) = 0; 110 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) = 0;
|
D | IHDCP.h | 84 const sp<GraphicBuffer> &graphicBuffer,
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 210 jlong proxyPtr, jobject graphicBuffer, jlongArray atlasMapArray) { in android_view_ThreadedRenderer_setAtlas() argument 211 sp<GraphicBuffer> buffer = graphicBufferForJavaObject(env, graphicBuffer); in android_view_ThreadedRenderer_setAtlas()
|