Lines Matching refs:mFrames
143 for (const auto& rec : mFrames) { in changeFramesInFlight()
152 mFrames.swap(newRecords); in changeFramesInFlight()
195 for (const auto& rec : mFrames) { in changeFramesInFlight()
205 mFrames.swap(newRecords); in changeFramesInFlight()
274 for (i = 0; i < mFrames.size(); i++) { in doneWithFrame()
275 if (mFrames[i].frameId == buffer.bufferId) { in doneWithFrame()
279 if (i == mFrames.size()) { in doneWithFrame()
283 mFrames[i].refCount--; in doneWithFrame()
284 if (mFrames[i].refCount <= 0) { in doneWithFrame()
300 for (i = 0; i < mFrames.size(); i++) { in doneWithFrame()
301 if (mFrames[i].frameId == buffer.bufferId) { in doneWithFrame()
305 if (i == mFrames.size()) { in doneWithFrame()
309 mFrames[i].refCount--; in doneWithFrame()
310 if (mFrames[i].refCount <= 0) { in doneWithFrame()
411 for (i = 0; i < mFrames.size(); ++i) { in deliverFrame_1_1()
412 if (mFrames[i].refCount == 0) { in deliverFrame_1_1()
417 if (i == mFrames.size()) { in deliverFrame_1_1()
418 mFrames.emplace_back(buffer[0].bufferId); in deliverFrame_1_1()
420 mFrames[i].frameId = buffer[0].bufferId; in deliverFrame_1_1()
422 mFrames[i].refCount = frameDeliveries; in deliverFrame_1_1()