From patchwork Tue Jan 6 17:00:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 25676 Return-Path: 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 286FEBDCC0 for ; Tue, 6 Jan 2026 17:01:36 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D4EF86200B; Tue, 6 Jan 2026 18:01:35 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="eVV+aaPG"; dkim-atps=neutral Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A345A6203E for ; Tue, 6 Jan 2026 18:01:32 +0100 (CET) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-42fb0fc5aa4so890953f8f.1 for ; Tue, 06 Jan 2026 09:01:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1767718892; x=1768323692; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cR80ZvDKl1PnsXEsbuYPf4NeCxqkK7YbeqET+brIs1A=; b=eVV+aaPG+ROWY8zLHnUBFwTxA6exq/vWQfie7z6bnYbthKcTxZXRqK+lRpm6IrY9jp mWKrjrR6SCDadbKteqMrl0sHPvOtSKZb7lyTmav7AuaANreDYbsksUZ3k4L64uFaUcSm pTMTReF5bbMgZhw5lOvrWgi9mnMwkZuXOxmpbkWEltxkDpws9q6Mw4RzdBnn7Hi600x2 uOLospVVeGKRBDv1Klgv6b0lTJFiNC5MrxZ1qP8VQG1ETUHYwNqkELJrBD5WqNjQS/73 Vy6Z+dO+xdyb7S8frziLPPIklvkREPUIhZvwcLb/AJejW4kpPfe0f9vpFqHqDgD0BXXR 1zIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767718892; x=1768323692; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=cR80ZvDKl1PnsXEsbuYPf4NeCxqkK7YbeqET+brIs1A=; b=GJJINv70PS9ajCi90X64TtRfS8lFAzG6uZKtq2zuX+VMOOSdaS8qCenWczlk20qUk0 GdUdVjIGt8pnn51rYxTTbA2fD2CELAbsXOq5vwiHDtYSwKFKrIMjy5Pyp4BxwmGz3xlu isY0kQIqfXMaM/hePfdwUTPDflq7NuA5z6xYFNIgdSwtkHm8zrnphL7ER3BnQhrl9cGQ sHcorfg6nO/i7GzsnAzaEUEUWAjH/G8+ABA3HNAPfm5WP9w6eNtELee4UajIj7ZrCO+g xg6nYUb8hcLXj5aixBb0S3e3Wc2xrsSjulZ5wwrnkNCyVVcH6UVE3FSv4WYady/KrJ0f qyMg== X-Gm-Message-State: AOJu0YzE+NEd6rnxATE5yLuhnKRleNC8OQ3uj5Mn8x7xaBqrUIfeoMS2 3B8LdlYBRBar3O1RZVwIlPMtdRINw2AQKlGWhtyyj7LDhgkbVdhVuoAZ3QxXgFoVzoCHu2+EuxW 7BAxEOwg= X-Gm-Gg: AY/fxX55xoomkeNgA6sxYqoswKbDP5BPPFSsOd4DtKxTdJ/yVXO83utWbrd2+VtrfF8 jEP4HJxOk3MCg+5DWygYC+wRpTbY6PU2N9eH09Sos8MAX16rEN2sivmnb/7jex3wE5Zd1g1/WHR LM6Z5jNvCKs+h/jDOtcr/p7bK4s7q7QJTPPwVFBIIpmnAssSFq1oVGNQPUr92uH9gAOjT35AN7C IJ/1RJGaHpJjzXhMJ7gaIV9OIrBiPAZhhQHtAKXLpMudVq0B2Xj9cIKR2plOVIq0Actesz8iu4/ 74A2P17PPteMeuBQXtnbbEtueiaMaGReH7JvsWIny2v9nktRrpduaawn1qH5Q21WqizIQZR/pNs DS+LABCBNHa6OteAZGBV80OKTcSxM207johmO+SF5xATrSPVJNmaBjfSGilPdsZRopNx83XMQAg q1Vov6FWGzrHoVjYfvWv4UmDz2pVhW8BeK5RE+yDNEXLoojpmQP1jHgKNzKiYloCPHULhmR+3eh +GBeg== X-Google-Smtp-Source: AGHT+IHwdASHVjNpkuodtp/BXtCraHYEsO1pEvCW3Rbt+3iQiifG8aN7jLHfkpX35nCc/PsVPRDihw== X-Received: by 2002:a05:6000:18a6:b0:431:104:6dd5 with SMTP id ffacd0b85a97d-432bc9fd1c4mr4954807f8f.58.1767718891699; Tue, 06 Jan 2026 09:01:31 -0800 (PST) Received: from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd0dadcfsm5515322f8f.3.2026.01.06.09.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 09:01:31 -0800 (PST) From: Bryan O'Donoghue To: libcamera-devel@lists.libcamera.org Cc: pavel@ucw.cz, Bryan O'Donoghue , Kieran Bingham , Milan Zamazal Subject: [PATCH v11 24/24] libcamera: software_isp: Add a gpuisp todo list Date: Tue, 6 Jan 2026 17:00:59 +0000 Message-ID: <20260106170059.56193-25-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260106170059.56193-1-bryan.odonoghue@linaro.org> References: <20260106170059.56193-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" List the series of things to do in GPU ISP in perceived order of difficulty. Acked-by: Kieran Bingham Reviewed-by: Milan Zamazal Signed-off-by: Bryan O'Donoghue --- src/libcamera/software_isp/gpuisp-todo.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/libcamera/software_isp/gpuisp-todo.txt diff --git a/src/libcamera/software_isp/gpuisp-todo.txt b/src/libcamera/software_isp/gpuisp-todo.txt new file mode 100644 index 000000000..8930da120 --- /dev/null +++ b/src/libcamera/software_isp/gpuisp-todo.txt @@ -0,0 +1,40 @@ +List the TODOs in perceived order of ease. + + +Denoising: + - WIP + +Dead pixel correction: + - WIP + +Lense shading correction: + - WIP + +Use dma-buf handle to generate upload texture: + - eglCreateImageKHR can be used to generate the upload texture i.e. + to feed the bayer data into the GPU. + +processFrame() to run in its own thread: + - processFrame() runs in the context of the Debayer::process() + thread. Robert Mader suggested and it seems like a good + suggestion too to run processFrame() in its own thread. + +Multi-pass shaders: + - This needs some rewiring the idea is to have a list + of algorithms as is done in cpuisp iterating through the + list in a for() loop. + - The logic managing the loop has an initial input buffer + and the final output buffer. + - The higher level logic must then inform each of the + algorithms either to generate an internal working buffer + or pass the final output buffer to the last shader + in the list + - This will allow for multi-pass shaders with the final + algorithm presenting data not to its internal buffer + but to the final output buffer + +24 bit output support: + - Need to implement compute shader to do this. + +Lense flare correction: + - Not WIP still TBD