Home
last modified time | relevance | path

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

12

/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/aidl/impl/default/src/
DEvsCamera.cpp94 ndk::ScopedAStatus EvsCamera::setMaxFramesInFlight(int32_t bufferCount) { in setMaxFramesInFlight() argument
96 if (bufferCount < 1) { in setMaxFramesInFlight()
101 if (!setAvailableFrames_unsafe(bufferCount)) { in setMaxFramesInFlight()
226 bool EvsCamera::setAvailableFrames_unsafe(const std::size_t bufferCount) { in setAvailableFrames_unsafe() argument
227 if (bufferCount < 1) { in setAvailableFrames_unsafe()
231 if (bufferCount > kMaxBuffersInFlight) { in setAvailableFrames_unsafe()
236 if (bufferCount > mAvailableFrames) { in setAvailableFrames_unsafe()
239 for (int numBufferToAllocate = bufferCount - mAvailableFrames; in setAvailableFrames_unsafe()
260 for (int numBufferToRelease = mAvailableFrames - std::max(bufferCount, mFramesInUse); in setAvailableFrames_unsafe()
264 if (mAvailableFrames > bufferCount) { in setAvailableFrames_unsafe()
[all …]
/hardware/interfaces/automotive/evs/1.1/default/
DEvsUltrasonicsArray.cpp200 Return<EvsResult> EvsUltrasonicsArray::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument
207 if (bufferCount < 1) { in setMaxFramesInFlight()
213 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()
319 bool EvsUltrasonicsArray::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument
320 if (bufferCount < 1) { in setAvailableFrames_Locked()
324 if (bufferCount > kMaximumDataFramesInFlight) { in setAvailableFrames_Locked()
330 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()
332 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()
342 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()
344 unsigned framesToRelease = mFramesAllowed - bufferCount; in setAvailableFrames_Locked()
DEvsCamera.cpp108 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { in setMaxFramesInFlight() argument
109 ALOGD("%s, bufferCount = %u", __FUNCTION__, bufferCount); in setMaxFramesInFlight()
120 if (bufferCount < 1) { in setMaxFramesInFlight()
126 if (setAvailableFrames_Locked(bufferCount)) { in setMaxFramesInFlight()
425 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) { in setAvailableFrames_Locked() argument
426 if (bufferCount < kMinimumBuffersInFlight) { in setAvailableFrames_Locked()
431 if (bufferCount > kMaxBuffersInFlight) { in setAvailableFrames_Locked()
437 if (mFramesAllowed < bufferCount) { in setAvailableFrames_Locked()
439 unsigned needed = bufferCount - mFramesAllowed; in setAvailableFrames_Locked()
449 } else if (mFramesAllowed > bufferCount) { in setAvailableFrames_Locked()
[all …]
DEvsUltrasonicsArray.h52 Return<EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
103 bool setAvailableFrames_Locked(unsigned bufferCount);
DEvsCamera.h39 Return<V1_0::EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override;
86 bool setAvailableFrames_Locked(unsigned bufferCount);
/hardware/interfaces/automotive/evs/aidl/aidl_api/android.hardware.automotive.evs/current/android/hardware/automotive/evs/
DIEvsUltrasonicsArray.aidl39 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
DIEvsCamera.aidl51 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
/hardware/interfaces/automotive/evs/aidl/aidl_api/android.hardware.automotive.evs/2/android/hardware/automotive/evs/
DIEvsUltrasonicsArray.aidl39 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
DIEvsCamera.aidl51 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
/hardware/interfaces/automotive/evs/aidl/aidl_api/android.hardware.automotive.evs/1/android/hardware/automotive/evs/
DIEvsUltrasonicsArray.aidl39 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
DIEvsCamera.aidl51 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
/hardware/interfaces/automotive/evs/aidl/android/hardware/automotive/evs/
DIEvsUltrasonicsArray.aidl60 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
DIEvsCamera.aidl215 void setMaxFramesInFlight(in int bufferCount); in setMaxFramesInFlight() argument
/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/automotive/evs/aidl/impl/default/include/
DEvsCamera.h47 ndk::ScopedAStatus setMaxFramesInFlight(int32_t bufferCount) override;
97 bool setAvailableFrames_unsafe(const std::size_t bufferCount);
/hardware/google/gfxstream/guest/mesa/include/android_stub/vndk/
Dwindow.h269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount);
/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/google/gfxstream/guest/mesa/include/android_stub/system/
Dwindow.h731 size_t bufferCount) in native_window_set_buffer_count() argument
733 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); in native_window_set_buffer_count()
/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/google/gfxstream/common/vulkan/include/vulkan/
Dvulkan_fuchsia.h192 uint32_t bufferCount; member
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvulkan_fuchsia.h192 uint32_t bufferCount; member
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_frame_boundary.adoc151 uint32_t bufferCount;

12