/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 28 BufferQueue::ProxyConsumerListener::ProxyConsumerListener( in ProxyConsumerListener() 32 BufferQueue::ProxyConsumerListener::~ProxyConsumerListener() {} in ~ProxyConsumerListener() 34 void BufferQueue::ProxyConsumerListener::onFrameAvailable( in onFrameAvailable() 42 void BufferQueue::ProxyConsumerListener::onFrameReplaced( in onFrameReplaced() 50 void BufferQueue::ProxyConsumerListener::onBuffersReleased() { in onBuffersReleased() 57 void BufferQueue::ProxyConsumerListener::onSidebandStreamChanged() { in onSidebandStreamChanged() 64 void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer, in createBufferQueue()
|
D | ConsumerBase.cpp | 68 sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); in ConsumerBase() 144 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased() 166 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked() 314 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
|
D | GLConsumer.cpp | 146 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer() 173 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer() 221 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 270 if (buf != BufferQueue::INVALID_BUFFER_SLOT) { in releaseTexImage() 297 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage() 432 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked() 471 if (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT && in bindTextureImageLocked() 543 mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in setReleaseFence() 654 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in syncForReleaseLocked() 1009 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
|
D | CpuConsumer.cpp | 101 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in lockNextBuffer() 165 BufferQueue::INVALID_BUFFER_SLOT) { in lockNextBuffer() 249 ab.mSlot = BufferQueue::INVALID_BUFFER_SLOT; in releaseAcquiredBufferLocked()
|
D | Android.mk | 45 BufferQueue.cpp \
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 36 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in init() 48 wp<BufferQueue::ConsumerListener> listener = in init() 49 static_cast<BufferQueue::ConsumerListener*>(this); in init() 50 sp<BufferQueue::ProxyConsumerListener> proxy = in init() 51 new BufferQueue::ProxyConsumerListener(listener); in init() 101 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in getBufferItem() 131 if (item.mBuf < 0 || item.mBuf >= BufferQueue::NUM_BUFFER_SLOTS) { in getBuffer() 143 if (item.mBuf < 0 || item.mBuf >= BufferQueue::NUM_BUFFER_SLOTS) { in releaseBuffer()
|
D | GraphicBufferListener.h | 26 struct GraphicBufferListener : public BufferQueue::ConsumerListener { 65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/include/gui/ |
D | BufferItemConsumer.h | 32 class BufferQueue; variable 46 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; 47 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
|
D | BufferQueue.h | 32 class BufferQueue { 83 BufferQueue(); // Create through createBufferQueue
|
D | CpuConsumer.h | 31 class BufferQueue; variable 118 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
|
D | BufferQueueProducer.h | 30 friend class BufferQueue; // Needed to access binderDied
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 92 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in nextBuffer() 108 if (mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT && in nextBuffer() 144 mCurrentBufferSlot = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked() 151 mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT) { in onFrameCommitted()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 58 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; 59 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE }; 136 return mBufferItem.mBuf == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 44 mCurrentSlot(BufferQueue::INVALID_BUFFER_SLOT), in SurfaceMediaSource() 60 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SurfaceMediaSource() 72 sp<BufferQueue::ProxyConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); in SurfaceMediaSource() 300 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in read() 413 for (int id = 0; id < BufferQueue::NUM_BUFFER_SLOTS; id++) { in signalBufferReturned() 478 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
|
/frameworks/native/libs/gui/tests/ |
D | StreamSplitter_test.cpp | 86 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator); in TEST_F() 90 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer, allocator); in TEST_F() 147 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator); in TEST_F() 152 BufferQueue::createBufferQueue(&outputProducers[output], in TEST_F() 214 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer); in TEST_F() 218 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer); in TEST_F()
|
D | Surface_test.cpp | 96 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 146 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 164 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 185 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 218 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F()
|
D | IGraphicBufferProducer_test.cpp | 87 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SetUp() 288 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value); in TEST_F() 345 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot); in TEST_F() 387 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_F() 519 ASSERT_OK(mProducer->setBufferCount(BufferQueue::NUM_BUFFER_SLOTS)); in TEST_F() 522 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; ++i) { in TEST_F() 545 EXPECT_EQ(BAD_VALUE, mProducer->setBufferCount(BufferQueue::NUM_BUFFER_SLOTS + 1)) in TEST_F() 546 << "bufferCount: " << BufferQueue::NUM_BUFFER_SLOTS + 1; in TEST_F()
|
D | SurfaceTextureGL.h | 41 BufferQueue::createBufferQueue(&producer, &mConsumer); in SetUp()
|
D | BufferQueue_test.cpp | 65 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in createBufferQueue() 87 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 190 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS+1)); in TEST_F() 206 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS)); in TEST_F()
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 66 if (mAcquiredBuffer.mSlot != BufferQueue::INVALID_BUFFER_SLOT) { in lockNextBuffer() 77 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in lockNextBuffer() 126 assert(mAcquiredBuffer.mSlot == BufferQueue::INVALID_BUFFER_SLOT); in lockNextBuffer() 190 mAcquiredBuffer.mSlot = BufferQueue::INVALID_BUFFER_SLOT; in releaseAcquiredBufferLocked()
|
D | rsGrallocConsumer.h | 67 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 155 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in GraphicBufferSource() 177 wp<BufferQueue::ConsumerListener> listener = static_cast<BufferQueue::ConsumerListener*>(this); in GraphicBufferSource() 180 proxy = new BufferQueue::ProxyConsumerListener(listener); in GraphicBufferSource() 448 if (mOriginalTimeUs.size() > BufferQueue::NUM_BUFFER_SLOTS) { in codecBufferFilled() 467 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in suspend() 517 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in fillCodecBuffer_l() 915 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
|
D | GraphicBufferSource.h | 51 class GraphicBufferSource : public BufferQueue::ConsumerListener { 277 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerConsumer.cpp | 60 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 62 } else if (err == BufferQueue::PRESENT_LATER) { in updateTexImage()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3ZslStream.h | 48 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
|