/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 66 BufferQueue::BufferQueue(bool allowSynchronousMode, in BufferQueue() function in android::BufferQueue 98 BufferQueue::~BufferQueue() { in ~BufferQueue() 102 status_t BufferQueue::setDefaultMaxBufferCountLocked(int count) { in setDefaultMaxBufferCountLocked() 112 bool BufferQueue::isSynchronousMode() const { in isSynchronousMode() 117 void BufferQueue::setConsumerName(const String8& name) { in setConsumerName() 122 status_t BufferQueue::setDefaultBufferFormat(uint32_t defaultFormat) { in setDefaultBufferFormat() 128 status_t BufferQueue::setConsumerUsageBits(uint32_t usage) { in setConsumerUsageBits() 134 status_t BufferQueue::setTransformHint(uint32_t hint) { in setTransformHint() 141 status_t BufferQueue::setBufferCount(int bufferCount) { in setBufferCount() 198 int BufferQueue::query(int what, int* outValue) in query() [all …]
|
D | ConsumerBase.cpp | 54 ConsumerBase::ConsumerBase(const sp<BufferQueue>& bufferQueue) : in ConsumerBase() 64 wp<BufferQueue::ConsumerListener> listener; in ConsumerBase() 65 sp<BufferQueue::ConsumerListener> proxy; in ConsumerBase() 66 listener = static_cast<BufferQueue::ConsumerListener*>(this); in ConsumerBase() 67 proxy = new BufferQueue::ProxyConsumerListener(listener); in ConsumerBase() 101 sp<BufferQueue> ConsumerBase::getBufferQueue() const { in getBufferQueue() 133 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased() 152 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked() 188 status_t ConsumerBase::acquireBufferLocked(BufferQueue::BufferItem *item) { in acquireBufferLocked() 237 if (err == BufferQueue::STALE_BUFFER_SLOT) { in releaseBufferLocked()
|
D | CpuConsumer.cpp | 34 ConsumerBase(new BufferQueue(true) ), in CpuConsumer() 66 BufferQueue::BufferItem b; in lockNextBuffer() 72 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in lockNextBuffer() 123 BufferQueue::INVALID_BUFFER_SLOT) { in lockNextBuffer() 196 ab.mSlot = BufferQueue::INVALID_BUFFER_SLOT; in releaseAcquiredBufferLocked()
|
D | GLConsumer.cpp | 82 GLenum texTarget, bool useFenceSync, const sp<BufferQueue> &bufferQueue) : in GLConsumer() 83 ConsumerBase(bufferQueue == 0 ? new BufferQueue(allowSynchronousMode) : bufferQueue), in GLConsumer() 96 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer() 137 BufferQueue::BufferItem item; in updateTexImage() 144 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 168 status_t GLConsumer::acquireBufferLocked(BufferQueue::BufferItem *item) { in acquireBufferLocked() 200 status_t GLConsumer::releaseAndUpdateLocked(const BufferQueue::BufferItem& item) in releaseAndUpdateLocked() 250 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in releaseAndUpdateLocked() 253 if (status != NO_ERROR && status != BufferQueue::STALE_BUFFER_SLOT) { in releaseAndUpdateLocked() 287 if (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) { in bindTextureImageLocked() [all …]
|
D | Android.mk | 7 BufferQueue.cpp \
|
/frameworks/native/include/gui/ |
D | ConsumerBase.h | 37 protected BufferQueue::ConsumerListener { 70 sp<BufferQueue> getBufferQueue() const; 90 ConsumerBase(const sp<BufferQueue> &bufferQueue); 156 virtual status_t acquireBufferLocked(BufferQueue::BufferItem *item); 197 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS]; 217 sp<BufferQueue> mBufferQueue;
|
D | BufferItemConsumer.h | 43 typedef BufferQueue::BufferItem BufferItem; 45 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; 46 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE }; 53 int bufferCount = BufferQueue::MIN_UNDEQUEUED_BUFFERS,
|
D | GLConsumer.h | 90 const sp<BufferQueue> &bufferQueue = 0); 197 sp<BufferQueue> getBufferQueue() const { in getBufferQueue() 241 virtual status_t acquireBufferLocked(BufferQueue::BufferItem *item); 257 status_t releaseAndUpdateLocked(const BufferQueue::BufferItem& item); 405 EglSlot mEglSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
D | BufferQueue.h | 36 class BufferQueue : public BnGraphicBufferProducer { 83 class ProxyConsumerListener : public BufferQueue::ConsumerListener { 86 ProxyConsumerListener(const wp<BufferQueue::ConsumerListener>& consumerListener); 95 wp<BufferQueue::ConsumerListener> mConsumerListener; 103 BufferQueue(bool allowSynchronousMode = true, 105 virtual ~BufferQueue();
|
D | DummyConsumer.h | 29 class DummyConsumer : public BufferQueue::ConsumerListener {
|
D | CpuConsumer.h | 113 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 54 ConsumerBase(new BufferQueue(true, new GraphicBufferAlloc())), in FramebufferSurface() 85 BufferQueue::BufferItem item; in nextBuffer() 87 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in nextBuffer() 103 if (mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT && in nextBuffer() 108 if (err != NO_ERROR && err != BufferQueue::STALE_BUFFER_SLOT) { in nextBuffer() 139 mCurrentBufferSlot = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked() 146 mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT) { in onFrameCommitted()
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 43 mBQ = new BufferQueue(); in SetUp() 55 sp<BufferQueue> mBQ; 58 struct DummyConsumer : public BufferQueue::ConsumerListener { 75 BufferQueue::BufferItem item; in TEST_F() 103 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS+1)); in TEST_F() 114 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS)); in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 57 typedef BufferQueue::BufferItem BufferItem; 59 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; 60 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE }; 67 int bufferCount = BufferQueue::MIN_UNDEQUEUED_BUFFERS); 139 return mBufferItem.mBuf == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 54 mBufferQueue = new BufferQueue(true); in GraphicBufferSource() 72 wp<BufferQueue::ConsumerListener> listener; in GraphicBufferSource() 73 listener = static_cast<BufferQueue::ConsumerListener*>(this); in GraphicBufferSource() 75 sp<BufferQueue::ConsumerListener> proxy; in GraphicBufferSource() 76 proxy = new BufferQueue::ProxyConsumerListener(listener); in GraphicBufferSource() 212 for (id = 0; id < BufferQueue::NUM_BUFFER_SLOTS; id++) { in codecBufferEmptied() 226 if (id == BufferQueue::NUM_BUFFER_SLOTS) { in codecBufferEmptied() 262 BufferQueue::BufferItem item; in fillCodecBuffer_l() 264 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in fillCodecBuffer_l() 431 BufferQueue::BufferItem item; in onFrameAvailable() [all …]
|
D | GraphicBufferSource.h | 47 class GraphicBufferSource : public BufferQueue::ConsumerListener { 153 sp<BufferQueue> mBufferQueue; 167 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 41 mCurrentSlot(BufferQueue::INVALID_BUFFER_SLOT), in SurfaceMediaSource() 57 mBufferQueue = new BufferQueue(true); in SurfaceMediaSource() 69 wp<BufferQueue::ConsumerListener> listener; in SurfaceMediaSource() 70 sp<BufferQueue::ConsumerListener> proxy; in SurfaceMediaSource() 71 listener = static_cast<BufferQueue::ConsumerListener*>(this); in SurfaceMediaSource() 72 proxy = new BufferQueue::ProxyConsumerListener(listener); in SurfaceMediaSource() 291 BufferQueue::BufferItem item; in read() 297 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in read() 407 for (int id = 0; id < BufferQueue::NUM_BUFFER_SLOTS; id++) { in signalBufferReturned() 471 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
|
/frameworks/av/include/media/stagefright/ |
D | SurfaceMediaSource.h | 59 protected BufferQueue::ConsumerListener { 114 sp<BufferQueue> getBufferQueue() const { return mBufferQueue; } in getBufferQueue() 147 sp<BufferQueue> mBufferQueue; 150 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerConsumer.h | 32 const sp<BufferQueue> &bufferQueue = 0) 40 const BufferQueue::BufferItem& item) = 0;
|
D | SurfaceTextureLayer.cpp | 31 : BufferQueue(true), flinger(flinger) { in SurfaceTextureLayer() 55 status_t err = BufferQueue::connect(api, output); in connect()
|
D | SurfaceFlingerConsumer.cpp | 48 BufferQueue::BufferItem item; in updateTexImage() 55 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage()
|
D | SurfaceTextureLayer.h | 36 class SurfaceTextureLayer : public BufferQueue {
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | PlaybackSession.h | 28 struct BufferQueue; 112 sp<BufferQueue> mBufferQueue;
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 105 sp<BufferQueue> bq = new BufferQueue(); in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/camera3/ |
D | Camera3ZslStream.h | 48 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
|