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.cpp137 : mFramesAllowed(0), mFramesInUse(0), mStreamState(STOPPED) { in EvsUltrasonicsArray()
246 if (dataFrameDesc.dataFrameId >= mFramesAllowed) { in doneWithDataFrame()
272 if (mFramesAllowed < 1) { in startStream()
331 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()
333 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()
343 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()
345 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
425 mFramesAllowed++; in increaseAvailableFrames_Locked()
441 mFramesAllowed--; in decreaseAvailableFrames_Locked()
475 if (mFramesInUse >= mFramesAllowed) { in generateDataFrames()
DEvsCamera.cpp45 mFramesAllowed(0), in EvsCamera()
150 if (mFramesAllowed < 1) { in startVideoStream()
377 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()
379 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()
389 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()
391 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
442 mFramesAllowed++; in increaseAvailableFrames_Locked()
463 mFramesAllowed--; in decreaseAvailableFrames_Locked()
497 if (mFramesInUse >= mFramesAllowed) { in generateFrames()
673 if (bufferId >= mFramesAllowed) { in returnBuffer()
DEvsUltrasonicsArray.h121 unsigned mFramesAllowed GUARDED_BY(mAccessLock); // How many buffers are we currently using.
DEvsCamera.h138 unsigned mFramesAllowed; // How many buffers are we currently using variable