Home
last modified time | relevance | path

Searched refs:bufferIter (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp296 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() local
297 if (bufferIter == mBuffers.end() || in handleTransferTo()
315 bufferIter->second->mTransactionCount++; in handleTransferTo()
329 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferFrom() local
330 bufferIter->second->mTransactionCount++; in handleTransferFrom()
348 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferResult() local
352 bufferIter->second->mTransactionCount--; in handleTransferResult()
353 if (bufferIter->second->mOwnerCount == 0 in handleTransferResult()
354 && bufferIter->second->mTransactionCount == 0) { in handleTransferResult()
355 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult()
[all …]
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp465 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() local
466 if (bufferIter == mBuffers.end() || in handleTransferTo()
484 bufferIter->second->mTransactionCount++; in handleTransferTo()
498 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferFrom() local
499 bufferIter->second->mTransactionCount++; in handleTransferFrom()
517 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferResult() local
521 bufferIter->second->mTransactionCount--; in handleTransferResult()
522 if (bufferIter->second->mOwnerCount == 0 in handleTransferResult()
523 && bufferIter->second->mTransactionCount == 0) { in handleTransferResult()
524 if (!bufferIter->second->mInvalidated) { in handleTransferResult()
[all …]