Lines Matching refs:mBuffers
92 if (mBuffers.size() > 0) { in shutdown()
94 for (auto&& rec : mBuffers) { in shutdown()
101 mBuffers.clear(); in shutdown()
509 for (auto&& rec : mBuffers) { in importExternalBuffers()
522 mBuffers.emplace_back(memHandle); in importExternalBuffers()
544 } else if (bufferId >= mBuffers.size()) { in doneWithFrame_impl()
546 << " (max is " << mBuffers.size() - 1 << ")"; in doneWithFrame_impl()
547 } else if (!mBuffers[bufferId].inUse) { in doneWithFrame_impl()
552 mBuffers[bufferId].inUse = false; in doneWithFrame_impl()
559 for (auto&& rec : mBuffers) { in doneWithFrame_impl()
561 rec.handle = mBuffers[bufferId].handle; in doneWithFrame_impl()
562 mBuffers[bufferId].handle = nullptr; in doneWithFrame_impl()
650 for (auto&& rec : mBuffers) { in increaseAvailableFrames_Locked()
661 mBuffers.emplace_back(memHandle); in increaseAvailableFrames_Locked()
678 for (auto&& rec : mBuffers) { in decreaseAvailableFrames_Locked()
713 for (idx = 0; idx < mBuffers.size(); idx++) { in forwardFrame()
714 if (!mBuffers[idx].inUse) { in forwardFrame()
715 if (mBuffers[idx].handle != nullptr) { in forwardFrame()
721 if (idx >= mBuffers.size()) { in forwardFrame()
726 mBuffers[idx].inUse = true; in forwardFrame()
771 bufDesc_1_1.buffer.nativeHandle = mBuffers[idx].handle; in forwardFrame()
849 mBuffers[idx].inUse = false; in forwardFrame()