Home
last modified time | relevance | path

Searched refs:NUM_BUFFER_SLOTS (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/libs/gui/include/gui/
DBufferQueue.h32 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator
43 enum { MAX_MAX_ACQUIRED_BUFFERS = NUM_BUFFER_SLOTS - 2 };
DBufferQueueDefs.h27 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
DSurface.h295 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator
320 BufferSlot mSlots[NUM_BUFFER_SLOTS];
DBufferQueueCore.h68 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
DConsumerBase.h241 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
DGLConsumer.h481 EglSlot mEglSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp132 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()
DGraphicBufferListener.h65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
/frameworks/native/libs/ui/include/ui/
DBufferQueueDefs.h25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
/frameworks/native/libs/ui/include_vndk/ui/
DBufferQueueDefs.h25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp245 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()
DBufferItemConsumer_test.cpp128 sp<GraphicBuffer> mBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
/frameworks/native/libs/gui/
DConsumerBase.cpp146 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()
DBufferQueueConsumer.cpp300 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()
DBufferQueueProducer.cpp80 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()
DBufferQueueCore.cpp80 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()
DSurface.cpp526 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/
DHWComposerBufferCache.cpp25 mBuffers.reserve(BufferQueue::NUM_BUFFER_SLOTS); in HWComposerBufferCache()
DVirtualDisplaySurface.h178 sp<GraphicBuffer> mProducerBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
DVirtualDisplaySurface.cpp337 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/
Dbuffer_hub_queue_producer-test.cpp134 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/
DCamera3BufferManager.h199 static const size_t kMaxBufferCount = BufferQueueDefs::NUM_BUFFER_SLOTS;
DCamera3StreamSplitter.cpp219 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/
DBufferLayerConsumer.h374 sp<Image> mImages[BufferQueueDefs::NUM_BUFFER_SLOTS];
/frameworks/av/media/ndk/
DNdkImageReader.cpp615 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage()
617 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage()

12