Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DBufferQueueCore.cpp102 mFreeBuffers(), in BufferQueueCore()
207 for (int s : mFreeBuffers) { in dumpState()
283 for (int s : mFreeBuffers) { in freeAllBuffersLocked()
287 mFreeBuffers.clear(); in freeAllBuffersLocked()
311 if (mConnectedProducerListener != nullptr && mFreeBuffers.size() > 0) { in discardFreeBuffersLocked()
312 std::vector<int32_t> freeBuffers(mFreeBuffers.begin(), mFreeBuffers.end()); in discardFreeBuffersLocked()
316 for (int s : mFreeBuffers) { in discardFreeBuffersLocked()
320 mFreeBuffers.clear(); in discardFreeBuffersLocked()
343 mFreeBuffers.size())) { in adjustAvailableSlotsLocked()
352 } else if (!mFreeBuffers.empty()) { in adjustAvailableSlotsLocked()
[all …]
DBufferQueueConsumer.cpp193 mCore->mFreeBuffers.push_back(front->mSlot); in acquireBuffer()
408 } else if (!mCore->mFreeBuffers.empty()) { in attachBuffer()
409 found = mCore->mFreeBuffers.front(); in attachBuffer()
410 mCore->mFreeBuffers.remove(found); in attachBuffer()
498 mCore->mFreeBuffers.push_back(slot); in releaseBuffer()
DBufferQueueProducer.cpp268 if (mCore->mFreeBuffers.empty()) { in getFreeBufferLocked()
271 int slot = mCore->mFreeBuffers.front(); in getFreeBufferLocked()
272 mCore->mFreeBuffers.pop_front(); in getFreeBufferLocked()
436 if (mCore->mFreeBuffers.empty() && mCore->mIsAllocating) { in dequeueBuffer()
790 if (mCore->mFreeBuffers.empty()) { in detachNextBuffer()
794 int found = mCore->mFreeBuffers.front(); in detachNextBuffer()
795 mCore->mFreeBuffers.remove(found); in detachNextBuffer()
1057 mCore->mFreeBuffers.push_back(last.mSlot); in queueBuffer()
1205 mCore->mFreeBuffers.push_back(slot); in cancelBuffer()
1630 mCore->mFreeBuffers.push_front(*slot); in allocateBuffers()
/frameworks/av/media/module/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/module/bufferpool/2.0/
DAccessorImpl.cpp480 mFreeBuffers.insert(bufferId); in handleReleaseBuffer()
569 mFreeBuffers.insert(message.bufferId); in handleTransferResult()
648 mFreeBuffers.insert(bufferId); in handleClose()
678 mFreeBuffers.insert(bufferId); in handleClose()
698 auto bufferIt = mFreeBuffers.begin(); in getFreeBuffer()
699 for (;bufferIt != mFreeBuffers.end(); ++bufferIt) { in getFreeBuffer()
705 if (bufferIt != mFreeBuffers.end()) { in getFreeBuffer()
707 mFreeBuffers.erase(bufferIt); in getFreeBuffer()
759 for (auto freeIt = mFreeBuffers.begin(); freeIt != mFreeBuffers.end();) { in cleanUp()
770 freeIt = mFreeBuffers.erase(freeIt); in cleanUp()
[all …]
DAccessorImpl.h124 std::set<BufferId> mFreeBuffers; member
/frameworks/native/libs/gui/include/gui/
DBufferQueueCore.h212 std::list<int> mFreeBuffers; variable