[libcamera-devel] [PATCH v4 0/2] android: Fix generation of thumbnail for EXIF data

Umang Jain umang.jain at ideasonboard.com
Thu Sep 23 10:37:46 CEST 2021


Patch 1 provides a clarification about CameraMetadata hint
initialization value for number of entries. CameraMetadata can
resize on the fly (if required), so the constructor values are more
of less of a hint, deliberately kept slightly bigger to avoid
frequent resizes.

Patch 2 fixes the thumbnail generation.

Changes in v4:
- Carry tags
- Fix rebase fiasco in 2/2

Changes in v3:
- Provide CameraMetadata hint value clarification
- Be more defensive about not adding Size(0,0) for thumbnail by
  introducing a loop over values (As suggested by Jacopo in v2)

Changes in v2:
 - Add an ASSERT to check entry size >= 4 
Umang Jain (2):
  android: camera_capabilities: Clarify CameraMetadata allocation
  android: Fix generation of thumbnail for EXIF data

 src/android/camera_capabilities.cpp | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)

-- 
2.31.1



More information about the libcamera-devel mailing list