Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DGraphicBufferAlloc.cpp36 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()
DConsumerBase.cpp203 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()
DIGraphicBufferAlloc.cpp54 sp<GraphicBuffer> graphicBuffer; in createGraphicBuffer() local
57 graphicBuffer = new GraphicBuffer(); in createGraphicBuffer()
58 result = reply.read(*graphicBuffer); in createGraphicBuffer()
64 return graphicBuffer; in createGraphicBuffer()
DGLConsumer.cpp353 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 …]
DBufferQueueProducer.cpp343 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/
DGLConsumer.h249 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);
DConsumerBase.h167 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/
DMediaBuffer.cpp59 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
DOMXClient.cpp97 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()
DOMXCodec.cpp1945 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 …]
DACodec.cpp811 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()
DAwesomePlayer.cpp151 mNativeWindow.get(), buffer->graphicBuffer().get(), -1); in render()
/frameworks/av/media/libmedia/
DIHDCP.cpp121 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()
DIOMX.cpp269 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/
DMediaBuffer.h55 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
74 sp<GraphicBuffer> graphicBuffer() const;
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp113 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 …]
DOMX.cpp361 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/
DOMXNodeInstance.h74 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
78 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
177 OMX_U32 portIndex, const sp<GraphicBuffer> &graphicBuffer,
DOMX.h88 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer);
92 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer);
/frameworks/av/media/libmediaplayerservice/
DHDCP.cpp130 const sp<GraphicBuffer> &graphicBuffer, in encryptNative() argument
143 return mHDCPModule->encryptNative(graphicBuffer->handle, in encryptNative()
DHDCP.h40 const sp<GraphicBuffer> &graphicBuffer,
/frameworks/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp92 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/
DIOMX.h106 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) = 0;
110 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) = 0;
DIHDCP.h84 const sp<GraphicBuffer> &graphicBuffer,
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp210 jlong proxyPtr, jobject graphicBuffer, jlongArray atlasMapArray) { in android_view_ThreadedRenderer_setAtlas() argument
211 sp<GraphicBuffer> buffer = graphicBufferForJavaObject(env, graphicBuffer); in android_view_ThreadedRenderer_setAtlas()