Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/tests/unittests/
DCachingTest.cpp53 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 1, slot); in TEST_F()
59 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 2, slot); in TEST_F()
62 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 2, slot); in TEST_F()
65 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 1, slot); in TEST_F()
73 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F()
80 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F()
83 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F()
85 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F()
88 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F()
93 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F()
/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.h338 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator
383 BufferSlot mSlots[NUM_BUFFER_SLOTS];
DBufferQueueCore.h63 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DOutputBufferQueue.h72 sp<GraphicBuffer> mBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS]; // find a better way
73 std::weak_ptr<_C2BlockPoolData> mPoolDatas[BufferQueueDefs::NUM_BUFFER_SLOTS];
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DHwcBufferCacheTest.cpp78 testSlot(BufferQueue::NUM_BUFFER_SLOTS - 1, BufferQueue::NUM_BUFFER_SLOTS - 1); in TEST_F()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp37 using ::android::BufferQueueDefs::NUM_BUFFER_SLOTS;
493 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in ~Impl()
581 poolDatas[NUM_BUFFER_SLOTS]; in configureProducer()
583 sp<GraphicBuffer> buffers[NUM_BUFFER_SLOTS]; in configureProducer()
586 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in configureProducer()
607 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in configureProducer()
622 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in configureProducer()
663 sp<GraphicBuffer> mBuffers[NUM_BUFFER_SLOTS];
664 std::weak_ptr<C2BufferQueueBlockPoolData> mPoolDatas[NUM_BUFFER_SLOTS];
713 if (bqSlot < 0 || bqSlot >= NUM_BUFFER_SLOTS || !buffers[bqSlot]) { in migrate()
/frameworks/av/media/codec2/hidl/1.0/utils/
DOutputBufferQueue.cpp163 sp<GraphicBuffer> buffers[BufferQueueDefs::NUM_BUFFER_SLOTS]; in configure()
165 poolDatas[BufferQueueDefs::NUM_BUFFER_SLOTS]; in configure()
175 for (int i = 0; i < BufferQueueDefs::NUM_BUFFER_SLOTS; ++i) { in configure()
203 for (int i = 0; i < BufferQueueDefs::NUM_BUFFER_SLOTS; ++i) { in configure()
/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_vndk/ui/
DBufferQueueDefs.h25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
/frameworks/native/libs/ui/include/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()
588 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P()
714 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, slot); in TEST_P()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DHwcBufferCache.h63 wp<GraphicBuffer> mBuffers[BufferQueue::NUM_BUFFER_SLOTS];
/frameworks/native/libs/gui/
DConsumerBase.cpp188 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
214 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked()
358 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in discardFreeBuffers()
510 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
DBufferQueueConsumer.cpp327 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer()
329 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer()
442 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS || in releaseBuffer()
566 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in getReleasedBuffers()
609 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount()
DBufferQueueProducer.cpp105 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in requestBuffer()
107 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in requestBuffer()
159 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxDequeuedBufferCount()
161 "(max %d)", bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setMaxDequeuedBufferCount()
643 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer()
645 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer()
860 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in queueBuffer()
862 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in queueBuffer()
1097 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in cancelBuffer()
1099 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in cancelBuffer()
DBufferQueueCore.cpp114 mMaxBufferCount(BufferQueueDefs::NUM_BUFFER_SLOTS), in BufferQueueCore()
139 for (int s = numStartingBuffers; s < BufferQueueDefs::NUM_BUFFER_SLOTS; in BufferQueueCore()
379 for (int slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { in validateConsistencyLocked()
/frameworks/native/libs/nativedisplay/include/surfacetexture/
DImageConsumer.h84 ImageSlot mImageSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
DEGLConsumer.h294 EglSlot mEglSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DHwcBufferCache.cpp39 slot >= BufferQueue::NUM_BUFFER_SLOTS) { in getHwcBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp134 ASSERT_GT(BufferQueueDefs::NUM_BUFFER_SLOTS, *outSlot); in DequeueBuffer()
200 EXPECT_GE(BufferQueueDefs::NUM_BUFFER_SLOTS, value); in TEST_F()
279 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueueDefs::NUM_BUFFER_SLOTS, in TEST_F()
386 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
429 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.h205 static const size_t kMaxBufferCount = BufferQueueDefs::NUM_BUFFER_SLOTS;
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.h115 NativeBufferInfo mNativeBuffers[android::BufferQueueDefs::NUM_BUFFER_SLOTS];

12