[libcamera-devel,v3,0/3] Auto-resize CameraMetadata
mbox

Message ID 20210512102541.722956-1-paul.elder@ideasonboard.com
Headers show

Message

Paul Elder May 12, 2021, 10:25 a.m. UTC
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 toe CameraMetadata (and contains the bulk of
the content of this patch series, including some discussion points), 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            | 288 +++++++++--------------
 src/android/camera_device.h              |   1 -
 src/android/camera_metadata.cpp          |  84 ++++++-
 src/android/camera_metadata.h            |  44 +++-
 src/android/jpeg/post_processor_jpeg.cpp |  11 +-
 5 files changed, 228 insertions(+), 200 deletions(-)