Home
last modified time | relevance | path

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

/frameworks/native/include/gui/
DBufferQueue.h35 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator
46 enum { MAX_MAX_ACQUIRED_BUFFERS = NUM_BUFFER_SLOTS - 2 };
DBufferQueueDefs.h29 enum { NUM_BUFFER_SLOTS = 64 }; enumerator
31 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
DSurface.h178 enum { NUM_BUFFER_SLOTS = BufferQueue::NUM_BUFFER_SLOTS }; enumerator
202 BufferSlot mSlots[NUM_BUFFER_SLOTS];
DConsumerBase.h207 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS];
DBufferQueueCore.h65 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
DGLConsumer.h457 EglSlot mEglSlots[BufferQueue::NUM_BUFFER_SLOTS];
/frameworks/native/libs/gui/
DBufferQueueCore.cpp106 for (int s = BufferQueueDefs::NUM_BUFFER_SLOTS - 1; s >= 0; --s) { in dump()
164 for (int s = maxBufferCount; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in getMaxBufferCountLocked()
176 if (count < minBufferCount || count > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setDefaultMaxBufferCountLocked()
179 count, minBufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setDefaultMaxBufferCountLocked()
210 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in freeAllBuffersLocked()
DBufferQueueProducer.cpp55 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in requestBuffer()
57 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in requestBuffer()
84 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setBufferCount()
86 bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setBufferCount()
91 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in setBufferCount()
151 for (int s = maxBufferCount; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in waitForFreeSlotThenRelock()
396 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer()
398 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer()
438 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in detachNextBuffer()
670 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in cancelBuffer()
[all …]
DBufferQueueConsumer.cpp48 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in acquireBuffer()
190 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer()
192 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer()
224 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in attachBuffer()
283 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS || in releaseBuffer()
399 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in getReleasedBuffers()
DConsumerBase.cpp128 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()
262 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
DSurface.cpp278 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in getSlotFromBufferLocked()
735 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in freeAllBuffers()
847 for (size_t i=0 ; i<NUM_BUFFER_SLOTS ; i++) { in lock()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp282 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()
DBufferQueue_test.cpp218 BufferQueueDefs::NUM_BUFFER_SLOTS)); // Index too high in TEST_F()
282 BufferQueueDefs::NUM_BUFFER_SLOTS)); // Index too high in TEST_F()
/frameworks/av/include/media/stagefright/
DSurfaceMediaSource.h160 SlotData mSlots[BufferQueue::NUM_BUFFER_SLOTS];
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.h232 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
DGraphicBufferSource.cpp346 if (mOriginalTimeUs.size() > BufferQueue::NUM_BUFFER_SLOTS) { in codecBufferFilled()
806 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp412 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/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h165 sp<GraphicBuffer> mProducerBuffers[BufferQueue::NUM_BUFFER_SLOTS];
DVirtualDisplaySurface.cpp310 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in dequeueBuffer()
569 return BufferQueue::NUM_BUFFER_SLOTS - sslot - 1; in mapSource2ProducerSlot()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp244 if (count > BufferQueue::NUM_BUFFER_SLOTS) { in setRecordingBufferCount()
246 __FUNCTION__, mId, count, BufferQueue::NUM_BUFFER_SLOTS); in setRecordingBufferCount()