libcamera: software_isp: Add a Size_ member variable to pass to eGL later

We will be initialising eGL from Debayer::start(). We need a copy of the
size data passed in configure() to tell the fragment shaders the right
output size.

Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Tested-by: Robert Mader <robert.mader@collabora.com>
Tested-by: Hans de Goede <johannes.goede@oss.qualcomm.com> # ThinkPad T14s gen 6 (arm64) ov02c10 + X1c gen 12 ov08x40
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> # Lenovo X13s
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Bryan O'Donoghue
2026-01-06 17:00:49 +00:00
committed by Kieran Bingham
parent 7e72e84f3d
commit db09fcd8b6
2 changed files with 6 additions and 0 deletions

View File

@@ -300,6 +300,11 @@ Debayer::~Debayer()
* \brief The output pixel format
*/
/**
* \var Debayer::outputSize_
* \brief Output size object
*/
/**
* \var Debayer::red_
* \brief Lookup table for red channel gain and correction values

View File

@@ -75,6 +75,7 @@ public:
DebayerInputConfig inputConfig_;
DebayerOutputConfig outputConfig_;
Size outputSize_;
PixelFormat inputPixelFormat_;
PixelFormat outputPixelFormat_;
DebayerParams::LookupTable red_;