[libcamera-devel] [PATCH v3 0/3] Support HAL3 API flush

Hirokazu Honda hiroh at chromium.org
Mon Apr 26 10:38:27 CEST 2021


This patch series implements flush and also fix potential races
due to concurrent HAL API calls.

Change in v3:
- Separate CaptureRequest from Camera3RequestDescriptor to avoid touching invalid request
- Introduce a new mutex for HAL calls

Hirokazu Honda (3):
  android: CameraDevice: Separate CaptureRequest from
    Camera3RequestDescriptor
  android: CameraDevice: Prevent race due to concurrent HAL calls
  android: CameraDevice: Implement HAL3 API flush

 src/android/camera_device.cpp | 98 ++++++++++++++++++++++++-----------
 src/android/camera_device.h   | 15 ++++--
 src/android/camera_ops.cpp    |  8 ++-
 3 files changed, 85 insertions(+), 36 deletions(-)

--
2.31.1.498.g6c1eba8ee3d-goog


More information about the libcamera-devel mailing list