[libcamera-devel] [PATCH v2 0/8] Improve pointer types in android HAL adaptation layer
Hirokazu Honda
hiroh at chromium.org
Wed Mar 24 08:07:49 CET 2021
This patch series is intended to clarify the ownership of objects
and omit manual new/delete code by improving pointer types in
android HAL adaptation layer.
The changes in v2:
- Address Laurent's review comments.
Hirokazu Honda (8):
android: CameraHalManager: Hold CameraDevice with std::unique_ptr
android: CameraHalManager: Hold CameraManager with std::unique_ptr
android: CameraHalManager: Fix a function call of a moved Camera
android: CameraDevice: Take shared_ptr in constructor
android: CameraDevice: Return const shared_ptr& by camera()
android: Camera3RequestDescriptor: Manage buffers with std::vector
android: CameraDevice: Manage staticMetadata_ with std::unique_ptr
android: CameraDevice: Manage requestTemplates_ with std::unique_ptr
src/android/camera_device.cpp | 92 ++++++++++++------------------
src/android/camera_device.h | 19 +++---
src/android/camera_hal_manager.cpp | 25 +++-----
src/android/camera_hal_manager.h | 4 +-
4 files changed, 57 insertions(+), 83 deletions(-)
--
2.31.0.291.g576ba9dcdaf-goog
More information about the libcamera-devel
mailing list