/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3BufferManager.h | 22 #include <ui/GraphicBuffer.h> 125 status_t getBufferForStream(int streamId, int streamSetId, sp<GraphicBuffer>* gb, int* fenceFd); 173 status_t returnBufferForStream(int streamId, int streamSetId, const sp<GraphicBuffer>& buffer, 190 * mAllocator is the connection to SurfaceFlinger that is used to allocate new GraphicBuffer 196 sp<GraphicBuffer> graphicBuffer; 198 GraphicBufferEntry(const sp<GraphicBuffer>& gb = 0, int fd = -1) : 199 graphicBuffer(gb), 318 * Get the first available buffer from the buffer list for this stream. The graphicBuffer inside
|
/external/deqp/modules/egl/ |
teglAndroidUtil.cpp | 62 using tcu::Android::internal::GraphicBuffer; 84 GraphicBuffer& getGraphicBuffer (void) { return m_graphicBuffer; } 87 GraphicBuffer m_graphicBuffer; 93 GraphicBuffer::USAGE_SW_READ_OFTEN | 94 GraphicBuffer::USAGE_SW_WRITE_RARELY | 95 GraphicBuffer::USAGE_HW_TEXTURE | 96 GraphicBuffer::USAGE_HW_RENDER) 142 GraphicBuffer& graphicBuffer = buffer->getGraphicBuffer(); 153 checkStatus(graphicBuffer.lock(GraphicBuffer::USAGE_SW_WRITE_RARELY, &bufferData)) [all...] |
/frameworks/native/include/gui/ |
ConsumerBase.h | 22 #include <ui/GraphicBuffer.h> 132 // initialized this will release the reference to the GraphicBuffer in that 185 const sp<GraphicBuffer> graphicBuffer, 188 // returns true iff the slot still has the graphicBuffer in it. 189 bool stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer); 197 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 199 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) [all...] |
StreamSplitter.h | 30 class GraphicBuffer; 131 BufferTracker(const sp<GraphicBuffer>& buffer); 133 const sp<GraphicBuffer>& getBuffer() const { return mBuffer; } 151 sp<GraphicBuffer> mBuffer; // One instance that holds this native handle 176 // Map of GraphicBuffer IDs (GraphicBuffer::getId()) to buffer tracking
|
BufferQueueProducer.h | 35 // requestBuffer returns the GraphicBuffer for slot N. 40 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 76 // producer must discard cached GraphicBuffer references for the slot 79 // must discard cached GraphicBuffer references for all slots. 82 // GraphicBuffer handle for the returned slot. 91 virtual status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, 95 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer); 183 virtual status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer,
|
BufferItem.h | 34 class GraphicBuffer; 55 sp<GraphicBuffer> mGraphicBuffer;
|
BufferSlot.h | 21 #include <ui/GraphicBuffer.h> 190 sp<GraphicBuffer> mGraphicBuffer;
|
CpuConsumer.h | 22 #include <ui/GraphicBuffer.h> 133 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/av/media/libstagefright/filters/ |
GraphicBufferListener.h | 45 sp<GraphicBuffer> getBuffer(BufferItem item); 65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/rs/ |
rsGrallocConsumer.h | 22 #include <ui/GraphicBuffer.h> 69 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/av/include/media/stagefright/ |
FrameRenderTracker.h | 33 class GraphicBuffer; 61 Info(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) 65 mGraphicBuffer(graphicBuffer), 82 sp<GraphicBuffer> mGraphicBuffer; 95 // called when |graphicBuffer| corresponding to |mediaTimeUs| is 98 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence);
|
SurfaceMediaSource.h | 37 class GraphicBuffer; 159 sp<GraphicBuffer> mGraphicBuffer; 186 Vector<sp<GraphicBuffer> > mCurrentBuffers;
|
MediaBuffer.h | 34 class GraphicBuffer; 61 MediaBuffer(const sp<GraphicBuffer>& graphicBuffer); 86 sp<GraphicBuffer> graphicBuffer() const; 163 sp<GraphicBuffer> mGraphicBuffer;
|
/frameworks/native/services/surfaceflinger/ |
MonitoredProducer.h | 37 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 43 virtual status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, 46 const sp<GraphicBuffer>& buffer); 61 virtual status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer,
|
/external/deqp/framework/platform/android/ |
tcuAndroidInternals.cpp | 49 GraphicBufferFunctions& gb = m_functions.graphicBuffer; 133 static android::android_native_base_t* getAndroidNativeBase (android::GraphicBuffer* gb) 175 static android::GraphicBuffer* createGraphicBuffer (const GraphicBufferFunctions& functions, NativeBaseFunctions& baseFunctions, deUint32 w, deUint32 h, PixelFormat format, deUint32 usage) 180 TCU_THROW(ResourceError, "Could not alloc for GraphicBuffer"); 185 android::GraphicBuffer* const gb = callConstructor4<android::GraphicBuffer, deUint32, deUint32, PixelFormat, deUint32>(functions.constructor, 198 callDestructor<android::GraphicBuffer>(functions.destructor, gb); 199 TCU_THROW(NotSupportedError, ("GraphicBuffer ctor failed, initCheck returned " + de::toString(ctorStatus)).c_str()); 208 TCU_THROW(NotSupportedError, "GraphicBuffer layout unexpected"); 217 TCU_THROW(NotSupportedError, "GraphicBuffer version unexpected") [all...] |
/frameworks/base/core/jni/ |
android_view_GraphicBuffer.cpp | 17 #define LOG_TAG "GraphicBuffer" 30 #include <ui/GraphicBuffer.h> 52 #define LOCK_CANVAS_USAGE GraphicBuffer::USAGE_SW_READ_OFTEN | GraphicBuffer::USAGE_SW_WRITE_OFTEN 91 GraphicBufferWrapper(const sp<GraphicBuffer>& buffer): buffer(buffer) { 94 sp<GraphicBuffer> buffer; 98 // GraphicBuffer lifecycle 108 ALOGW("createGraphicBufferAlloc() failed in GraphicBuffer.create()"); 114 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &error)); 117 ALOGW("createGraphicBuffer() failed in GraphicBuffer.create()") [all...] |
/frameworks/base/libs/hwui/renderthread/ |
EglManager.h | 22 #include <ui/GraphicBuffer.h> 82 void setTextureAtlas(const sp<GraphicBuffer>& buffer, int64_t* map, size_t mapSize); 109 sp<GraphicBuffer> mAtlasBuffer;
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureFBO_test.cpp | 44 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 68 buf = new GraphicBuffer(anb, false);
|
StreamSplitter_test.cpp | 81 sp<GraphicBuffer> buffer; 88 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, 106 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, 153 sp<GraphicBuffer> buffer; 160 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, 179 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, 217 sp<GraphicBuffer> buffer;
|
/frameworks/native/opengl/tests/gralloc/ |
gralloc.cpp | 25 #include <ui/GraphicBuffer.h> 49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888,
|
/frameworks/av/include/media/ |
IHDCP.h | 20 #include <ui/GraphicBuffer.h> 84 const sp<GraphicBuffer> &graphicBuffer,
|
/frameworks/base/libs/hwui/ |
AssetAtlas.h | 25 #include <ui/GraphicBuffer.h> 112 ANDROID_API void init(sp<GraphicBuffer> buffer, int64_t* map, int count);
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
GrallocBufferBase.cpp | 25 : GraphicBuffer(handle) 33 GraphicBuffer::resetBuffer(handle);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
GrallocBufferBase.cpp | 26 : GraphicBuffer(handle) 34 GraphicBuffer::resetBuffer(handle);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
VirtualDisplaySurface.h | 103 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf); 109 virtual status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, 111 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer); 128 virtual status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, 178 sp<GraphicBuffer> mProducerBuffers[BufferQueue::NUM_BUFFER_SLOTS];
|