{"id":25586,"url":"https://patchwork.libcamera.org/api/1.1/patches/25586/?format=json","web_url":"https://patchwork.libcamera.org/patch/25586/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20251217100138.82525-14-bryan.odonoghue@linaro.org>","date":"2025-12-17T10:01:25","name":"[v9,13/26] libcamera: software_isp: Add a Size_ member variable to pass to eGL later","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"e3643bd7355ce11e8bad9ff138c9a289219e50c9","submitter":{"id":175,"url":"https://patchwork.libcamera.org/api/1.1/people/175/?format=json","name":"Bryan O'Donoghue","email":"bryan.odonoghue@linaro.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/25586/mbox/","series":[{"id":5669,"url":"https://patchwork.libcamera.org/api/1.1/series/5669/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5669","date":"2025-12-17T10:01:12","name":"Add GLES 2.0 GPUISP to libcamera","version":9,"mbox":"https://patchwork.libcamera.org/series/5669/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/25586/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25586/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id C1394C32E0\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 17 Dec 2025 10:02:13 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2B9CC61AA4;\n\tWed, 17 Dec 2025 11:02:13 +0100 (CET)","from mail-wm1-x342.google.com (mail-wm1-x342.google.com\n\t[IPv6:2a00:1450:4864:20::342])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BDE2861A4C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Dec 2025 11:01:58 +0100 (CET)","by mail-wm1-x342.google.com with SMTP id\n\t5b1f17b1804b1-4777771ed1aso42312125e9.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Dec 2025 02:01:58 -0800 (PST)","from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-47bdc1583fbsm32292585e9.0.2025.12.17.02.01.56\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 17 Dec 2025 02:01:57 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"ZpuNbcxP\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1765965718; x=1766570518;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=8bRhPhWRAIH+CndgPIrv72h6Mc85MvUec+MxNX85Dko=;\n\tb=ZpuNbcxPu+EqDyQPe2gI1T2hOzgQDTHHicp85zY2EK1nVwbVEFPkeyvLLu6qrybkvF\n\t3PX0mWvYiSOZ7Ir4rno/yeB/4AKwe+5z5S73fCXDDP42HqKw1kDysu4yRusenwAa9IcD\n\tPSDBJeEzxLH7UbHjs3wDsVYCz0roPhEy9hjXiyQOn/BHKkHvo7unlXcEAGeN2MljIxSH\n\tMuVqQxxvKRqXhdE5lqu3d0N5CIqLQVflqMPohzRaSDUcKLQJUQEFv8dmlkwVPH34dCnU\n\tnyxyPlzDXW0UKP+IWv0IE2tol/EIov5pKJyHbgnZ6ErmA2JJYA8TqrSKPy/P4D2Yw4c5\n\t5DiA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1765965718; x=1766570518;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to;\n\tbh=8bRhPhWRAIH+CndgPIrv72h6Mc85MvUec+MxNX85Dko=;\n\tb=XZgvCG6+HTzZg7Kg4waTHS+42z4Ev4V3uzU1ssl18mYSWWJ+2MAZ12ETZ/xyZZILZG\n\tAlIvzuvDl0ZkS7+T5wu/eZh13zp3ECib6rSpqq0EaCGmfV1bESWlKxddCcrhmLpvo9TO\n\tnTdxW2/MBsVd3ZAMr0XL8+ZIDSlqtQeB5ahntzkZ5k1nt+5XhGJ/AvXOH5gz0+n8mtE8\n\tkzYwg6PB3frooNTwCPLsSCLNYzDGALF78fsLb092JGpbD7Ei03CBTjX47Wj3oNndPakP\n\tjQuniJupoaW7dZr7C+XM1jTXmKhaIoMuRHHJrj+1wRmag/U8Ft5z3Vz7RHFtEjJdDwpH\n\tx/dw==","X-Gm-Message-State":"AOJu0YyudYTgIWcOUQe4QslKshwgKJ8SNVisnjV5aF/HoEDDU/IG5qNu\n\tq/UYNktId7JJIkTdZGww/EHZMpX6z0I3oVNFTwC47jVFy+rL6031X/a1IiBoMeeZaRubMKENF+O\n\tNgronJ4A=","X-Gm-Gg":"AY/fxX6pwDnT6/g3LoVpu4MSfyL7b0Sa3ihJU2XSBJbKrNUxuANRqwyptUo8jjCtbRH\n\tNI96UkIZpUzgIj12ZL54UJixcv9IY9Nv9Zx9kye9jsp1udFYH/iVa6qXbe9EHKM8DD+HEDfqqeb\n\tbIU19QBaQjBHKcdgrZV8plTGO0nytt+NNg5EUtGNgR8TNC+MLdK6VeTWyty0j8cOG/1CPNzz3nU\n\ttGVAQBBy/IAmQ5Esxo54hQD5pVWd/UCn9nRZk182NP/lUrI0Em8zZG/lEyeuc+Ug28q1jfb4s3d\n\tWQS/P6oheSSrbAxKnGYSbMBDXef70NDdAblr8PObO/vcI97AqW1++vbRwN1FhRANywMizbBjzqT\n\tArEywD+ZTjWZ13iScqQTe1LMNb88j8guyjcWS4H5jdB9LSUjqYWiUf2tA3JFpj3VXsZelkeWDFk\n\t4mlopRG4ZjDFMBbamZC0nOTV+LZhK19SrpAC3OUQwydU4Op4GELJnZEocbGljOxkxEogA=","X-Google-Smtp-Source":"AGHT+IGYApBG4hOHTKmWfhhlweIoZ6C+3uXBXNQP5YvJ0EC+SLRhq04OmA7nexnYfg6EjVnLca7SjQ==","X-Received":"by 2002:a05:600c:4f11:b0:479:3a89:121d with SMTP id\n\t5b1f17b1804b1-47a8f9180a2mr196336365e9.36.1765965717849; \n\tWed, 17 Dec 2025 02:01:57 -0800 (PST)","From":"Bryan O'Donoghue <bryan.odonoghue@linaro.org>","To":"libcamera-devel@lists.libcamera.org","Cc":"pavel@ucw.cz, Bryan O'Donoghue <bryan.odonoghue@linaro.org>,\n\tMilan Zamazal <mzamazal@redhat.com>","Subject":"[PATCH v9 13/26] libcamera: software_isp: Add a Size_ member\n\tvariable to pass to eGL later","Date":"Wed, 17 Dec 2025 10:01:25 +0000","Message-ID":"<20251217100138.82525-14-bryan.odonoghue@linaro.org>","X-Mailer":"git-send-email 2.52.0","In-Reply-To":"<20251217100138.82525-1-bryan.odonoghue@linaro.org>","References":"<20251217100138.82525-1-bryan.odonoghue@linaro.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"We will be initialising eGL from Debayer::start(). We need a copy of the\nsize data passed in configure() to tell the fragment shaders the right\noutput size.\n\nReviewed-by: Milan Zamazal <mzamazal@redhat.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/libcamera/software_isp/debayer.cpp | 5 +++++\n src/libcamera/software_isp/debayer.h   | 1 +\n 2 files changed, 6 insertions(+)","diff":"diff --git a/src/libcamera/software_isp/debayer.cpp b/src/libcamera/software_isp/debayer.cpp\nindex 4645b6a1b..a80661d2c 100644\n--- a/src/libcamera/software_isp/debayer.cpp\n+++ b/src/libcamera/software_isp/debayer.cpp\n@@ -300,6 +300,11 @@ Debayer::~Debayer()\n  * \\brief The output pixel format\n  */\n \n+/**\n+ * \\var Debayer::outputSize_\n+ * \\brief Output size object\n+ */\n+\n /**\n  * \\var Debayer::red_\n  * \\brief Lookup table for red channel gain and correction values\ndiff --git a/src/libcamera/software_isp/debayer.h b/src/libcamera/software_isp/debayer.h\nindex d716ad080..cd2db9930 100644\n--- a/src/libcamera/software_isp/debayer.h\n+++ b/src/libcamera/software_isp/debayer.h\n@@ -75,6 +75,7 @@ public:\n \n \tDebayerInputConfig inputConfig_;\n \tDebayerOutputConfig outputConfig_;\n+\tSize outputSize_;\n \tPixelFormat inputPixelFormat_;\n \tPixelFormat outputPixelFormat_;\n \tDebayerParams::LookupTable red_;\n","prefixes":["v9","13/26"]}