{"id":25599,"url":"https://patchwork.libcamera.org/api/1.1/patches/25599/?format=json","web_url":"https://patchwork.libcamera.org/patch/25599/","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-27-bryan.odonoghue@linaro.org>","date":"2025-12-17T10:01:38","name":"[v9,26/26] libcamera: software_isp: Add a gpuisp todo list","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"f584a86e37620d24e72c6ff944a774ef3511cf7d","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/25599/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/25599/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25599/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 20CC5C32F4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 17 Dec 2025 10:02:32 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BC7B561F49;\n\tWed, 17 Dec 2025 11:02:31 +0100 (CET)","from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com\n\t[IPv6:2a00:1450:4864:20::32d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3ADCA61D64\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Dec 2025 11:02:15 +0100 (CET)","by mail-wm1-x32d.google.com with SMTP id\n\t5b1f17b1804b1-477ba2c1ca2so61367405e9.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Dec 2025 02:02:15 -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.02.13\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 17 Dec 2025 02:02:13 -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=\"S5/QDaUc\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1765965734; x=1766570534;\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=lSpaxpbZDestB7ujTLNf/WLvzRiE05FDL1njdNGYR9o=;\n\tb=S5/QDaUcbpGJS7i4DZN5WclItWkVB5/v7G9BlO8MTIswyvzFC5vLO1DxnKI3Rby9Sm\n\tAvWNvbQcSW+2dPCJ9U+jrWylCxfirwH1ewESZ1fFJjejau3YMDMeQS6zEWvAlagNCytm\n\t/rmeDI3ZyPjTu5qZTctyQRCseYpieFopd+OTd85lP4yYGIKbubO23JX/yFons9NKrXxR\n\ttNG0ebAnl7QIUV21O9iScOuO1XOWgE/Zh/J7wlYrbFc6/901oY8SF+W8w76UfQivkos1\n\tWQlT4VvLTDEFu3FOF86ibVQDTN3n4jRrFsDGe2m+omHEW7lXndjI9kolCrDyDH8ppyoD\n\t8GFw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1765965734; x=1766570534;\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=lSpaxpbZDestB7ujTLNf/WLvzRiE05FDL1njdNGYR9o=;\n\tb=WxID46TkmU2q6JqsJLYpdmmnLjxbCQujHC5V221FumYEkZ1Pmrd2lQfIsyftZAtTCo\n\ttYl3bSfPyKfme9iBnGWbRF3HfVBJXkocitiEZiTCRiUQjeXZtIen7ve22dvrkt2nfXuh\n\tA8uGhIi1C++baedXwoCZXQrJFsIXEH7dmr9TTf64KHKr1fJ4fY52hh9Us+vjc6b7otzM\n\tZ3VHVEDBL0eNdPNnIHIDlUqtUaonPmiyW45xWhBnIKqBZYTUYO/ke+wGu9AXApZVhmBF\n\tkOSHOjsKHOHla/rlEqICpTof/I1Ff+QW2s+FrQQaQKlvK40LEWXMITVvt1noMcTS49Qg\n\tcRVw==","X-Gm-Message-State":"AOJu0YwAQEA/jWwX3NtKde/ZF2vCBLxAooCTyPgXMEoN8Xjsuncv1K1l\n\tDrPw3fuPKif+Ou0f1f44puZDdYjwIjoP7Bf8nG4V3ijZH0cxhQnd9b04BycVjaA60ViVLHkD3LA\n\tGQjRp","X-Gm-Gg":"AY/fxX58MwZIRVzeQz5a+KyGOX0fxo48gZb6gmRpg5yKyuFVLnRqIMG3HGjaKG+hxMI\n\tMzJfVIcNDauCxQ4I1mNmqyd7wJoa4wB/Nx1VdEvy6WttUt2F0SOmh3/H5GS8uc4EZTvclzZ9S5j\n\tH64ui4D0o68tc/egynZDK+MwZVZXSDY1nXLDgQYuBP89g0iy0MRujyULuvLuqnljeWa4/Zgo1ts\n\t+2pOu28YhjfNLBMmftl7nWIbzs1D1r39+Wi0CPReqHG6NKpsvUCa4WVhSrp2b0B6HJTIXMEl4Ys\n\tns+8FsZjsQ+2z2dCa2m5Ss1MC4hVDHlqYGETefRUFIgw8nFi17aY2w3ISxxoA3E8cpd82zuoxck\n\tudxpLNlD59NnQqh0XB1n1iICMP0jKq/rggZ4bDxb0Ji4CRnoq/v4/1myCmkinCkqZIKa3TDOyXu\n\tvG8HwQtbNwwd9a41uuyR22yC8tJwQp5jfOP6NDaUVHgKPXTxT1M9Rv0Gj+MP5VGxziCM9XxrOYX\n\tA3BhQ==","X-Google-Smtp-Source":"AGHT+IF+IaDexqClf/OVgH8iiVI+VxXMhKPwyS1lIagkV7fauMy7XH8Em9ASOTY261wOQd6SsnfFYg==","X-Received":"by 2002:a05:600c:4ecb:b0:477:7991:5d1e with SMTP id\n\t5b1f17b1804b1-47a8f90c03bmr181039125e9.25.1765965734109; \n\tWed, 17 Dec 2025 02:02:14 -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 v9 26/26] libcamera: software_isp: Add a gpuisp todo list","Date":"Wed, 17 Dec 2025 10:01:38 +0000","Message-ID":"<20251217100138.82525-27-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":"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..8930da120\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 rewiring 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 managing 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 implement compute shader to do this.\n+\n+Lense flare correction:\n+\t- Not WIP still TBD\n","prefixes":["v9","26/26"]}