Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsCamera.cpp59 std::size_t numBuffersToAdd = std::min(buffers.size(), kMaxBuffersInFlight - mAvailableFrames); in importExternalBuffers() local
60 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()
/hardware/interfaces/automotive/evs/1.1/default/
DEvsCamera.cpp366 auto numBuffersToAdd = buffers.size(); in importExternalBuffers() local
367 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()