From patchwork Tue Feb 24 13:24:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 26231 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 198D5BE175 for ; Tue, 24 Feb 2026 13:24:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F3A4F622A4; Tue, 24 Feb 2026 14:24:20 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="SKyAMZTS"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 79BCC62080 for ; Tue, 24 Feb 2026 14:24:19 +0100 (CET) Received: from pb-laptop.local (185.221.141.206.nat.pool.zt.hu [185.221.141.206]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AAB3CAB4 for ; Tue, 24 Feb 2026 14:23:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1771939402; bh=hR846s4i1YlVyMIoQKM5vUVJVDfW5g1KPLs7JAZpNq8=; h=From:To:Subject:Date:From; b=SKyAMZTSzUE4zJtI4kfT3bhpgFSz/6sIv58VG2B6Ikx9weJE4gMzmxU+UXgm54CkH eqzL2bgp61csFA5NRPpKRk1rAPxhxWrrzLYEftVUQ7eT6URp554n79AX53WdGgEclQ dXP3eX09+Mx/+JgC5InTonXf+5rMC+JmyBuxLHDg= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1] libcamera: software_isp: debayer_egl: Remove `frameSize()` Date: Tue, 24 Feb 2026 14:24:15 +0100 Message-ID: <20260224132415.269693-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.53.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" The base class (`Debayer`) already contains a non-virtual function with the same implementation, so remove it from the derived class. Signed-off-by: Barnabás Pőcze Reviewed-by: Milan Zamazal Reviewed-by: Isaac Scott Reviewed-by: Hans de Goede --- src/libcamera/software_isp/debayer_egl.cpp | 10 ---------- src/libcamera/software_isp/debayer_egl.h | 1 - 2 files changed, 11 deletions(-) diff --git a/src/libcamera/software_isp/debayer_egl.cpp b/src/libcamera/software_isp/debayer_egl.cpp index 93f7c6946..8147eca1c 100644 --- a/src/libcamera/software_isp/debayer_egl.cpp +++ b/src/libcamera/software_isp/debayer_egl.cpp @@ -276,16 +276,6 @@ int DebayerEGL::initBayerShaders(PixelFormat inputFormat, PixelFormat outputForm return getShaderVariableLocations(); } -/** - * \brief Get the output frame size - * - * \return The output frame size - */ -unsigned int DebayerEGL::frameSize() -{ - return outputConfig_.frameSize; -} - int DebayerEGL::configure(const StreamConfiguration &inputCfg, const std::vector> &outputCfgs, [[maybe_unused]] bool ccmEnabled) diff --git a/src/libcamera/software_isp/debayer_egl.h b/src/libcamera/software_isp/debayer_egl.h index 59aebcc81..d4c1fa31e 100644 --- a/src/libcamera/software_isp/debayer_egl.h +++ b/src/libcamera/software_isp/debayer_egl.h @@ -55,7 +55,6 @@ public: void stop(); const SharedFD &getStatsFD() { return stats_->getStatsFD(); } - unsigned int frameSize(); SizeRange sizes(PixelFormat inputFormat, const Size &inputSize);