Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp44 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()
DEvsCamera.h90 unsigned mFramesAllowed; // How many buffers are we currently using variable
/hardware/interfaces/automotive/evs/1.1/default/
DEvsUltrasonicsArray.cpp136 : 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()
DEvsCamera.cpp54 : 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 …]
DEvsUltrasonicsArray.h121 unsigned mFramesAllowed GUARDED_BY(mAccessLock); // How many buffers are we currently using.
DEvsCamera.h117 unsigned mFramesAllowed; // How many buffers are we currently using variable