From patchwork Sun Sep 13 15:31:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 28234 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 992D8C3200 for ; Sun, 13 Sep 2026 15:31:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3AF3068684; Sun, 13 Sep 2026 17:31:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Pm9FI4h+"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 85C2968678 for ; Sun, 13 Sep 2026 17:31:07 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-70f3-e800--a06.rev.dnainternet.fi [IPv6:2001:14ba:70f3:e800::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C68D8E9C; Sun, 13 Sep 2026 17:29:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789313368; bh=KAps+xQIEZfl8jgJxTMJx/HB/e7UckpDyPyRil7OpYo=; h=From:To:Cc:Subject:Date:From; b=Pm9FI4h+Uno28ZuFgaZkJ3xz9wbbOxAVByDd7oTofC/I9W5KzPovhNx//Su6HRns3 BXKKR2hwK4ZEpavbYUTRo/CKbmg79T3ZNgg70pY+phHIrtR+3nsqMkJCjR65LNBwDs BOta7+mFidMIxXqHUhF9qVPRGEfKkQHb7tJPZUds= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Cc: Robert Mader Subject: [PATCH 0/2] libcamera: Add and use Matrix::transpose() Date: Sun, 13 Sep 2026 18:31:03 +0300 Message-ID: <20260913153105.2478177-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.55.0 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, A change to the software ISP recently introduce hand-coded matrix transposition. This is a feature that belongs to the Matrix class. This small series adds a new Matrix::transpose() function and uses it in the software ISP. The code has been compile-tested only. Laurent Pinchart (2): libcamera: matrix: Add a transpose() function libcamera: software_isp: debayer_egl: Use Matrix::transpose() include/libcamera/internal/matrix.h | 12 ++++++++++ src/libcamera/matrix.cpp | 27 ++++++++++++++++++++++ src/libcamera/software_isp/debayer_egl.cpp | 19 ++++----------- 3 files changed, 43 insertions(+), 15 deletions(-) base-commit: 87c7285663aaad7608fdc18d5216ec6811c685c7