Searched refs:numBuffersToAdd (Results 1 – 2 of 2) sorted by relevance
59 std::size_t numBuffersToAdd = std::min(buffers.size(), kMaxBuffersInFlight - mAvailableFrames); in importExternalBuffers() local60 if (numBuffersToAdd == 0) { in importExternalBuffers()64 } else if (numBuffersToAdd < buffers.size()) { in importExternalBuffers()65 LOG(WARNING) << "Exceeds the limit on the number of buffers. Only " << numBuffersToAdd in importExternalBuffers()69 for (std::size_t idx = 0; idx < numBuffersToAdd; ++idx) { in importExternalBuffers()
366 auto numBuffersToAdd = buffers.size(); in importExternalBuffers() local367 if (numBuffersToAdd < 1) { in importExternalBuffers()376 if (numBuffersToAdd > (kMaxBuffersInFlight - mFramesAllowed)) { in importExternalBuffers()377 numBuffersToAdd -= (kMaxBuffersInFlight - mFramesAllowed); in importExternalBuffers()379 static_cast<uint64_t>(numBuffersToAdd)); in importExternalBuffers()384 for (auto i = 0; i < numBuffersToAdd; ++i) { in importExternalBuffers()