{"id":25443,"url":"https://patchwork.libcamera.org/api/patches/25443/?format=json","web_url":"https://patchwork.libcamera.org/patch/25443/","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":"<20251210005354.44726-27-bryan.odonoghue@linaro.org>","date":"2025-12-10T00:53:54","name":"[v7,26/26] libcamera: software_isp: Add a gpuisp todo list","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"f36180b4e61566077c4d46289bcf99e73b61789d","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/25443/mbox/","series":[{"id":5645,"url":"https://patchwork.libcamera.org/api/series/5645/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5645","date":"2025-12-10T00:53:28","name":"Add GLES 2.0 GPUISP to libcamera","version":7,"mbox":"https://patchwork.libcamera.org/series/5645/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/25443/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25443/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 7EC52C3257\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 10 Dec 2025 00:55:24 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2C57A614AF;\n\tWed, 10 Dec 2025 01:55:24 +0100 (CET)","from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com\n\t[IPv6:2607:f8b0:4864:20::42c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A6E88614A0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 10 Dec 2025 01:55:21 +0100 (CET)","by mail-pf1-x42c.google.com with SMTP id\n\td2e1a72fcca58-7e2762ad850so6529116b3a.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 09 Dec 2025 16:55:21 -0800 (PST)","from inspiron14p-linux (p96936b06.osaknt01.ap.so-net.ne.jp.\n\t[150.147.107.6]) by smtp.gmail.com with ESMTPSA id\n\t41be03b00d2f7-bf6875cc8eesm16057762a12.16.2025.12.09.16.55.17\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 09 Dec 2025 16:55:19 -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=\"XjboH+zu\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1765328120; x=1765932920;\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=ajdHqIYvkWHsZzgWfrEnNcPGftSQ9L7WA4FF/krfdgY=;\n\tb=XjboH+zuECeF7OTpwbDjEvFqjW9sdWDtwCbhavyB3a5QQLyV+SrsAXoFgVE4acJp+F\n\tdX9F62LkpZFpqrMiU1oofbjsDNfOQgKHadiQjOnRPuH+o9FMwJHELx7myjQEMIt2YY7I\n\tC7Lgpgei+Kv/XE11cTiemkAXb3WIQVY4NgIJny/R5KTg5Q/IRyiSeO6FkGRPZID+uJwR\n\ttQq7iiLGLe2vprD0MUrUIdGI1Lpe10WPFv5e8QqSN/JvzMDbjDFXZ5uyGP1a6r3THuaP\n\t+TKKcIBBoTCggem50Xsdo7qFRGsXhH0Vdwt9urcOGzajbGeB0eOJgPaWFCQo698QsbnB\n\tvD1A==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1765328120; x=1765932920;\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=ajdHqIYvkWHsZzgWfrEnNcPGftSQ9L7WA4FF/krfdgY=;\n\tb=XEOSXzpZGC2j4kfYL6X26LcIk4FOOADtoLRcLOpbW/Y6PrNGbthb0q8HdyB8lVvS+/\n\ttPi8aJdiDyr92TVAuYuxwwdWEljsZUO3TYwYCz3zgbnMBzWZq/gAW8F8eJ1zxZFLK8vE\n\tyq9U4C11h4PnQHXKTx6YN/uk99FcVvgp/d399dJ/g3kMlWdB1S8GfzVcdWmcCvFGcLGa\n\t1Cu+WJqAUTT624dGJ25O4ddCyJCrIUm3U0CmIHdojDxaG4FAcyxf9WrSGWMUvpT7C/15\n\tFVKJHE2heTpZ88tkHTLLifZPQPHuBachCj8BuRb0l0f0fVvdMm5r27LQLOMZVwRXg+U9\n\t1dPw==","X-Gm-Message-State":"AOJu0YynSgYAj+IVGB2JqoDd1exAMF04YGkHqiJ9cYgokmy8KzaXY29h\n\t6lKL3ijWzL15/3feRUM3+8w16LPMDZfBWoxupumnCqfT8Siw489E11+SzKtn9EP3AWUH7Q7NQzB\n\trkDeQ","X-Gm-Gg":"ASbGncujXTbxOM0yLD+KHQKMYYqbSHutX90yaTlH0gpWZhKWpVuyp0yLwFn/dzV5j9f\n\tTpKQxcA7l7xdpwoU4wKIIUOgTgrcEld1CRPqDm8lTVQMuhgxbTd2aWke5sybB8Rj2qxEUm1ucVq\n\tAYj2dI95AeFrzPmdSoKW9sKfibHaUOb5DJ1t8wn6tKte0gqXOw96xC+7UApTp/db/KE10Nymv05\n\tKMOgT9R7I4UtfMz9bYDLbQrhrEifwupYbpWYvFo7HHb921wjnCV3VzML1Juz6Q1rb77gaerWVDu\n\tAkaG0XS81kpZl8RxjqDF3pK6YBiNe+uIX4bR5Uz+uzXQEl5cCJHet4Ig4ntqm4KZR54CU8wJuMf\n\tP52q9JXNNOdw6GzMfUqEEXpZrhyCRWTA4rXe8ZjY5Xy6aI4T2aw5IYGHJcrI7vPUdwjJjXRubFA\n\tb8Z2jU/ySBh/swf+PkSPHuzDnRKmsIjxKlhf6P74wY+XNCrF5hZCDYjgnHTZA7MzIj","X-Google-Smtp-Source":"AGHT+IF0umI0JI9WWFj1XJfHMnHGh8J6MRIMMowI15nR/2IsdQn4VoGCjya2uexQFNVr/IA/19pBYA==","X-Received":"by 2002:a05:6a20:3d95:b0:366:14ac:e1f5 with SMTP id\n\tadf61e73a8af0-366e2fc1b7amr509243637.71.1765328119996; \n\tTue, 09 Dec 2025 16:55:19 -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>","Subject":"[PATCH v7 26/26] libcamera: software_isp: Add a gpuisp todo list","Date":"Wed, 10 Dec 2025 00:53:54 +0000","Message-ID":"<20251210005354.44726-27-bryan.odonoghue@linaro.org>","X-Mailer":"git-send-email 2.52.0","In-Reply-To":"<20251210005354.44726-1-bryan.odonoghue@linaro.org>","References":"<20251210005354.44726-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":"List the series of things to do in GPU ISP in perceived order of\ndifficulty.\n\nAcked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/libcamera/software_isp/gpuisp-todo.txt | 40 ++++++++++++++++++++++\n 1 file changed, 40 insertions(+)\n create mode 100644 src/libcamera/software_isp/gpuisp-todo.txt","diff":"diff --git a/src/libcamera/software_isp/gpuisp-todo.txt b/src/libcamera/software_isp/gpuisp-todo.txt\nnew file mode 100644\nindex 000000000..b9910d17d\n--- /dev/null\n+++ b/src/libcamera/software_isp/gpuisp-todo.txt\n@@ -0,0 +1,40 @@\n+List the TODOs in perceived order of ease.\n+\n+\n+Denoising:\n+\t- WIP\n+\n+Dead pixel correction:\n+\t- WIP\n+\n+Lense shading correction:\n+\t- WIP\n+\n+Use dma-buf handle to generate upload texture:\n+\t- eglCreateImageKHR can be used to generate the upload texture i.e.\n+\t  to feed the bayer data into the GPU.\n+\n+processFrame() to run in its own thread:\n+\t- processFrame() runs in the context of the Debayer::process()\n+\t  thread. Robert Mader suggested and it seems like a good\n+\t  suggestion too to run processFrame() in its own thread.\n+\n+Multi-pass shaders:\n+\t- This needs some rewriging the idea is to have a list\n+\t  of algorithms as is done in cpuisp iterating through the\n+\t  list in a for() loop.\n+\t- The logic manging the loop has an initial input buffer\n+\t  and the final output buffer.\n+\t- The higher level logic must then inform each of the\n+\t  algorithms either to generate an internal working buffer\n+\t  or pass the final output buffer to the last shader\n+\t  in the list\n+\t- This will allow for multi-pass shaders with the final\n+\t  algorithm presenting data not to its internal buffer\n+\t  but to the final output buffer\n+\n+24 bit output support:\n+\t- Need to implment compute shader to do this.\n+\n+Lense flare correction:\n+\t- Not WIP still TBD\n","prefixes":["v7","26/26"]}