{"id":25119,"url":"https://patchwork.libcamera.org/api/patches/25119/?format=json","web_url":"https://patchwork.libcamera.org/patch/25119/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20251120232019.3590-19-bryan.odonoghue@linaro.org>","date":"2025-11-20T23:20:15","name":"[18/22] libcamera: software_isp: debayer: Make the debayer_ object of type class Debayer not DebayerCpu","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"6dc05b625b15a71b456dc73c7d9aa5e727b681f4","submitter":{"id":175,"url":"https://patchwork.libcamera.org/api/people/175/?format=json","name":"Bryan O'Donoghue","email":"bryan.odonoghue@linaro.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/25119/mbox/","series":[{"id":5599,"url":"https://patchwork.libcamera.org/api/series/5599/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5599","date":"2025-11-20T23:19:57","name":"GPUISP precursor series","version":1,"mbox":"https://patchwork.libcamera.org/series/5599/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/25119/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25119/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 847D3C3333\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 20 Nov 2025 23:20:59 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2F09760B0B;\n\tFri, 21 Nov 2025 00:20:59 +0100 (CET)","from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n\t[IPv6:2a00:1450:4864:20::32f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BA04A60B13\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 21 Nov 2025 00:20:55 +0100 (CET)","by mail-wm1-x32f.google.com with SMTP id\n\t5b1f17b1804b1-4779ce2a624so12854365e9.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 20 Nov 2025 15:20:55 -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-477bf3af0ecsm11618415e9.9.2025.11.20.15.20.53\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 20 Nov 2025 15:20:54 -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=\"PKH0rS+W\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1763680855; x=1764285655;\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=iRXr4nHEuISqL9vL3N0Wmx/RaPbrgqdaQeOrOOYFO6Q=;\n\tb=PKH0rS+WZQJ51Rj/+YvS8fYAgI6zf1q5x5P89nBU8TA+WluBt5ca4q0nKxxIHvrJdr\n\trh4HtPJTUvrXIkQD5V9eol5rn590r+XDiQX6osMQg70t5Z76E+DTLJNckThB4cZ+VqCy\n\tR7IodOv3j6lkOF2DTH8SSJoiEzpJQg32LU333qtYMu3Wq4c2c+M0lQNS4FT3VIPsQGN6\n\t2GD01KTSyBBmWlwWCg11zZgb1MYRTVYeMEBvngCsNxNBB+SqqutmPZE3kuC005iERyjL\n\t28ay1I2xGEVivaYVJwYE1QR+d8PvS+/l1bx1qkmmgJIUZw5Brb4cPaRpYRmlPDskNoJi\n\tKfjQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1763680855; x=1764285655;\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=iRXr4nHEuISqL9vL3N0Wmx/RaPbrgqdaQeOrOOYFO6Q=;\n\tb=cis0ZtaCnMap3pF0PNWfZHO9v+mUL2U598MZPhTr9Wrym3iwt6MYFT3wVmadSLTw1z\n\tO2G2eYQZVoVZ1qDgt/2gab8sg97Jt4Atn/tHM92zP+Awde80RRnlzgRLtCS1k3ru5Yxd\n\tHWnuP1V13dwKI09EWxYL+4+zHCaYjHietNaK8j779JeAzK1rvbNlSOpekHgfZhohB455\n\tsTUL1NZkPiPpcmgdfm4Rzw+ZNvfqWQXL5oDf91c+g/vDVRATO1SGG/YW7XEL1XVhyc3R\n\tZqNg8ELR5pbC5KVOzzyImLMcns9wD97StBFsf6dKeyGljs/uhTjYHJnKssI9f1Ma3B7o\n\tC4rQ==","X-Gm-Message-State":"AOJu0Yy2/zAZRhdQyYXo0vV2Cnyr+mm8W7kqcuHi3tgdAJevI1+qM7sh\n\taTxcOvPued6KcEqR9oX2ZHx0zkwtq/4GHhDm1lsWk9xu/YrugekJ7UxrN0/tXWI8wpJAHzfhj+v\n\tdW7TYgOA=","X-Gm-Gg":"ASbGnctb5qFprsdtcKiZGJiUNFsFRDSGWa/QSwOjQErHkAIcMJhvhHrYrOEG9I0a9dd\n\tt1kXnKfU1U57JNTsgs2iwIJbA+RmNdmodqYrxbrDfT08ejBC/Lu6YvjuHPtNopSUOocgVU6iOD8\n\t+iEys7rDAltJt0ZNMt+Og5GvEc+W2ObWSmCaZ/Vu99P9kHRRn1pmS23dTWhvgLypA6pBuAW11sK\n\tzPiPRcytDGWyefmf4wEtLhXY382kQcO98PigcjlbeAQUB+FytPPe28UjLbDptLznwfKrUPVJTSa\n\ttpBoZmxzEvuUsLQL+RW/D0kitssodJA//tjZDg4DCKvWTVzIKNaG+X0HYaXaHyZ8mge3U+ghusC\n\teS90hLqeyp9g6hV/z9+8KiclYciVGx3mTR/GSmzkoDKgsXQky0s5+eNodb3dN66EiSlOXWAEUPl\n\tjmHQeod8twoZkLULFO1uRms6pgGJHTYPl8iIaIkkOZqRx13vNVuflhgpQ+G6WV0IhX85Y=","X-Google-Smtp-Source":"AGHT+IHhklXk6D5nLHBLCQmioEbPa4TMCTWtzaG+2olfg5zKrdi5b5iY4sEckx47N/qo7bHjAXWAgQ==","X-Received":"by 2002:a05:600c:314d:b0:477:7975:30ea with SMTP id\n\t5b1f17b1804b1-477c01f2cc7mr2888755e9.29.1763680855065; \n\tThu, 20 Nov 2025 15:20:55 -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\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tMilan Zamazal <mzamazal@redhat.com>","Subject":"[PATCH 18/22] libcamera: software_isp: debayer: Make the debayer_\n\tobject of type class Debayer not DebayerCpu","Date":"Thu, 20 Nov 2025 23:20:15 +0000","Message-ID":"<20251120232019.3590-19-bryan.odonoghue@linaro.org>","X-Mailer":"git-send-email 2.51.2","In-Reply-To":"<20251120232019.3590-1-bryan.odonoghue@linaro.org>","References":"<20251120232019.3590-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":"Make the type of object Debayer not DebayerCpu thus allowing us to assign\nthe object to either DebayerCpu or DebayerEGL.\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Milan Zamazal <mzamazal@redhat.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n include/libcamera/internal/software_isp/software_isp.h | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)","diff":"diff --git a/include/libcamera/internal/software_isp/software_isp.h b/include/libcamera/internal/software_isp/software_isp.h\nindex 786246592..ad89c9b3c 100644\n--- a/include/libcamera/internal/software_isp/software_isp.h\n+++ b/include/libcamera/internal/software_isp/software_isp.h\n@@ -37,7 +37,7 @@\n \n namespace libcamera {\n \n-class DebayerCpu;\n+class Debayer;\n class FrameBuffer;\n class PixelFormat;\n class Stream;\n@@ -94,8 +94,7 @@ private:\n \tvoid statsReady(uint32_t frame, uint32_t bufferId);\n \tvoid inputReady(FrameBuffer *input);\n \tvoid outputReady(FrameBuffer *output);\n-\n-\tstd::unique_ptr<DebayerCpu> debayer_;\n+\tstd::unique_ptr<Debayer> debayer_;\n \tThread ispWorkerThread_;\n \tSharedMemObject<DebayerParams> sharedParams_;\n \tDebayerParams debayerParams_;\n","prefixes":["18/22"]}