[libcamera-devel] [PATCH v2 0/4] android: jpeg: exif: Fix GPS altitude
Paul Elder
paul.elder at ideasonboard.com
Tue Mar 9 09:52:31 CET 2021
This patch series fixes the following CTS test:
- android.hardware.cts.CameraTest#testJpegExif
Patch 1/4 fixes setRational(), which was causing setting the GPS
altitude to fail. Patches 3/4 and 4/4 also contribute fixes to get the
above test to pass.
Patch 2/4 is a cleanup patch that is enabled by expanding setRational()
in patch 1/4.
Changes in v2:
- use Span
- keep undefined format type in GPS method
Paul Elder (4):
android: jpeg: exif: Fix and expand setRational
android: jpeg: exif: Simplify setGPSDateTimestamp and setGPSDMS
android: jpeg: exif: Fix setGPSLocation longitude
android: jpeg: exif: change GPS method encoding from ASCII to
NoEncoding
src/android/jpeg/exif.cpp | 44 ++++++++++++++++-----------------------
src/android/jpeg/exif.h | 2 ++
2 files changed, 20 insertions(+), 26 deletions(-)
--
2.27.0
More information about the libcamera-devel
mailing list