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

/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage));
37 status_t err = graphicBuffer->initCheck();
39 if (err != 0 || graphicBuffer->handle == 0) {
45 w, h, strerror(-err), graphicBuffer->handle);
48 return graphicBuffer;
H A DIGraphicBufferAlloc.cpp54 sp<GraphicBuffer> graphicBuffer; local
57 graphicBuffer = new GraphicBuffer();
58 result = reply.read(*graphicBuffer);
64 return graphicBuffer;
H A DConsumerBase.cpp203 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
205 return addReleaseFenceLocked(slot, graphicBuffer, fence);
209 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
212 // If consumer no longer tracks this graphicBuffer, we can safely
214 if (!stillTracking(slot, graphicBuffer)) {
238 int slot, const sp<GraphicBuffer> graphicBuffer,
240 // If consumer no longer tracks this graphicBuffer (we received a new
243 if (!stillTracking(slot, graphicBuffer)) {
261 const sp<GraphicBuffer> graphicBuffer) {
266 mSlots[slot].mGraphicBuffer->handle == graphicBuffer
202 addReleaseFence(int slot, const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) argument
208 addReleaseFenceLocked(int slot, const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) argument
237 releaseBufferLocked( int slot, const sp<GraphicBuffer> graphicBuffer, EGLDisplay display, EGLSyncKHR eglFence) argument
260 stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer) argument
[all...]
H A DGLConsumer.cpp353 sp<GraphicBuffer> graphicBuffer,
360 buf, graphicBuffer, display, eglFence);
421 mCurrentTexture, mCurrentTextureImage->graphicBuffer(),
532 mCurrentTextureImage->graphicBuffer(), fence);
660 mCurrentTextureImage->graphicBuffer(), fence);
778 NULL : mCurrentTextureImage->graphicBuffer();
867 NULL : mCurrentTextureImage->graphicBuffer();
1057 GLConsumer::EglImage::EglImage(sp<GraphicBuffer> graphicBuffer) : argument
1058 mGraphicBuffer(graphicBuffer),
1114 const sp<GraphicBuffer>& graphicBuffer, cons
352 releaseBufferLocked(int buf, sp<GraphicBuffer> graphicBuffer, EGLDisplay display, EGLSyncKHR eglFence) argument
1113 createImage(EGLDisplay dpy, const sp<GraphicBuffer>& graphicBuffer, const Rect& crop) argument
[all...]
H A DBufferQueueProducer.cpp343 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer(
345 if (graphicBuffer == NULL) {
359 mSlots[*outSlot].mGraphicBuffer = graphicBuffer;
588 const sp<GraphicBuffer>& graphicBuffer(mSlots[slot].mGraphicBuffer);
589 Rect bufferRect(graphicBuffer->getWidth(), graphicBuffer->getHeight());
956 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer(
966 buffers.push_back(graphicBuffer);
/frameworks/native/include/gui/
H A DConsumerBase.h167 const sp<GraphicBuffer> graphicBuffer,
170 // returns true iff the slot still has the graphicBuffer in it.
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);
H A DGLConsumer.h249 const sp<GraphicBuffer> graphicBuffer,
253 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) {
254 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence);
286 EglImage(sp<GraphicBuffer> graphicBuffer);
298 const sp<GraphicBuffer>& graphicBuffer() { return mGraphicBuffer; } function in class:android::GLConsumer::EglImage
310 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop);
252 releaseBufferLocked(int slot, const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) argument
/frameworks/av/include/media/stagefright/
H A DMediaBuffer.h55 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer);
74 sp<GraphicBuffer> graphicBuffer() const;
/frameworks/av/media/libstagefright/
H A DMediaBuffer.cpp59 MediaBuffer::MediaBuffer(const sp<GraphicBuffer>& graphicBuffer) argument
67 mGraphicBuffer(graphicBuffer),
145 sp<GraphicBuffer> MediaBuffer::graphicBuffer() const { function in class:android::MediaBuffer
H A 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) {
325 node, port_index, graphicBuffer, buffer);
330 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) {
332 node, port_index, graphicBuffer, buffer);
321 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
328 updateGraphicBufferInMeta( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) argument
H A DOMXCodec.cpp1945 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false));
1951 info.mMediaBuffer = new MediaBuffer(graphicBuffer);
1956 err = mOMX->useGraphicBuffer(mNode, kPortIndexOutput, graphicBuffer,
1967 bufferId, graphicBuffer.get());
1995 mNativeWindow.get(), info->mMediaBuffer->graphicBuffer().get(), -1);
2022 sp<GraphicBuffer> graphicBuffer = buffers->itemAt(i). local
2023 mMediaBuffer->graphicBuffer();
2024 if (graphicBuffer->handle == buf->handle) {
2317 bool isGraphicBuffer = buffer->graphicBuffer() != NULL;
2878 sp<GraphicBuffer> graphicBuffer local
[all...]
H A DACodec.cpp811 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(buf, false));
815 info.mGraphicBuffer = graphicBuffer;
819 err = mOMX->useGraphicBuffer(mNode, kPortIndexOutput, graphicBuffer,
831 bufferId, graphicBuffer.get());
H A DAwesomePlayer.cpp151 mNativeWindow.get(), buffer->graphicBuffer().get(), -1);
/frameworks/av/include/media/
H A DIHDCP.h84 const sp<GraphicBuffer> &graphicBuffer,
H A DIOMX.h106 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) = 0;
110 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) = 0;
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.h40 const sp<GraphicBuffer> &graphicBuffer,
H A DHDCP.cpp130 const sp<GraphicBuffer> &graphicBuffer,
143 return mHDCPModule->encryptNative(graphicBuffer->handle,
129 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
/frameworks/av/media/libmedia/
H A DIHDCP.cpp121 const sp<GraphicBuffer> &graphicBuffer,
126 data.write(*graphicBuffer);
271 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); local
272 data.read(*graphicBuffer);
279 status_t err = encryptNative(graphicBuffer, offset, size,
120 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
H A DIOMX.cpp269 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) {
274 data.write(*graphicBuffer);
291 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) {
296 data.write(*graphicBuffer);
732 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); local
733 data.read(*graphicBuffer);
737 node, port_index, graphicBuffer, &buffer);
753 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); local
754 data.read(*graphicBuffer);
758 node, port_index, graphicBuffer, buffe
267 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
289 updateGraphicBufferInMeta( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) argument
[all...]
/frameworks/av/media/libstagefright/include/
H A 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,
H A DOMX.h88 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer);
92 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer);
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp113 BufferMeta(const sp<GraphicBuffer> &graphicBuffer) argument
114 : mGraphicBuffer(graphicBuffer),
138 void setGraphicBuffer(const sp<GraphicBuffer> &graphicBuffer) { argument
139 mGraphicBuffer = graphicBuffer;
662 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer,
677 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer);
681 reinterpret_cast<const OMX_U8*>(graphicBuffer->handle));
714 OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer,
724 return useGraphicBuffer2_l(portIndex, graphicBuffer, buffer);
735 BufferMeta *bufferMeta = new BufferMeta(graphicBuffer);
661 useGraphicBuffer2_l( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
713 useGraphicBuffer( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id *buffer) argument
773 updateGraphicBufferInMeta( OMX_U32 portIndex, const sp<GraphicBuffer>& graphicBuffer, OMX::buffer_id buffer) argument
[all...]
H A DOMX.cpp361 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) {
363 port_index, graphicBuffer, buffer);
368 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) {
370 port_index, graphicBuffer, buffer);
359 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
366 updateGraphicBufferInMeta( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_AssetAtlasService.cpp92 jobject graphicBuffer, jlong bitmapHandle) {
97 sp<GraphicBuffer> buffer(graphicBufferForJavaObject(env, graphicBuffer));
91 com_android_server_AssetAtlasService_upload(JNIEnv* env, jobject, jobject graphicBuffer, jlong bitmapHandle) argument
/frameworks/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp210 jlong proxyPtr, jobject graphicBuffer, jlongArray atlasMapArray) {
211 sp<GraphicBuffer> buffer = graphicBufferForJavaObject(env, graphicBuffer);
209 android_view_ThreadedRenderer_setAtlas(JNIEnv* env, jobject clazz, jlong proxyPtr, jobject graphicBuffer, jlongArray atlasMapArray) argument

Completed in 366 milliseconds