Home
last modified time | relevance | path

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

12

/frameworks/native/libs/gui/
DGraphicBufferAlloc.cpp36 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()
DIGraphicBufferAlloc.cpp57 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()
DConsumerBase.cpp281 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()
DGLConsumer.cpp387 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 …]
DBufferQueueProducer.cpp498 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/
DGLConsumer.h252 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);
DConsumerBase.h178 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/
DFrameRenderTracker.h61 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);
DMediaBuffer.h59 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
78 sp<GraphicBuffer> graphicBuffer() const;
/frameworks/native/libs/gui/tests/
DSurface_test.cpp201 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/
DCamera3BufferManager.cpp219 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()
DCamera3BufferManager.h196 sp<GraphicBuffer> graphicBuffer; member
199 graphicBuffer(gb), in graphicBuffer() function
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp108 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/
DIHDCP.cpp121 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()
DIOMX.cpp283 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/
DMediaBuffer.cpp75 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/
DOMXNodeInstance.h75 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,
DOMX.h90 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer);
94 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer);
/frameworks/av/media/libstagefright/
DOMXClient.cpp108 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()
DFrameRenderTracker.cpp46 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/
DHDCP.cpp130 const sp<GraphicBuffer> &graphicBuffer, in encryptNative() argument
143 return mHDCPModule->encryptNative(graphicBuffer->handle, in encryptNative()
DHDCP.h40 const sp<GraphicBuffer> &graphicBuffer,
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerConsumer.cpp202 mPendingRelease.graphicBuffer, fence); in setReleaseFence()
217 mPendingRelease.graphicBuffer, mPendingRelease.display, in releasePendingBuffer()
/frameworks/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp65 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/
DIHDCP.h84 const sp<GraphicBuffer> &graphicBuffer,

12