Home
last modified time | relevance | path

Searched refs:mFramesAllowed (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp130 mFramesAllowed(0), in EvsEmulatedCamera()
252 if (mFramesAllowed < 1) { in startVideoStream()
458 _hidl_cb(EvsResult::UNDERLYING_SERVICE_ERROR, mFramesAllowed); in importExternalBuffers()
465 _hidl_cb(EvsResult::OK, mFramesAllowed); in importExternalBuffers()
472 if (numBuffersToAdd > (MAX_BUFFERS_IN_FLIGHT - mFramesAllowed)) { in importExternalBuffers()
473 numBuffersToAdd -= (MAX_BUFFERS_IN_FLIGHT - mFramesAllowed); in importExternalBuffers()
479 const auto before = mFramesAllowed; in importExternalBuffers()
517 ++mFramesAllowed; in importExternalBuffers()
520 _hidl_cb(EvsResult::OK, mFramesAllowed - before); in importExternalBuffers()
549 if (bufferId >= mFramesAllowed) { in doneWithFrame_impl()
[all …]
DEvsEmulatedCamera.h141 unsigned mFramesAllowed; // How many buffers are we currently using variable
/packages/services/Car/cpp/evs/sampleDriver/
DEvsV4lCamera.cpp48 mFramesAllowed(0), in EvsV4lCamera()
156 if (mFramesAllowed < 1) { in startVideoStream()
465 _hidl_cb(EvsResult::UNDERLYING_SERVICE_ERROR, mFramesAllowed); in importExternalBuffers()
472 _hidl_cb(EvsResult::OK, mFramesAllowed); in importExternalBuffers()
479 if (numBuffersToAdd > (MAX_BUFFERS_IN_FLIGHT - mFramesAllowed)) { in importExternalBuffers()
480 numBuffersToAdd -= (MAX_BUFFERS_IN_FLIGHT - mFramesAllowed); in importExternalBuffers()
486 const auto before = mFramesAllowed; in importExternalBuffers()
525 ++mFramesAllowed; in importExternalBuffers()
528 _hidl_cb(EvsResult::OK, mFramesAllowed - before); in importExternalBuffers()
557 if (bufferId >= mFramesAllowed) { in doneWithFrame_impl()
[all …]
DEvsV4lCamera.h139 unsigned mFramesAllowed; // How many buffers are we currently using variable
/packages/services/Car/cpp/evs/manager/1.0/
DVirtualCamera.cpp88 } else if (mFramesHeld.size() >= mFramesAllowed) { in deliverFrame()
91 mFramesHeld.size(), mFramesAllowed); in deliverFrame()
114 int bufferCountChange = bufferCount - mFramesAllowed; in setMaxFramesInFlight()
124 mFramesAllowed = bufferCount; in setMaxFramesInFlight()
DVirtualCamera.h53 unsigned getAllowedBuffers() { return mFramesAllowed; }; in getAllowedBuffers()
73 unsigned mFramesAllowed = 1; variable
/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp122 } else if (mFramesHeld[bufDesc.deviceId].size() >= mFramesAllowed) { in deliverFrame()
125 << " of " << mFramesAllowed; in deliverFrame()
255 int bufferCountChange = bufferCount - mFramesAllowed; in setMaxFramesInFlight()
278 mFramesAllowed = bufferCount; in setMaxFramesInFlight()
288 mFramesAllowed -= bufferCountChange; in setMaxFramesInFlight()
923 mFramesAllowed += delta; in importExternalBuffers()
935 indent, mFramesAllowed, in toString()
DVirtualCamera.h69 unsigned getAllowedBuffers() { return mFramesAllowed; }; in getAllowedBuffers()
127 unsigned mFramesAllowed = 1; variable