Searched refs:mFramesAllowed (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | EvsEmulatedCamera.cpp | 130 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 …]
|
D | EvsEmulatedCamera.h | 141 unsigned mFramesAllowed; // How many buffers are we currently using variable
|
/packages/services/Car/cpp/evs/sampleDriver/ |
D | EvsV4lCamera.cpp | 48 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 …]
|
D | EvsV4lCamera.h | 139 unsigned mFramesAllowed; // How many buffers are we currently using variable
|
/packages/services/Car/cpp/evs/manager/1.0/ |
D | VirtualCamera.cpp | 88 } 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()
|
D | VirtualCamera.h | 53 unsigned getAllowedBuffers() { return mFramesAllowed; }; in getAllowedBuffers() 73 unsigned mFramesAllowed = 1; variable
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | VirtualCamera.cpp | 122 } 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()
|
D | VirtualCamera.h | 69 unsigned getAllowedBuffers() { return mFramesAllowed; }; in getAllowedBuffers() 127 unsigned mFramesAllowed = 1; variable
|