From patchwork Mon Mar 8 10:13:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 11509 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id A2908BD1F1 for ; Mon, 8 Mar 2021 10:14:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0270C602EC; Mon, 8 Mar 2021 11:14:08 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="eJ5208DZ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 663EE602E6 for ; Mon, 8 Mar 2021 11:14:06 +0100 (CET) Received: from pyrite.rasen.tech (unknown [IPv6:2400:4051:61:600:2c71:1b79:d06d:5032]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C9DD58A3; Mon, 8 Mar 2021 11:14:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1615198446; bh=nTY8LY+gyDAucXz7vyOe+tATdXzktnUg417E7kJO2BM=; h=From:To:Cc:Subject:Date:From; b=eJ5208DZZ4TOY2q7lqV8hcJgy733PvNSdRun6IqwNlELVK6kWGLwi+DeT6DZxQklj yniptQOVxuqKP6iQIBU4NcImQL5QXr36YJwM39hq6Q4V2L5lAlk5nCRqBbYIOIlkoM dIEgtjx2U1UOTYH4ePPv7bvowD9ClBITeVeMCPyc= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Mon, 8 Mar 2021 19:13:52 +0900 Message-Id: <20210308101356.59333-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] android: jpeg: exif: Fix GPS altitude X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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(-)