[libcamera-devel] [PATCH 0/4] android: jpeg: exif: Fix GPS altitude

Paul Elder paul.elder at ideasonboard.com
Mon Mar 8 11:13:52 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.

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 from UNDEFINED format to ASCII

 src/android/jpeg/exif.cpp | 41 ++++++++++++++-------------------------
 src/android/jpeg/exif.h   |  2 ++
 2 files changed, 17 insertions(+), 26 deletions(-)

-- 
2.27.0



More information about the libcamera-devel mailing list