Home
last modified time | relevance | path

Searched refs:mBufferItemConsumer (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/gui/
DBLASTBufferQueue.cpp147 mBufferItemConsumer = new BLASTBufferItemConsumer(mConsumer, in BLASTBufferQueue()
156 mBufferItemConsumer->setName(String8(consumerName.c_str())); in BLASTBufferQueue()
157 mBufferItemConsumer->setFrameAvailableListener(this); in BLASTBufferQueue()
158 mBufferItemConsumer->setBufferFreedListener(this); in BLASTBufferQueue()
159 mBufferItemConsumer->setDefaultBufferSize(mSize.width, mSize.height); in BLASTBufferQueue()
160 mBufferItemConsumer->setDefaultBufferFormat(convertBufferFormat(format)); in BLASTBufferQueue()
161 mBufferItemConsumer->setBlastBufferQueue(this); in BLASTBufferQueue()
164 mBufferItemConsumer->setMaxAcquiredBufferCount(mMaxAcquiredBuffers); in BLASTBufferQueue()
167 mBufferItemConsumer->setTransformHint(mTransformHint); in BLASTBufferQueue()
180 mBufferItemConsumer->setBlastBufferQueue(nullptr); in ~BLASTBufferQueue()
[all …]
/frameworks/av/media/ndk/
DNdkImageReader.cpp296 mBufferItemConsumer = in init()
298 if (mBufferItemConsumer == nullptr) { in init()
304 mBufferItemConsumer->setName(consumerName); in init()
305 mBufferItemConsumer->setFrameAvailableListener(mFrameListener); in init()
306 mBufferItemConsumer->setBufferFreedListener(mBufferRemovedListener); in init()
309 res = mBufferItemConsumer->setDefaultBufferSize(mWidth, mHeight); in init()
314 res = mBufferItemConsumer->setDefaultBufferFormat(mHalFormat); in init()
319 res = mBufferItemConsumer->setDefaultBufferDataSpace(mHalDataSpace); in init()
391 if (mBufferItemConsumer != nullptr) { in close()
392 mBufferItemConsumer->abandon(); in close()
[all …]
DNdkImageReaderPriv.h164 sp<BufferItemConsumer> mBufferItemConsumer; member
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp73 mBufferItemConsumer = new BufferItemConsumer(consumer, GraphicBuffer::USAGE_HW_TEXTURE); in initialize()
76 mBufferItemConsumer->setFrameAvailableListener(mListener); in initialize()
85 sp<BufferItemConsumer> mBufferItemConsumer; member in android::SurfaceManager
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h245 sp<BufferItemConsumer> mBufferItemConsumer; variable
DCamera3StreamSplitter.cpp87 mBufferItemConsumer = new BufferItemConsumer(mConsumer, consumerUsage, mMaxConsumerBuffers); in connect()
88 if (mBufferItemConsumer == nullptr) { in connect()
/frameworks/native/libs/gui/include/gui/
DBLASTBufferQueue.h201 sp<BLASTBufferItemConsumer> mBufferItemConsumer; variable