[libcamera-devel,v3,0/3] Support HAL3 API flush
mbox series

Message ID 20210426083830.2965095-1-hiroh@chromium.org
Headers show
Series
  • Support HAL3 API flush
Related show

Message

Hirokazu Honda April 26, 2021, 8:38 a.m. UTC
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