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

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

Message

Paul Elder March 9, 2021, 8:52 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.

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(-)