[libcamera-devel,0/4] android: jpeg: exif: Fix GPS altitude
mbox series

Message ID 20210308101356.59333-1-paul.elder@ideasonboard.com
Headers show
Series
  • android: jpeg: exif: Fix GPS altitude
Related show

Message

Paul Elder March 8, 2021, 10:13 a.m. UTC
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(-)