Searched refs:mFramesAllowed (Results 1 – 6 of 6) sorted by relevance
44 mFramesAllowed(0), in EvsCamera()157 if (mFramesAllowed < 1) { in startVideoStream()195 if (buffer.bufferId >= mFramesAllowed) { in doneWithFrame()276 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()278 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()288 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()290 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()341 mFramesAllowed++; in increaseAvailableFrames_Locked()362 mFramesAllowed--; in decreaseAvailableFrames_Locked()396 if (mFramesInUse >= mFramesAllowed) { in generateFrames()
90 unsigned mFramesAllowed; // How many buffers are we currently using variable
136 : mFramesAllowed(0), mFramesInUse(0), mStreamState(STOPPED) { in EvsUltrasonicsArray()245 if (dataFrameDesc.dataFrameId >= mFramesAllowed) { in doneWithDataFrame()271 if (mFramesAllowed < 1) { in startStream()330 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()332 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()342 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()344 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()424 mFramesAllowed++; in increaseAvailableFrames_Locked()440 mFramesAllowed--; in decreaseAvailableFrames_Locked()474 if (mFramesInUse >= mFramesAllowed) { in generateDataFrames()
54 : mFramesAllowed(0), mFramesInUse(0), mStreamState(STOPPED), mCameraInfo(camInfo) { in EvsCamera()150 if (mFramesAllowed < kMinimumBuffersInFlight) { in startVideoStream()369 _hidl_cb(EvsResult::OK, mFramesAllowed); in importExternalBuffers()376 if (numBuffersToAdd > (kMaxBuffersInFlight - mFramesAllowed)) { in importExternalBuffers()377 numBuffersToAdd -= (kMaxBuffersInFlight - mFramesAllowed); in importExternalBuffers()383 const auto before = mFramesAllowed; in importExternalBuffers()417 ++mFramesAllowed; in importExternalBuffers()420 _hidl_cb(EvsResult::OK, mFramesAllowed - before); in importExternalBuffers()437 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()439 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()[all …]
121 unsigned mFramesAllowed GUARDED_BY(mAccessLock); // How many buffers are we currently using.
117 unsigned mFramesAllowed; // How many buffers are we currently using variable