[libcamera-devel] [PATCH 0/6] Fill in android result metadata and EXIF tags
Paul Elder
paul.elder at ideasonboard.com
Thu Jan 14 11:40:29 CET 2021
This patch series depends on the following two series:
- "libcamera: camera_sensor: Make validation more strict" v5
- "android: Exposure times + scaler crop + android metadata"
This patch series makes the following CTS tests pass:
- android.hardware.camera2.cts.StillCaptureTest#testFocalLengths
- android.hardware.camera2.cts.StillCaptureTest#testJpegExif
Mostly by filling out android result metadata and EXIF tags correctly
based on the android request metadata.
Paul Elder (6):
utils: Add function to convert string to UCS-2
android: CameraMetadata: Add copy constructor and getEntry
android: jpeg: exif: Fix setOrientation EXIF values
android: jpeg: exif: Add functions for setting various values
android: camera_device: Load make and model from platform settings
android: Set result metadata and EXIF fields based on request metadata
include/libcamera/internal/utils.h | 2 +
src/android/camera_device.cpp | 57 ++++++-
src/android/camera_device.h | 10 +-
src/android/camera_metadata.cpp | 23 +++
src/android/camera_metadata.h | 3 +
src/android/camera_stream.cpp | 7 +-
src/android/camera_stream.h | 4 +-
src/android/jpeg/exif.cpp | 191 ++++++++++++++++++++++-
src/android/jpeg/exif.h | 41 +++++
src/android/jpeg/post_processor_jpeg.cpp | 116 +++++++++++---
src/android/jpeg/post_processor_jpeg.h | 5 +-
src/android/jpeg/thumbnailer.h | 1 +
src/android/post_processor.h | 3 +-
src/libcamera/utils.cpp | 30 ++++
14 files changed, 459 insertions(+), 34 deletions(-)
--
2.27.0
More information about the libcamera-devel
mailing list