mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-08 12:38:37 +00:00
Currently, whether the HAL buffer manager is used or not is decided based on the presence of a static camera characteristics key - ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION. This behavior cannot be toggled depending on stream configuration / session parameters. The HAL buffer manager does reduce memory consumption at the cost of extra IPC calls, which may not be always desirable. Therefore, a new API - 'configureStreamsV2()' is introduced to give the camera HAL the ability to inform the camera framework whether it must use the HAL buffer manager for the particular session configured. Bug: 311263114 Test: VtsAidlHalCameraProvider_TargetTest on cuttlefish Test: builds Change-Id: Ibce6d64c3c9cc8e0ebc40522369291d03053cce2 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
1.6 KiB
1.6 KiB