/frameworks/native/include/gui/ |
D | BufferQueue.h | 35 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator 46 enum { MAX_MAX_ACQUIRED_BUFFERS = NUM_BUFFER_SLOTS - 2 };
|
D | BufferQueueDefs.h | 29 enum { NUM_BUFFER_SLOTS = 64 }; enumerator 31 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
|
D | Surface.h | 178 enum { NUM_BUFFER_SLOTS = BufferQueue::NUM_BUFFER_SLOTS }; enumerator 202 BufferSlot mSlots[NUM_BUFFER_SLOTS];
|
D | ConsumerBase.h | 207 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
D | BufferQueueCore.h | 65 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
|
D | GLConsumer.h | 457 EglSlot mEglSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/gui/ |
D | BufferQueueCore.cpp | 106 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()
|
D | BufferQueueProducer.cpp | 55 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 …]
|
D | BufferQueueConsumer.cpp | 48 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()
|
D | ConsumerBase.cpp | 128 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()
|
D | Surface.cpp | 278 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/ |
D | IGraphicBufferProducer_test.cpp | 282 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()
|
D | BufferQueue_test.cpp | 218 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/ |
D | SurfaceMediaSource.h | 160 SlotData mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.h | 232 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
D | GraphicBufferSource.cpp | 346 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/ |
D | SurfaceMediaSource.cpp | 412 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/ |
D | VirtualDisplaySurface.h | 165 sp<GraphicBuffer> mProducerBuffers[BufferQueue::NUM_BUFFER_SLOTS];
|
D | VirtualDisplaySurface.cpp | 310 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/ |
D | StreamingProcessor.cpp | 244 if (count > BufferQueue::NUM_BUFFER_SLOTS) { in setRecordingBufferCount() 246 __FUNCTION__, mId, count, BufferQueue::NUM_BUFFER_SLOTS); in setRecordingBufferCount()
|