{"id":26597,"url":"https://patchwork.libcamera.org/api/covers/26597/?format=json","web_url":"https://patchwork.libcamera.org/cover/26597/","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":"<20260503114002.139255-1-robert.mader@collabora.com>","date":"2026-05-03T11:39:59","name":"[0/3] software_isp: Implement DMABuf import for input buffers","submitter":{"id":140,"url":"https://patchwork.libcamera.org/api/people/140/?format=json","name":"Robert Mader","email":"robert.mader@collabora.com"},"mbox":"https://patchwork.libcamera.org/cover/26597/mbox/","series":[{"id":5898,"url":"https://patchwork.libcamera.org/api/series/5898/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5898","date":"2026-05-03T11:39:59","name":"software_isp: Implement DMABuf import for input buffers","version":1,"mbox":"https://patchwork.libcamera.org/series/5898/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/26597/comments/","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 C0BE9BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  3 May 2026 11:40:45 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A8ACB6301A;\n\tSun,  3 May 2026 13:40:44 +0200 (CEST)","from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com\n\t[136.143.188.112])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4045762FD3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  3 May 2026 13:40:42 +0200 (CEST)","by mx.zohomail.com with SMTPS id 1777808437457238.40641044007816; \n\tSun, 3 May 2026 04:40:37 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=collabora.com\n\theader.i=robert.mader@collabora.com header.b=\"hq1Xz+Zd\"; \n\tdkim-atps=neutral","ARC-Seal":"i=1; a=rsa-sha256; t=1777808439; cv=none; \n\td=zohomail.com; s=zohoarc; \n\tb=j6h6TGMLAcx/xuI8QL3VYPsTjj1g0O9TJRH9oE+sS7I96twD3ckmA03BGizcPSbMMzeGeWuoRBB3VWpG/+nMR5Z43rNI4l0i1mvvXiHB3TQ7PgxNHfaa6AXqddiLyli/4fogs5VTzPVP9gwdw1y4HlkdyPdlLOvUoFsZqJIaqj0=","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; \n\ts=zohoarc; t=1777808439;\n\th=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To;\n\tbh=MqBVxeNG5pfmhlE/JktyJnim+T2x2Vt5cTBS/Cw9bmk=; \n\tb=h3yupoAW5lKSK44XldRKGY/vZSnkgsfSEHVwrqR+a3p8yy+SQs5I/MG2LT06TPNh+Z7CfbO63jy2OqCa2ma0CPGPdQuMl7KfS5MG2QrAoC3b/zFJBJxnkE3+r6OCL/v5Fyk/ZP8i/TCo0K1kZhw4ZbFVz8FA1wcOnAlUUTerMFg=","ARC-Authentication-Results":"i=1; mx.zohomail.com;\n\tdkim=pass  header.i=collabora.com;\n\tspf=pass  smtp.mailfrom=robert.mader@collabora.com;\n\tdmarc=pass header.from=<robert.mader@collabora.com>","DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1777808438;\n\ts=zohomail; d=collabora.com; i=robert.mader@collabora.com;\n\th=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To;\n\tbh=MqBVxeNG5pfmhlE/JktyJnim+T2x2Vt5cTBS/Cw9bmk=;\n\tb=hq1Xz+ZdL7F15AdGVcqYx9LVCwmRF+HAKkzhcxyGJaQU6qBfn15KtyOKzD6QX2jb\n\t3iVvZP92JTmczzsvqc80grVw3oehH3zPOxhawS1VpwhXwhoZsjlFe/oMnTJzWuak95n\n\tvwTXt+0Aje6Hi9RGmKpgLKKP5SEeGZn/YaJSf1Jo=","From":"Robert Mader <robert.mader@collabora.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Robert Mader <robert.mader@collabora.com>","Subject":"[PATCH 0/3] software_isp: Implement DMABuf import for input buffers","Date":"Sun,  3 May 2026 13:39:59 +0200","Message-ID":"<20260503114002.139255-1-robert.mader@collabora.com>","X-Mailer":"git-send-email 2.54.0","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":"From the main commit:\nIn many cases we can import the GPU-ISP input buffer, a dmabuf from v4l2,\ndirectly into EGL instead of mapping and uploading - i.e. copying - it.\nThis reduces memory bandwidth and CPU usage and can slightly improve\nlatency.\n\nNotes: Previous iterations of these patches have already been tested on\nvarious platforms, without known regressions and showing significant\nimprovements.\n\nRobert Mader (3):\n  egl: Add more parameters to createInputDMABufTexture2D()\n  debayer_egl: Implement dmabuf import for input buffers\n  debayer_egl: Sync output buffer after processing stats\n\n include/libcamera/internal/egl.h           |  4 +--\n src/libcamera/egl.cpp                      | 37 +++++++++++++++++-----\n src/libcamera/software_isp/debayer_egl.cpp | 35 ++++++++++----------\n src/libcamera/software_isp/debayer_egl.h   |  2 +-\n 4 files changed, 51 insertions(+), 27 deletions(-)"}