Message ID | 20250824-b4-v0-5-2-gpuisp-v2-a-v2-14-96f4576c814e@linaro.org |
---|---|
State | New |
Headers | show
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 [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 6BA8BC32BB for <parsemail@patchwork.libcamera.org>; Sun, 24 Aug 2025 00:49:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B9AC069324; Sun, 24 Aug 2025 02:49:07 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Q5UNhmOH"; dkim-atps=neutral Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5E04C6930B for <libcamera-devel@lists.libcamera.org>; Sun, 24 Aug 2025 02:48:49 +0200 (CEST) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-45b4a25ccceso18271655e9.3 for <libcamera-devel@lists.libcamera.org>; Sat, 23 Aug 2025 17:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755996529; x=1756601329; darn=lists.libcamera.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=PIgt1A1AABSYyFuz9xZ4XPi1Six13a6dttoHUJQ3QC8=; b=Q5UNhmOHWhSsl1huP4/DNR5mP/bEWxSoFrIRFNns3eDykjomd+/RV9Vh3UPsKebW+a QCGGKryuEwKRfzLn/IsZZLvm5qGzqu5Ae+gUw4ZgKZMIo0AqCLBr2iEKWFECB1eXwBz0 50tqltC+74ZlW0Hd8NpTVdX1Tf7wzlpOb3Iv/mGUBNFkASRZNbhvWZsB8j5KzIZbplIq nZlpvxt7Ewrv6XJyTFG4Of9qyTOv8kIuhRPMokEaTAJWoeS17+WgXonaZPhlnNDywvb3 12UzAvFuH7JcSJbhK6igq0Ke3KUcFeIuy6mvsmM4Y8Bfrqf5YkSxT0cAvx6Z+l1wgMa0 nleA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755996529; x=1756601329; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PIgt1A1AABSYyFuz9xZ4XPi1Six13a6dttoHUJQ3QC8=; b=rWSXV/qid3HeTvSlKIfBXJEVIUQmZTJZ8pRA7D21jbnXgSKFdoHqo9zpRK+F0c+1p6 UOn7X6zPU0wL9JIT+EPH9CgKa158rAJtuW0A+Wdc0RaprZgsl6mzJ7ZZy1KNQ/dVp4ZJ b1xQ4h5nKSiM/Yd9jeTsmuJE3wmgUXAh8J53hHn/tR9yYLgRDuxry26N0e08VU8H1tva loFdSbVXMARobkUQKIqNCeuJ3C68qSYFJSl6z2E2JAUm/J1WiGoaOgfdRmQW7YSJVeqM 6T4JQokLCACmnvil8Srtgblg27ThfsH6TudBOGmcucbMU8iqxhzFVp2/Y73hChe+e2HN l85w== X-Gm-Message-State: AOJu0YwLjIMxcw59aijRVMmdEEgtXll4pTiRK1aUqf6XFqX+EyZNmcI8 s3erBdhaliwsx9WTuIcLxEankFvU1QsUBT8AzgIbvVLiJQcZauYyat60XFH4braq76159ujDnZh 0OI6+iqQ= X-Gm-Gg: ASbGncv4focQZpWo57wGCCziZ3bdsfa3XB2PJHdM+pva9h43QVgbUVG4gOSTU7cDJD1 puvzg026HH2Vu11nz/ZeDrbwMqHhaVY7PAsLHgvLs3qFsiSK8e+QYzD0odaDX9RhEB5ybupz2RX fwhVZKnYkFN6WUdD7QCbIudDOoh14b2b8I1D3uc1uk/GqjlMU7twPGqOKd2KxOIKEHptNjwvZ/w vpaCXS5FeAJsd60oLWXSScDLyzR3NqJLiyoutLEg95NRtq9xUm9Dcvy5CwJddjVkRJ4FnsOTYud jGeXnijdF50wwqTbM8clkR+UXMQlEKXhJujwxP1DL0u1w/FggSjDp8nGcGte7uykwQCS2FEZCS5 HNl70i2BKwuNPREf68LXsAD9/2fsF4n8hOh68Jj9OIgGP5oCFCGfpQAYhxiGt6Xwn2B/XqX7lop e0lmTdIlKJXRaNI3rgBrA5 X-Google-Smtp-Source: AGHT+IFN0byqOYpC6lLtP3wWfeq1v/HRlASpBV+poVCSnGclYwyklDobI9ET2p0m0rAAU/nHYZW4fQ== X-Received: by 2002:a05:600c:4451:b0:456:fdd:6030 with SMTP id 5b1f17b1804b1-45b517cfeacmr64364555e9.19.1755996528957; Sat, 23 Aug 2025 17:48:48 -0700 (PDT) Received: from [192.168.0.13] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e1d530esm69347225e9.0.2025.08.23.17.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Aug 2025 17:48:48 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Date: Sun, 24 Aug 2025 01:48:26 +0100 Subject: [PATCH v2 14/37] libcamera: software_isp: debayer: Make the debayer_ object of type class Debayer not DebayerCpu MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250824-b4-v0-5-2-gpuisp-v2-a-v2-14-96f4576c814e@linaro.org> References: <20250824-b4-v0-5-2-gpuisp-v2-a-v2-0-96f4576c814e@linaro.org> In-Reply-To: <20250824-b4-v0-5-2-gpuisp-v2-a-v2-0-96f4576c814e@linaro.org> To: libcamera-devel@lists.libcamera.org Cc: Bryan O'Donoghue <bryan.odonoghue@linaro.org> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1174; i=bryan.odonoghue@linaro.org; h=from:subject:message-id; bh=XcREh6I7xKZHHR0/4RmlEYvYwno6jmtjDRnj8xMOXfQ=; b=owEBbQKS/ZANAwAKASJxO7Ohjcg6AcsmYgBoqmFe+1vx4zEKwbk2BTz9y1df6bWEj6Yr1FmN0 caCs8Nv3BiJAjMEAAEKAB0WIQTmk/sqq6Nt4Rerb7QicTuzoY3IOgUCaKphXgAKCRAicTuzoY3I Oq5JEACnNXIjJH0t6AnMF8N4QevO82ERwhwPNOIzqjiT2xOyrIzrQjQz3Xh+HN6Ij0NaKeQZHB9 BkAXy3QEmJmEYzZoi+sKdClCIqIjO/YZdC7SP7bWCZJOugLHZNvXUMLYA41TSQ8cWH19WVmvHfF c5ZPYOoYiSB1liFX/sfpmShDTb09B/L+iN2GWMKi+2dzPTvxspSENtCfS792QZgMfCKYtzZewj/ LYXlNuE4F1hsgQ5UBMda84l0h5BK0PzAI8VNO6xHbrsutTPpuFyKEn3Spdjb9Va8yasnaqa3PgI ujs5eWpzbCh1l1Su8Dv2Vpx8ag9AaNdqXPl1Nh4tFKYylh8Y98LectRPFjl13nqVxfcplBnz02u lB0YKjVVUZgFsAtMcdk6x6LUvWFYVihxAUBmGFMrBmFPL89izknwDbPPlkZmThGDl0/oMsi1sjF AJYfasiinFMqmC6NL6lv6ms007OULcjLr2fqmTPwVQD4a9QL8h1MBHYBQ/VTzDzTM9AUv21EYKa +qrpAJcbgd5iEj8wh1DPhqtcNsuvj3kH/3Qe5H7xIF/mSjkpCvCudf4P2MJjkE1JdhvN6oyw89W 9E1u1Rtv+2Mo9tRN0cn4B4KXnkTiXqi5YgXEWdInahpZ3fff/XfTGviUDVVgmXI6gbeaCcySSuy +2ot2ihBRKehlTg== X-Developer-Key: i=bryan.odonoghue@linaro.org; a=openpgp; fpr=E693FB2AABA36DE117AB6FB422713BB3A18DC83A 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>, <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>, <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> |
Series |
|
Related |
show
|
diff --git a/include/libcamera/internal/software_isp/software_isp.h b/include/libcamera/internal/software_isp/software_isp.h index 78624659245c5d9829d037b0386ccee4829bb13d..ad89c9b3ce9c5fe24c7ba3b69ae6560d7c7be314 100644 --- a/include/libcamera/internal/software_isp/software_isp.h +++ b/include/libcamera/internal/software_isp/software_isp.h @@ -37,7 +37,7 @@ namespace libcamera { -class DebayerCpu; +class Debayer; class FrameBuffer; class PixelFormat; class Stream; @@ -94,8 +94,7 @@ private: void statsReady(uint32_t frame, uint32_t bufferId); void inputReady(FrameBuffer *input); void outputReady(FrameBuffer *output); - - std::unique_ptr<DebayerCpu> debayer_; + std::unique_ptr<Debayer> debayer_; Thread ispWorkerThread_; SharedMemObject<DebayerParams> sharedParams_; DebayerParams debayerParams_;
Make the type of object Debayer not DebayerCpu thus allowing us to assign the object to either DebayerCpu or DebayerEGL. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- include/libcamera/internal/software_isp/software_isp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)