[libcamera-devel] [PATCH v5 0/2] Fix Camera3RequestDescriptor leakage
Hirokazu Honda
hiroh at chromium.org
Fri Apr 2 04:12:36 CEST 2021
This enables CameraDevice to retain the leakage of
Camera3RequestDescriptor.
Change in v3:
- Add CameraDevice::stop().
- Fix the style error in patch 1.
Change in v5:
- Add mutext to protect descriptors_ because
processCaptureRequest() and requestComplete() runs on
different threads.
Hirokazu Honda (2):
android: CameraDevice: Add stop()
android: CameraDevice: Fix Camera3RequestDescriptor leakage
src/android/camera_device.cpp | 102 ++++++++++++++++++++--------------
src/android/camera_device.h | 13 ++++-
src/android/camera_worker.cpp | 4 +-
src/android/camera_worker.h | 2 +-
4 files changed, 74 insertions(+), 47 deletions(-)
--
2.31.0.208.g409f899ff0-goog
More information about the libcamera-devel
mailing list