Searched refs:bufferCount (Results 1 – 13 of 13) sorted by relevance
117 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument128 if (bufferCount < 1) { in setMaxFramesInFlight()134 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()265 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument266 if (bufferCount < 1) { in setAvailableFrames_Locked()270 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { in setAvailableFrames_Locked()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()
43 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;61 bool setAvailableFrames_Locked(unsigned bufferCount);
201 Return<EvsResult> EvsUltrasonicsArray::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument208 if (bufferCount < 1) { in setMaxFramesInFlight()214 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()320 bool EvsUltrasonicsArray::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument321 if (bufferCount < 1) { in setAvailableFrames_Locked()325 if (bufferCount > kMaximumDataFramesInFlight) { in setAvailableFrames_Locked()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()
110 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument121 if (bufferCount < 1) { in setMaxFramesInFlight()127 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()366 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument367 if (bufferCount < 1) { in setAvailableFrames_Locked()371 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { in setAvailableFrames_Locked()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()
52 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;103 bool setAvailableFrames_Locked(unsigned bufferCount);
56 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;107 bool setAvailableFrames_Locked(unsigned bufferCount);
48 * @param bufferCount Number of buffers the client of51 * Will return EvsResult::INVALID_ARG on invalid bufferCount.53 setMaxFramesInFlight(uint32_t bufferCount) generates (EvsResult result);
38 * bufferSize * bufferCount bytes.40 * @param bufferCount The number of contiguous buffers that the descriptor48 registerMemory(handle descriptor, uint32_t bufferSize, uint32_t bufferCount)
40 size_t bufferCount() { return mBuffer.count(); } in bufferCount() function
46 * @param bufferCount Number of buffers the client of IEvsCamera may hold concurrently.49 setMaxFramesInFlight(uint32_t bufferCount) generates (EvsResult result);
2454 size_t bufferCount = 10; in TEST_P() local2456 for (int i = 0; i < bufferCount; i++) { in TEST_P()2466 ASSERT_EQ(bufferCount, bufferDump.size()); in TEST_P()
196 * * bufferCount was out of range (see above).
697 uint32_t bufferSize, uint32_t bufferCount) override;1037 uint32_t bufferCount) { in registerMemory() argument1050 descriptor->data[0], bufferSize*bufferCount, 0, 0); in registerMemory()