From patchwork Fri Jun 28 21:35:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 20485 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 7D8D2BD87C for ; Fri, 28 Jun 2024 21:35:59 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3C31B62C9A; Fri, 28 Jun 2024 23:35:58 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="QyXkjID1"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A937E619E5 for ; Fri, 28 Jun 2024 23:35:56 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8388A2C5 for ; Fri, 28 Jun 2024 23:35:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1719610531; bh=+tpu+KOOQvulNlW6NMAzjI/zcx/VQwhXk2WN0ENtpe4=; h=From:To:Subject:Date:From; b=QyXkjID1kMJPWxs/eEDxktvDVBSqu/QGe5IzdMAOKqqYApRQJTIVsGqrN7ZtG88gs Z8tjgAUF7cPa/1Ih6n664RMhoZR2S/6GdInRYV+X5+zpz5mpo3cSQLoBCU8aFlvLg1 mNTOFngH4kU1kTPJLqNx03m2Q5qWTJH7nrCzGUIc= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 0/2] apps: common: dng_write: Endianness fixes Date: Sat, 29 Jun 2024 00:35:33 +0300 Message-ID: <20240628213535.6906-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.44.2 MIME-Version: 1.0 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" Hello, Here are two misc fixes for the DNG writer, related to endianness issues when packing scanlines and generating thumbnails for some raw formats. Laurent Pinchart (2): apps: common: dng_writer: Fix thumbnail generation on BE machines apps: common: dng_writer: Fix RAW10 and RAW12 packing on BE machines src/apps/common/dng_writer.cpp | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) base-commit: e9dc398b92cf5a15240650fbac4078fdefc41ff2