Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp302 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() local
303 if (bufferIter == mBuffers.end() || in handleTransferTo()
326 bufferIter->second->mTransactionCount++; in handleTransferTo()
340 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferFrom() local
341 bufferIter->second->mTransactionCount++; in handleTransferFrom()
359 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferResult() local
363 bufferIter->second->mTransactionCount--; in handleTransferResult()
364 if (bufferIter->second->mOwnerCount == 0 in handleTransferResult()
365 && bufferIter->second->mTransactionCount == 0) { in handleTransferResult()
366 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult()
[all …]
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp485 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() local
486 if (bufferIter == mBuffers.end() || in handleTransferTo()
509 bufferIter->second->mTransactionCount++; in handleTransferTo()
523 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferFrom() local
524 bufferIter->second->mTransactionCount++; in handleTransferFrom()
542 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferResult() local
546 bufferIter->second->mTransactionCount--; in handleTransferResult()
547 if (bufferIter->second->mOwnerCount == 0 in handleTransferResult()
548 && bufferIter->second->mTransactionCount == 0) { in handleTransferResult()
549 if (!bufferIter->second->mInvalidated) { in handleTransferResult()
[all …]