/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::onBuffersReleased() { in onBuffersReleased() 49 void BufferQueue::ProxyConsumerListener::onSidebandStreamChanged() { in onSidebandStreamChanged() 56 void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer, in createBufferQueue()
|
D | ConsumerBase.cpp | 67 sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); in ConsumerBase() 128 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased() 150 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked() 182 status_t ConsumerBase::acquireBufferLocked(BufferQueue::BufferItem *item, in acquireBufferLocked() 262 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
|
D | GLConsumer.cpp | 135 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer() 162 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer() 203 BufferQueue::BufferItem item; in updateTexImage() 210 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 259 if (buf != BufferQueue::INVALID_BUFFER_SLOT) { in releaseTexImage() 286 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage() 334 status_t GLConsumer::acquireBufferLocked(BufferQueue::BufferItem *item, in acquireBufferLocked() 365 status_t GLConsumer::updateAndReleaseLocked(const BufferQueue::BufferItem& item) in updateAndReleaseLocked() 419 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked() 458 if (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT && in bindTextureImageLocked() [all …]
|
D | CpuConsumer.cpp | 108 BufferQueue::BufferItem b; in lockNextBuffer() 114 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in lockNextBuffer() 178 BufferQueue::INVALID_BUFFER_SLOT) { in lockNextBuffer() 262 ab.mSlot = BufferQueue::INVALID_BUFFER_SLOT; in releaseAcquiredBufferLocked()
|
D | Android.mk | 10 BufferQueue.cpp \
|
/frameworks/native/include/gui/ |
D | BufferItemConsumer.h | 32 class BufferQueue; variable 45 typedef BufferQueue::BufferItem BufferItem; 48 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; 49 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
|
D | BufferQueue.h | 31 class BufferQueue { 82 BufferQueue(); // Create through createBufferQueue
|
D | CpuConsumer.h | 31 class BufferQueue; variable 129 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
|
D | GLConsumer.h | 243 virtual status_t acquireBufferLocked(BufferQueue::BufferItem *item, 262 status_t updateAndReleaseLocked(const BufferQueue::BufferItem& item); 457 EglSlot mEglSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
D | ConsumerBase.h | 207 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.h | 49 class GraphicBufferSource : public BufferQueue::ConsumerListener { 190 status_t submitBuffer_l(const BufferQueue::BufferItem &item, int cbi); 196 void setLatestSubmittedBuffer_l(const BufferQueue::BufferItem &item); 198 int64_t getTimestamp(const BufferQueue::BufferItem &item); 232 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
D | GraphicBufferSource.cpp | 77 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in GraphicBufferSource() 93 wp<BufferQueue::ConsumerListener> listener = static_cast<BufferQueue::ConsumerListener*>(this); in GraphicBufferSource() 94 sp<BufferQueue::ProxyConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); in GraphicBufferSource() 346 if (mOriginalTimeUs.size() > BufferQueue::NUM_BUFFER_SLOTS) { in codecBufferFilled() 362 BufferQueue::BufferItem item; in suspend() 365 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in suspend() 412 BufferQueue::BufferItem item; in fillCodecBuffer_l() 414 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in fillCodecBuffer_l() 495 BufferQueue::BufferItem item; in repeatLatestSubmittedBuffer_l() 526 const BufferQueue::BufferItem &item) { in setLatestSubmittedBuffer_l() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 89 BufferQueue::BufferItem item; in nextBuffer() 91 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in nextBuffer() 107 if (mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT && in nextBuffer() 143 mCurrentBufferSlot = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked() 150 mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT) { in onFrameCommitted()
|
/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 }; 137 return mBufferItem.mBuf == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerConsumer.cpp | 50 BufferQueue::BufferItem item; in updateTexImage() 57 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 59 } else if (err == BufferQueue::PRESENT_LATER) { in updateTexImage() 105 BufferQueue::BufferItem *item, nsecs_t presentWhen) { in acquireBufferLocked()
|
D | SurfaceFlingerConsumer.h | 50 virtual status_t acquireBufferLocked(BufferQueue::BufferItem *item, nsecs_t presentWhen);
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 43 mCurrentSlot(BufferQueue::INVALID_BUFFER_SLOT), in SurfaceMediaSource() 59 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SurfaceMediaSource() 71 sp<BufferQueue::ProxyConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); in SurfaceMediaSource() 293 BufferQueue::BufferItem item; in read() 299 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in read() 412 for (int id = 0; id < BufferQueue::NUM_BUFFER_SLOTS; id++) { in signalBufferReturned() 477 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 65 if (mAcquiredBuffer.mSlot != BufferQueue::INVALID_BUFFER_SLOT) { in lockNextBuffer() 72 BufferQueue::BufferItem b; in lockNextBuffer() 76 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in lockNextBuffer() 125 assert(mAcquiredBuffer.mSlot == BufferQueue::INVALID_BUFFER_SLOT); in lockNextBuffer() 189 mAcquiredBuffer.mSlot = BufferQueue::INVALID_BUFFER_SLOT; in releaseAcquiredBufferLocked()
|
D | rsGrallocConsumer.h | 67 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
|
/frameworks/native/libs/gui/tests/ |
D | StreamSplitter_test.cpp | 83 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator); in TEST_F() 87 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer, allocator); in TEST_F() 143 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator); in TEST_F() 148 BufferQueue::createBufferQueue(&outputProducers[output], in TEST_F() 209 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer); in TEST_F() 213 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer); in TEST_F()
|
D | IGraphicBufferProducer_test.cpp | 86 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SetUp() 282 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value); in TEST_F() 339 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot); in TEST_F() 381 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_F() 513 ASSERT_OK(mProducer->setBufferCount(BufferQueue::NUM_BUFFER_SLOTS)); in TEST_F() 516 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; ++i) { in TEST_F() 539 EXPECT_EQ(BAD_VALUE, mProducer->setBufferCount(BufferQueue::NUM_BUFFER_SLOTS + 1)) in TEST_F() 540 << "bufferCount: " << BufferQueue::NUM_BUFFER_SLOTS + 1; in TEST_F()
|
D | BufferQueue_test.cpp | 62 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in createBufferQueue() 88 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 155 BufferQueue::BufferItem item; in TEST_F() 189 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS+1)); in TEST_F() 205 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS)); in TEST_F()
|
D | Surface_test.cpp | 94 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 144 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F()
|
D | SurfaceTextureGL.h | 41 BufferQueue::createBufferQueue(&producer, &mConsumer); in SetUp()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3ZslStream.h | 48 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
|