/frameworks/native/libs/gui/include/gui/ |
D | BufferQueue.h | 32 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator 43 enum { MAX_MAX_ACQUIRED_BUFFERS = NUM_BUFFER_SLOTS - 2 };
|
D | BufferQueueDefs.h | 27 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
|
D | Surface.h | 295 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator 320 BufferSlot mSlots[NUM_BUFFER_SLOTS];
|
D | BufferQueueCore.h | 68 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
|
D | ConsumerBase.h | 241 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
D | GLConsumer.h | 481 EglSlot mEglSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 132 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in getBuffer() 144 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in releaseBuffer()
|
D | GraphicBufferListener.h | 65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/ui/include/ui/ |
D | BufferQueueDefs.h | 25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | BufferQueueDefs.h | 25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
|
/frameworks/native/libs/gui/tests/ |
D | IGraphicBufferProducer_test.cpp | 245 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, *slot); in setupDequeueRequestBuffer() 331 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value); in TEST_P() 390 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot); in TEST_P() 432 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_P() 537 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() 589 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() 718 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, slot); in TEST_P()
|
D | BufferItemConsumer_test.cpp | 128 sp<GraphicBuffer> mBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 146 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased() 172 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked() 316 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in discardFreeBuffers() 468 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
|
D | BufferQueueConsumer.cpp | 300 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer() 302 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer() 415 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS || in releaseBuffer() 537 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in getReleasedBuffers() 580 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount()
|
D | BufferQueueProducer.cpp | 80 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in requestBuffer() 82 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in requestBuffer() 134 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxDequeuedBufferCount() 136 "(max %d)", bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setMaxDequeuedBufferCount() 593 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer() 595 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer() 806 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in queueBuffer() 808 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in queueBuffer() 1035 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in cancelBuffer() 1037 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in cancelBuffer()
|
D | BufferQueueCore.cpp | 80 mMaxBufferCount(BufferQueueDefs::NUM_BUFFER_SLOTS), in BufferQueueCore() 104 for (int s = numStartingBuffers; s < BufferQueueDefs::NUM_BUFFER_SLOTS; in BufferQueueCore() 320 for (int slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { in validateConsistencyLocked()
|
D | Surface.cpp | 526 if (buf < 0 || buf >= NUM_BUFFER_SLOTS) { in dequeueBuffer() 617 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in getSlotFromBufferLocked() 1291 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in detachNextBuffer() 1574 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in freeAllBuffers() 1717 for (size_t i=0 ; i<NUM_BUFFER_SLOTS ; i++) { in lock()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposerBufferCache.cpp | 25 mBuffers.reserve(BufferQueue::NUM_BUFFER_SLOTS); in HWComposerBufferCache()
|
D | VirtualDisplaySurface.h | 178 sp<GraphicBuffer> mProducerBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
D | VirtualDisplaySurface.cpp | 337 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in dequeueBuffer() 647 return BufferQueue::NUM_BUFFER_SLOTS - sslot - 1; in mapSource2ProducerSlot()
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue_producer-test.cpp | 134 ASSERT_GT(BufferQueueDefs::NUM_BUFFER_SLOTS, *outSlot); in DequeueBuffer() 201 EXPECT_GE(BufferQueueDefs::NUM_BUFFER_SLOTS, value); in TEST_F() 281 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueueDefs::NUM_BUFFER_SLOTS, in TEST_F() 388 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F() 432 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.h | 199 static const size_t kMaxBufferCount = BufferQueueDefs::NUM_BUFFER_SLOTS;
|
D | Camera3StreamSplitter.cpp | 219 size_t totalBufferCount = BufferQueue::NUM_BUFFER_SLOTS; in addOutputLocked() 430 if ((slot < 0) || (slot > BufferQueue::NUM_BUFFER_SLOTS)) { in attachBufferToOutputs() 432 __FUNCTION__, slot, BufferQueue::NUM_BUFFER_SLOTS); in attachBufferToOutputs()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.h | 374 sp<Image> mImages[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 615 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage() 617 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage()
|