Home
last modified time | relevance | path

Searched refs:mFramesInUse (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsCamera.cpp260 for (int numBufferToRelease = mAvailableFrames - std::max(bufferCount, mFramesInUse); in setAvailableFrames_unsafe()
284 if (mFramesInUse > 0) { in closeAllBuffers_unsafe()
285 LOG(WARNING) << __func__ << ": Closing while " << mFramesInUse in closeAllBuffers_unsafe()
298 if (mFramesInUse >= mAvailableFrames) { in useBuffer_unsafe()
299 DCHECK_EQ(mFramesInUse, mAvailableFrames); in useBuffer_unsafe()
302 const std::size_t pos = mFramesInUse++; in useBuffer_unsafe()
322 DCHECK_LT(pos, mFramesInUse); in returnBuffer_unsafe()
323 const std::size_t last_in_use_pos = --mFramesInUse; in returnBuffer_unsafe()
354 if (mFramesInUse >= mAvailableFrames) { in decreaseAvailableFrames_unsafe()
355 DCHECK_EQ(mFramesInUse, mAvailableFrames); in decreaseAvailableFrames_unsafe()
/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp45 mFramesInUse(0), in EvsCamera()
191 mFramesInUse--; in doneWithFrame()
396 if (mFramesInUse >= mFramesAllowed) { in generateFrames()
415 mFramesInUse++; in generateFrames()
449 mFramesInUse--; in generateFrames()
DEvsCamera.h91 unsigned mFramesInUse; // How many buffers are currently outstanding variable
/hardware/interfaces/automotive/evs/1.1/default/
DEvsUltrasonicsArray.cpp136 : mFramesAllowed(0), mFramesInUse(0), mStreamState(STOPPED) { in EvsUltrasonicsArray()
241 mFramesInUse--; in doneWithDataFrame()
474 if (mFramesInUse >= mFramesAllowed) { in generateDataFrames()
491 mFramesInUse++; in generateDataFrames()
520 mFramesInUse--; in generateDataFrames()
DEvsCamera.cpp54 : mFramesAllowed(0), mFramesInUse(0), mStreamState(STOPPED), mCameraInfo(camInfo) { in EvsCamera()
553 if (mFramesInUse >= mFramesAllowed) { in generateFrames()
572 mFramesInUse++; in generateFrames()
613 mFramesInUse--; in generateFrames()
705 mFramesInUse--; in returnBufferLocked()
DEvsUltrasonicsArray.h122 unsigned mFramesInUse GUARDED_BY(mAccessLock); // How many buffers are currently outstanding.
DEvsCamera.h118 unsigned mFramesInUse; // How many buffers are currently outstanding variable
/hardware/interfaces/automotive/evs/aidl/impl/default/tests/
DEvsCameraBufferTest.cpp49 EXPECT_EQ(idx < mFramesInUse, buffer.inUse); in checkBufferOrder()
51 EXPECT_LE(mFramesInUse, mAvailableFrames); in checkBufferOrder()
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DEvsCamera.h135 std::size_t mFramesInUse{0};