[libcamera-devel] [PATCH 0/5] android: Fix descriptors_ clean up

Jacopo Mondi jacopo at jmondi.org
Mon Sep 6 16:01:47 CEST 2021


While testing Hiro's patch, which I'm re-sending here, I tried as well to
centralize the streams_ and descriptors_ cleanup.

This lead to the discovery of a potentially missed frame error in CameraWorker.

On top of that, I have added two assertions to enforce the correct Camera
behavior after a stop() call.

Thanks
   j

Hirokazu Honda (1):
  android: camera_device: Fix crash in calling CameraDevice::close()

Jacopo Mondi (4):
  android: camera_device: Clear streams_ in stop()
  android: camera_device: Make abortRequest() take a const
  android: camera_worker: Notify fence wait failures
  android: camera_device: Assert descriptors_ is empty

 src/android/camera_device.cpp | 54 ++++++++++++++++++++++++++---------
 src/android/camera_device.h   |  3 +-
 src/android/camera_worker.cpp | 10 ++++---
 src/android/camera_worker.h   |  9 ++++--
 4 files changed, 55 insertions(+), 21 deletions(-)

--
2.32.0



More information about the libcamera-devel mailing list