[libcamera-devel] [PATCH v5 0/3] Auto-resize CameraMetadata

Paul Elder paul.elder at ideasonboard.com
Fri May 14 08:43:00 CEST 2021


This patch series adds auto-resizing to CameraMetadata so that it no
longer needs to be pre-allocated. Convenience template overload
functions are added to CameraMetadata, so its callers are converted to
using them.

Patch 1/3 makes the change to CameraMetadata (and contains the bulk of
the content of this patch series), and patches 2/3 and 3/3 change the
callers.

Paul Elder (3):
  android: camera_metadata: Auto-resize CameraMetadata
  android: camera_device: Use the new CameraMetadata functions
  android: jpeg: post_processor: Use the new metadata functions

 src/android/camera_device.cpp            | 290 +++++++++--------------
 src/android/camera_device.h              |   1 -
 src/android/camera_metadata.cpp          |  84 ++++++-
 src/android/camera_metadata.h            |  52 +++-
 src/android/jpeg/post_processor_jpeg.cpp |  11 +-
 5 files changed, 239 insertions(+), 199 deletions(-)

-- 
2.27.0



More information about the libcamera-devel mailing list