Searched refs:mFramesInUse (Results 1 – 9 of 9) sorted by relevance
/hardware/interfaces/automotive/evs/aidl/impl/default/src/ |
D | EvsCamera.cpp | 260 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/ |
D | EvsCamera.cpp | 45 mFramesInUse(0), in EvsCamera() 191 mFramesInUse--; in doneWithFrame() 396 if (mFramesInUse >= mFramesAllowed) { in generateFrames() 415 mFramesInUse++; in generateFrames() 449 mFramesInUse--; in generateFrames()
|
D | EvsCamera.h | 91 unsigned mFramesInUse; // How many buffers are currently outstanding variable
|
/hardware/interfaces/automotive/evs/1.1/default/ |
D | EvsUltrasonicsArray.cpp | 136 : 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()
|
D | EvsCamera.cpp | 54 : 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()
|
D | EvsUltrasonicsArray.h | 122 unsigned mFramesInUse GUARDED_BY(mAccessLock); // How many buffers are currently outstanding.
|
D | EvsCamera.h | 118 unsigned mFramesInUse; // How many buffers are currently outstanding variable
|
/hardware/interfaces/automotive/evs/aidl/impl/default/tests/ |
D | EvsCameraBufferTest.cpp | 49 EXPECT_EQ(idx < mFramesInUse, buffer.inUse); in checkBufferOrder() 51 EXPECT_LE(mFramesInUse, mAvailableFrames); in checkBufferOrder()
|
/hardware/interfaces/automotive/evs/aidl/impl/default/include/ |
D | EvsCamera.h | 135 std::size_t mFramesInUse{0};
|