Home
last modified time | relevance | path

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

12

/frameworks/native/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.h283 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator
308 BufferSlot mSlots[NUM_BUFFER_SLOTS];
DConsumerBase.h229 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
DBufferQueueCore.h68 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
DGLConsumer.h492 EglSlot mEglSlots[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()
262 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in discardFreeBuffers()
395 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
DBufferQueueConsumer.cpp295 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer()
297 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer()
410 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS || in releaseBuffer()
532 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in getReleasedBuffers()
575 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount()
DBufferQueueProducer.cpp78 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in requestBuffer()
80 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in requestBuffer()
132 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxDequeuedBufferCount()
134 "(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()
805 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in queueBuffer()
807 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in queueBuffer()
1032 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in cancelBuffer()
1034 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in cancelBuffer()
DBufferQueueCore.cpp78 mMaxBufferCount(BufferQueueDefs::NUM_BUFFER_SLOTS), in BufferQueueCore()
102 for (int s = numStartingBuffers; s < BufferQueueDefs::NUM_BUFFER_SLOTS; in BufferQueueCore()
312 for (int slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { in validateConsistencyLocked()
DSurface.cpp519 if (buf < 0 || buf >= NUM_BUFFER_SLOTS) { in dequeueBuffer()
610 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in getSlotFromBufferLocked()
1235 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in detachNextBuffer()
1489 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in freeAllBuffers()
1629 for (size_t i=0 ; i<NUM_BUFFER_SLOTS ; i++) { in lock()
/frameworks/native/include/ui/
DBufferQueueDefs.h25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
/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/gui/tests/
DIGraphicBufferProducer_test.cpp212 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, *slot); in setupDequeueRequestBuffer()
295 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value); in TEST_F()
351 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot); in TEST_F()
388 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_F()
490 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
543 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
656 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, slot); in TEST_F()
DBufferItemConsumer_test.cpp128 sp<GraphicBuffer> mBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp128 ASSERT_GT(BufferQueueDefs::NUM_BUFFER_SLOTS, *outSlot); in DequeueBuffer()
195 EXPECT_GE(BufferQueueDefs::NUM_BUFFER_SLOTS, static_cast<size_t>(value)); in TEST_F()
275 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueueDefs::NUM_BUFFER_SLOTS, in TEST_F()
382 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
426 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposerBufferCache.cpp25 mBuffers.reserve(BufferQueue::NUM_BUFFER_SLOTS); in HWComposerBufferCache()
DVirtualDisplaySurface.h180 sp<GraphicBuffer> mProducerBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
DVirtualDisplaySurface.cpp362 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in dequeueBuffer()
664 return BufferQueue::NUM_BUFFER_SLOTS - sslot - 1; in mapSource2ProducerSlot()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.h199 static const size_t kMaxBufferCount = BufferQueueDefs::NUM_BUFFER_SLOTS;
/frameworks/av/media/libstagefright/include/
DSurfaceMediaSource.h163 SlotData mSlots[BufferQueue::NUM_BUFFER_SLOTS];
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp403 for (int id = 0; id < BufferQueue::NUM_BUFFER_SLOTS; id++) { in signalBufferReturned()
468 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbufferhub_rpc.h164 android::BufferQueueDefs::NUM_BUFFER_SLOTS;
/frameworks/av/media/ndk/
DNdkImageReader.cpp603 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage()
605 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage()

12