/frameworks/native/opengl/tests/gl2_yuvtex/ |
gl2_yuvtex.cpp | 31 #include <ui/GraphicBuffer.h> 185 const int yuvTexUsage = GraphicBuffer::USAGE_HW_TEXTURE | 186 GraphicBuffer::USAGE_SW_WRITE_RARELY; 190 static sp<GraphicBuffer> yuvTexBuffer; 196 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat,
|
/frameworks/native/opengl/tests/hwc/ |
hwcRects.cpp | 109 #include <ui/GraphicBuffer.h> 160 sp<GraphicBuffer> texture; 165 static const int texUsage = GraphicBuffer::USAGE_HW_TEXTURE | 166 GraphicBuffer::USAGE_SW_WRITE_RARELY; 507 rect.texture = new GraphicBuffer(rect.sourceDim.width(),
|
/hardware/intel/common/libmix/videoencoder/ |
IntelMetadataBuffer.cpp | 31 #include <ui/GraphicBuffer.h> 41 sp<GraphicBuffer> gbuffer; 100 else if (type == ST_GFX) /*graphicbuffer*/ 102 sp<GraphicBuffer> buffer = new GraphicBuffer(); 115 buffer->lock(GraphicBuffer::USAGE_HW_TEXTURE | GraphicBuffer::USAGE_SW_READ_OFTEN, &usrptr[0]); 149 else if (smem->type == ST_GFX) /*graphicbuffer*/ 735 IMB_Result IntelMetadataBuffer::ShareValue(sp<GraphicBuffer> gbuffer) 757 //send value/graphicbuffer ob [all...] |
/frameworks/av/media/libmedia/ |
IHDCP.cpp | 121 const sp<GraphicBuffer> &graphicBuffer, 126 data.write(*graphicBuffer); 282 sp<GraphicBuffer> graphicBuffer = new GraphicBuffer(); 283 data.read(*graphicBuffer); 295 err = encryptNative(graphicBuffer, offset, size,
|
/frameworks/native/libs/gui/ |
Surface.cpp | 132 status_t Surface::getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, 286 sp<GraphicBuffer>& gbuf(mSlots[mSharedBufferSlot].buffer); 311 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); 872 int Surface::detachNextBuffer(sp<GraphicBuffer>* outBuffer, 883 sp<GraphicBuffer> buffer(NULL); 915 sp<GraphicBuffer> graphicBuffer(static_cast<GraphicBuffer*>(buffer)); 916 uint32_t priorGeneration = graphicBuffer->mGenerationNumber; 917 graphicBuffer->mGenerationNumber = mGenerationNumber [all...] |
BufferItem.cpp | 20 #include <ui/GraphicBuffer.h> 175 mGraphicBuffer = new GraphicBuffer();
|
BufferQueueProducer.cpp | 58 status_t BufferQueueProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { 406 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); 427 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); 498 sp<GraphicBuffer> graphicBuffer(mCore->mAllocator->createGraphicBuffer( 504 if (graphicBuffer != NULL && !mCore->mIsAbandoned) { 505 graphicBuffer->setGenerationNumber(mCore->mGenerationNumber); 506 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; 512 if (graphicBuffer == NULL) { 611 status_t BufferQueueProducer::detachNextBuffer(sp<GraphicBuffer>* outBuffer [all...] |
BufferQueueCore.cpp | 139 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); 154 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); 162 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer);
|
/frameworks/rs/ |
rsGrallocConsumer.cpp | 27 #include <ui/GraphicBuffer.h> 117 GraphicBuffer::USAGE_SW_READ_OFTEN, 129 GraphicBuffer::USAGE_SW_READ_OFTEN,
|
/frameworks/base/libs/hwui/ |
AssetAtlas.cpp | 30 void AssetAtlas::init(sp<GraphicBuffer> buffer, int64_t* map, int count) {
|
DeferredLayerUpdater.cpp | 95 sp<GraphicBuffer> buffer = mSurfaceTexture->getCurrentBuffer();
|
/frameworks/base/media/jni/ |
android_media_Utils.h | 132 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage,
|
/frameworks/native/include/ui/ |
Gralloc1On0Adapter.h | 21 #include <ui/GraphicBuffer.h> 34 // is capable of collaborating with GraphicBuffer such that queries on a 48 gralloc1_device_t* device, const android::GraphicBuffer* buffer); 274 // backing store ID will be the same as the GraphicBuffer unique ID 358 gralloc1_error_t retain(const GraphicBuffer* buffer); 360 const GraphicBuffer* buffer) {
|
Gralloc1.h | 38 class GraphicBuffer; 98 gralloc1_error_t retain(const GraphicBuffer* buffer);
|
/frameworks/native/services/surfaceflinger/ |
Layer.h | 31 #include <ui/GraphicBuffer.h> 60 class GraphicBuffer; 396 inline const sp<GraphicBuffer>& getActiveBuffer() const { return mActiveBuffer; } 558 sp<GraphicBuffer> mActiveBuffer;
|
/frameworks/av/media/libstagefright/ |
SurfaceUtils.cpp | 179 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
|
FrameRenderTracker.cpp | 46 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) { 47 mRenderQueue.emplace_back(mediaTimeUs, graphicBuffer, fence);
|
MediaSync.cpp | 33 #include <ui/GraphicBuffer.h> 720 sp<GraphicBuffer> buffer; 751 const sp<GraphicBuffer> &buffer, const sp<Fence> &fence) { 760 sp<GraphicBuffer> oldBuffer = mBuffersFromInput.valueAt(ix);
|
OMXClient.cpp | 108 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 112 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer); 388 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { 390 node, port_index, graphicBuffer, buffer); 395 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) { 397 node, port_index, graphicBuffer, buffer) [all...] |
/frameworks/av/media/libstagefright/include/ |
OMX.h | 90 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer); 94 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer);
|
/external/drm_hwcomposer/ |
glworker.cpp | 32 #include <ui/GraphicBuffer.h> 555 const sp<GraphicBuffer> &framebuffer) { 703 const sp<GraphicBuffer> &gb, AutoEGLDisplayImage &&image, 721 const sp<GraphicBuffer> &framebuffer) { 730 const sp<GraphicBuffer> &framebuffer) {
|
/frameworks/av/media/libstagefright/wifi-display/ |
MediaSender.cpp | 34 #include <ui/GraphicBuffer.h> 425 sp<GraphicBuffer> grbuf(new GraphicBuffer(
|
/frameworks/av/media/libmediaplayerservice/ |
HDCP.cpp | 130 const sp<GraphicBuffer> &graphicBuffer, 143 return mHDCPModule->encryptNative(graphicBuffer->handle,
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3BufferManager.cpp | 178 sp<GraphicBuffer>* gb, int* fenceFd) { 219 if (buffer.graphicBuffer == nullptr) { 223 buffer.graphicBuffer = mAllocator->createGraphicBuffer( 227 buffer.graphicBuffer.get(), buffer.graphicBuffer->handle); 245 *gb = buffer.graphicBuffer; 248 __FUNCTION__, buffer.graphicBuffer.get(), buffer.graphicBuffer->handle); 306 sp<GraphicBuffer> buffer; 359 int streamSetId, const sp<GraphicBuffer>& buffer, int fenceFd) [all...] |
Camera3OutputStream.cpp | 109 if ((consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) == 0 && 110 (consumerUsage & GraphicBuffer::USAGE_HW_COMPOSER) == 0) { 162 sp<GraphicBuffer> gb; 644 status_t Camera3OutputStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) {
|