From patchwork Sat May 2 22:56:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3671 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E5A23603F4 for ; Sun, 3 May 2020 00:57:10 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="jmIPTftv"; dkim-atps=neutral Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5FADF521 for ; Sun, 3 May 2020 00:57:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1588460230; bh=HDqCVz9bnRvtLP0qQOW0cfxPzVm0+F26K+X1NSxHypY=; h=From:To:Subject:Date:From; b=jmIPTftvDywaSffi3ZgHQkMzVSFHYk/tbef3+CyEKFjzqVxf+EV2O6IplxnEYiKSd jKNxr1T4i5jreEx99cPLaL4VKMTMtXynMSnqTAaSW11KF92f4wPPeAaYWP9SNfB1Mf 4QnED+D0dorbylDycwaQlp15bPcaTozIbijfwRGk= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Sun, 3 May 2020 01:56:59 +0300 Message-Id: <20200502225704.2911-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.25.3 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/5] qcam: Improve DNG writer 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: , X-List-Received-Date: Sat, 02 May 2020 22:57:11 -0000 Hello, This patch series improves the DNG writer by generating a thumbnail and adding tags from request metadata. The patches are quite self-explanatory. Patch 5/5 could be squashed with 3/5, but I think keeping it separate would allow an easier revert in case we revisit this later and realize that the mishandling of the thumbnail in RawTherapee is due to a big in the DNG writer code. Laurent Pinchart (5): qcam: Pass request metadata to DNG writer qcam: dng_writer: Name arguments to packScanline() qcam: dng_writer: Output thumbnail qcam: dng_writer: Populate DNG tags from metadata qcam: dng_writer: Generate thumbnail in RGB format src/qcam/dng_writer.cpp | 197 ++++++++++++++++++++++++++++++++++++--- src/qcam/dng_writer.h | 2 + src/qcam/main_window.cpp | 18 ++-- src/qcam/main_window.h | 22 ++++- 4 files changed, 213 insertions(+), 26 deletions(-)