Home
last modified time | relevance | path

Searched refs:graphicBuffer (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/gui/
DIGraphicBufferAlloc.cpp54 sp<GraphicBuffer> graphicBuffer; in createGraphicBuffer() local
57 graphicBuffer = new GraphicBuffer(); in createGraphicBuffer()
58 reply.read(*graphicBuffer); in createGraphicBuffer()
64 return graphicBuffer; in createGraphicBuffer()
DBufferQueue.cpp466 sp<GraphicBuffer> graphicBuffer( in dequeueBuffer() local
469 if (graphicBuffer == 0) { in dequeueBuffer()
479 mSlots[buf].mGraphicBuffer = graphicBuffer; in dequeueBuffer()
582 const sp<GraphicBuffer>& graphicBuffer(mSlots[buf].mGraphicBuffer); in queueBuffer() local
583 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight()); in queueBuffer()
DSurfaceTexture.cpp642 const sp<GraphicBuffer>& graphicBuffer) { in createImage() argument
643 EGLClientBuffer cbuf = (EGLClientBuffer)graphicBuffer->getNativeBuffer(); in createImage()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp44 BufferMeta(const sp<GraphicBuffer> &graphicBuffer) in BufferMeta()
45 : mGraphicBuffer(graphicBuffer), in BufferMeta()
418 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer2_l() argument
436 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer); in useGraphicBuffer2_l()
440 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle)); in useGraphicBuffer2_l()
472 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, in useGraphicBuffer() argument
482 return useGraphicBuffer2_l(portIndex, graphicBuffer, buffer); in useGraphicBuffer()
496 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer); in useGraphicBuffer()
507 &header, graphicBuffer, in useGraphicBuffer()
DOMX.cpp340 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument
342 port_index, graphicBuffer, buffer); in useGraphicBuffer()
/frameworks/av/media/libstagefright/
DMediaBuffer.cpp60 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) in MediaBuffer() argument
68 mGraphicBuffer(graphicBuffer), in MediaBuffer()
146 sp<GraphicBuffer> MediaBuffer::graphicBuffer() const { in graphicBuffer() function in android::MediaBuffer
DOMXClient.cpp84 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer);
272 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument
274 node, port_index, graphicBuffer, buffer); in useGraphicBuffer()
DOMXCodec.cpp1785 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false)); in allocateOutputBuffersFromNativeWindow() local
1791 info.mMediaBuffer = new MediaBuffer(graphicBuffer); in allocateOutputBuffersFromNativeWindow()
1796 err = mOMX->useGraphicBuffer(mNode, kPortIndexOutput, graphicBuffer, in allocateOutputBuffersFromNativeWindow()
1807 bufferId, graphicBuffer.get()); in allocateOutputBuffersFromNativeWindow()
1835 mNativeWindow.get(), info->mMediaBuffer->graphicBuffer().get()); in cancelBufferToNativeWindow()
1861 sp<GraphicBuffer> graphicBuffer = buffers->itemAt(i). in dequeueBufferFromNativeWindow() local
1862 mMediaBuffer->graphicBuffer(); in dequeueBufferFromNativeWindow()
1863 if (graphicBuffer->handle == buf->handle) { in dequeueBufferFromNativeWindow()
2179 bool isGraphicBuffer = buffer->graphicBuffer() != NULL; in on_message()
2750 sp<GraphicBuffer> graphicBuffer = info->mMediaBuffer->graphicBuffer(); in freeBuffer() local
[all …]
DACodec.cpp604 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false)); in allocateOutputBuffersFromNativeWindow() local
608 info.mGraphicBuffer = graphicBuffer; in allocateOutputBuffersFromNativeWindow()
612 err = mOMX->useGraphicBuffer(mNode, kPortIndexOutput, graphicBuffer, in allocateOutputBuffersFromNativeWindow()
624 bufferId, graphicBuffer.get()); in allocateOutputBuffersFromNativeWindow()
DAwesomePlayer.cpp133 mNativeWindow.get(), buffer->graphicBuffer().get()); in render()
/frameworks/av/include/media/stagefright/
DMediaBuffer.h53 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
72 sp<GraphicBuffer> graphicBuffer() const;
/frameworks/av/media/libstagefright/include/
DOMXNodeInstance.h65 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
115 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
DOMX.h80 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer);
/frameworks/av/media/libmedia/
DIOMX.cpp263 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { in useGraphicBuffer() argument
268 data.write(*graphicBuffer); in useGraphicBuffer()
609 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); in onTransact() local
610 data.read(*graphicBuffer); in onTransact()
614 node, port_index, graphicBuffer, &buffer); in onTransact()
/frameworks/native/include/gui/
DSurfaceTexture.h255 const sp<GraphicBuffer>& graphicBuffer);
/frameworks/av/include/media/
DIOMX.h97 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) = 0;
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2644 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage)); in createGraphicBuffer() local
2645 status_t err = graphicBuffer->initCheck(); in createGraphicBuffer()
2647 if (err != 0 || graphicBuffer->handle == 0) { in createGraphicBuffer()
2653 w, h, strerror(-err), graphicBuffer->handle); in createGraphicBuffer()
2656 return graphicBuffer; in createGraphicBuffer()
/frameworks/av/libvideoeditor/lvpp/
DNativeWindowRenderer.cpp385 status_t err = anw->queueBuffer(anw, buffer->graphicBuffer().get()); in queueInternalBuffer()