From 71c5c08fcf4ba27e2daf7f59b1a6fc193e7401a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Tue, 24 Feb 2026 14:11:58 +0100 Subject: [PATCH] libcamera: software_isp: debayer_egl: Remove `frameSize()` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The base class (`Debayer`) already contains a non-virtual function with the same name and implementation, so remove it from the derived class. Signed-off-by: Barnabás Pőcze Reviewed-by: Milan Zamazal Reviewed-by: Isaac Scott --- 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 93f7c694..8147eca1 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 59aebcc8..d4c1fa31 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);