From patchwork Mon Sep 14 07:21:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 28238 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 D5589BDCB7 for ; Mon, 14 Sep 2026 07:21:39 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5F2E968683; Mon, 14 Sep 2026 09:21:38 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="gXUASSRi"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 823B768244 for ; Mon, 14 Sep 2026 09:21:36 +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 59C8C6A6; Mon, 14 Sep 2026 09:19:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1789370396; bh=0UUX1uWk3rYPrjKFvIIkz25knWW9eD6K7pZJqXzm2Hw=; h=From:To:Cc:Subject:Date:From; b=gXUASSRi4jUpb4tQpnHl1wR8V1LGQu7hkYjU/dc1VIaV9SPzlmXwbmrIrErCHWDux 4Lz9f/kegGtPTxp1H7FQQUGdJ/ZjeTFdoNEsi4vpa+U1ybDuMHHcGkEFkzOOqmaMtz psQx39WrJbFndnaKcpHW6V/6ajzhepjVitqABV84= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Cc: Robert Mader Subject: [PATCH v2 0/2] libcamera: Add and use Matrix::transpose() Date: Mon, 14 Sep 2026 10:21:32 +0300 Message-ID: <20260914072134.2538724-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 | 14 +++++++++ src/libcamera/matrix.cpp | 34 +++++++++++++++++++++- src/libcamera/software_isp/debayer_egl.cpp | 19 +++--------- test/matrix.cpp | 9 ++++++ 4 files changed, 60 insertions(+), 16 deletions(-) base-commit: 87c7285663aaad7608fdc18d5216ec6811c685c7