Home
last modified time | relevance | path

Searched refs:bufferCount (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp117 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument
128 if (bufferCount < 1) { in setMaxFramesInFlight()
134 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()
265 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument
266 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()
DEvsCamera.h43 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
61 bool setAvailableFrames_Locked(unsigned bufferCount);
/hardware/interfaces/automotive/evs/1.1/default/
DEvsUltrasonicsArray.cpp201 Return<EvsResult> EvsUltrasonicsArray::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument
208 if (bufferCount < 1) { in setMaxFramesInFlight()
214 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()
320 bool EvsUltrasonicsArray::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument
321 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()
DEvsCamera.cpp110 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument
121 if (bufferCount < 1) { in setMaxFramesInFlight()
127 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()
366 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument
367 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()
DEvsUltrasonicsArray.h52 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
103 bool setAvailableFrames_Locked(unsigned bufferCount);
DEvsCamera.h56 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
107 bool setAvailableFrames_Locked(unsigned bufferCount);
/hardware/interfaces/automotive/evs/1.1/
DIEvsUltrasonicsArray.hal48 * @param bufferCount Number of buffers the client of
51 * Will return EvsResult::INVALID_ARG on invalid bufferCount.
53 setMaxFramesInFlight(uint32_t bufferCount) generates (EvsResult result);
/hardware/interfaces/camera/device/1.0/
DICameraDeviceCallback.hal38 * bufferSize * bufferCount bytes.
40 * @param bufferCount The number of contiguous buffers that the descriptor
48 registerMemory(handle descriptor, uint32_t bufferSize, uint32_t bufferCount)
/hardware/google/pixel/perfstatsd/include/
Dstatstype.h40 size_t bufferCount() { return mBuffer.count(); } in bufferCount() function
/hardware/interfaces/automotive/evs/1.0/
DIEvsCamera.hal46 * @param bufferCount Number of buffers the client of IEvsCamera may hold concurrently.
49 setMaxFramesInFlight(uint32_t bufferCount) generates (EvsResult result);
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp2454 size_t bufferCount = 10; in TEST_P() local
2456 for (int i = 0; i < bufferCount; i++) { in TEST_P()
2466 ASSERT_EQ(bufferCount, bufferDump.size()); in TEST_P()
/hardware/interfaces/graphics/bufferqueue/1.0/
DIGraphicBufferProducer.hal196 * * bufferCount was out of range (see above).
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp697 uint32_t bufferSize, uint32_t bufferCount) override;
1037 uint32_t bufferCount) { in registerMemory() argument
1050 descriptor->data[0], bufferSize*bufferCount, 0, 0); in registerMemory()