[libcamera-devel] [PATCH v3 0/2] android: Fix generation of thumbnail for EXIF data
Umang Jain
umang.jain at ideasonboard.com
Thu Sep 23 09:24:51 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 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 | 32 ++++++++++++++++++++++++++---
1 file changed, 29 insertions(+), 3 deletions(-)
--
2.31.0
More information about the libcamera-devel
mailing list