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

Message ID 20210514061309.791987-1-paul.elder@ideasonboard.com
Headers show
Series
  • Auto-resize CameraMetadata
Related show

Message

Paul Elder May 14, 2021, 6:13 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 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            | 286 +++++++++--------------
 src/android/camera_device.h              |   1 -
 src/android/camera_metadata.cpp          |  84 ++++++-
 src/android/camera_metadata.h            |  40 +++-
 src/android/jpeg/post_processor_jpeg.cpp |  11 +-
 5 files changed, 225 insertions(+), 197 deletions(-)