Home
last modified time | relevance | path

Searched refs:mFreeBuffers (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/gui/
DBufferQueueCore.cpp103 mFreeBuffers(), in BufferQueueCore()
209 for (int s : mFreeBuffers) { in dumpState()
285 for (int s : mFreeBuffers) { in freeAllBuffersLocked()
289 mFreeBuffers.clear(); in freeAllBuffersLocked()
313 if (mConnectedProducerListener != nullptr && mFreeBuffers.size() > 0) { in discardFreeBuffersLocked()
314 std::vector<int32_t> freeBuffers(mFreeBuffers.begin(), mFreeBuffers.end()); in discardFreeBuffersLocked()
318 for (int s : mFreeBuffers) { in discardFreeBuffersLocked()
322 mFreeBuffers.clear(); in discardFreeBuffersLocked()
345 mFreeBuffers.size())) { in adjustAvailableSlotsLocked()
354 } else if (!mFreeBuffers.empty()) { in adjustAvailableSlotsLocked()
[all …]
DBufferQueueConsumer.cpp190 mCore->mFreeBuffers.push_back(front->mSlot); in acquireBuffer()
394 } else if (!mCore->mFreeBuffers.empty()) { in attachBuffer()
395 found = mCore->mFreeBuffers.front(); in attachBuffer()
396 mCore->mFreeBuffers.remove(found); in attachBuffer()
484 mCore->mFreeBuffers.push_back(slot); in releaseBuffer()
DBufferQueueProducer.cpp256 if (mCore->mFreeBuffers.empty()) { in getFreeBufferLocked()
259 int slot = mCore->mFreeBuffers.front(); in getFreeBufferLocked()
260 mCore->mFreeBuffers.pop_front(); in getFreeBufferLocked()
416 if (mCore->mFreeBuffers.empty() && mCore->mIsAllocating) { in dequeueBuffer()
711 if (mCore->mFreeBuffers.empty()) { in detachNextBuffer()
715 int found = mCore->mFreeBuffers.front(); in detachNextBuffer()
716 mCore->mFreeBuffers.remove(found); in detachNextBuffer()
975 mCore->mFreeBuffers.push_back(last.mSlot); in queueBuffer()
1121 mCore->mFreeBuffers.push_back(slot); in cancelBuffer()
1494 mCore->mFreeBuffers.push_front(*slot); in allocateBuffers()
/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp285 mFreeBuffers.insert(bufferId); in handleReleaseBuffer()
367 mFreeBuffers.insert(message.bufferId); in handleTransferResult()
435 mFreeBuffers.insert(bufferId); in handleClose()
458 mFreeBuffers.insert(bufferId); in handleClose()
472 auto bufferIt = mFreeBuffers.begin(); in getFreeBuffer()
473 for (;bufferIt != mFreeBuffers.end(); ++bufferIt) { in getFreeBuffer()
479 if (bufferIt != mFreeBuffers.end()) { in getFreeBuffer()
481 mFreeBuffers.erase(bufferIt); in getFreeBuffer()
531 for (auto freeIt = mFreeBuffers.begin(); freeIt != mFreeBuffers.end();) { in cleanUp()
541 freeIt = mFreeBuffers.erase(freeIt); in cleanUp()
DAccessorImpl.h95 std::set<BufferId> mFreeBuffers; member
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp462 mFreeBuffers.insert(bufferId); in handleReleaseBuffer()
551 mFreeBuffers.insert(message.bufferId); in handleTransferResult()
630 mFreeBuffers.insert(bufferId); in handleClose()
660 mFreeBuffers.insert(bufferId); in handleClose()
680 auto bufferIt = mFreeBuffers.begin(); in getFreeBuffer()
681 for (;bufferIt != mFreeBuffers.end(); ++bufferIt) { in getFreeBuffer()
687 if (bufferIt != mFreeBuffers.end()) { in getFreeBuffer()
689 mFreeBuffers.erase(bufferIt); in getFreeBuffer()
739 for (auto freeIt = mFreeBuffers.begin(); freeIt != mFreeBuffers.end();) { in cleanUp()
749 freeIt = mFreeBuffers.erase(freeIt); in cleanUp()
[all …]
DAccessorImpl.h117 std::set<BufferId> mFreeBuffers; member
/frameworks/native/libs/gui/include/gui/
DBufferQueueCore.h209 std::list<int> mFreeBuffers; variable