{"id":24282,"url":"https://patchwork.libcamera.org/api/1.1/covers/24282/?format=json","web_url":"https://patchwork.libcamera.org/cover/24282/","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":"<20250904134641.29597-1-laurent.pinchart@ideasonboard.com>","date":"2025-09-04T13:46:39","name":"[v3,0/2] libcamera: Use span in FrameBuffer","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/24282/mbox/","series":[{"id":5422,"url":"https://patchwork.libcamera.org/api/1.1/series/5422/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5422","date":"2025-09-04T13:46:39","name":"libcamera: Use span in FrameBuffer","version":3,"mbox":"https://patchwork.libcamera.org/series/5422/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/24282/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 1D577BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  4 Sep 2025 13:47:07 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9E5FB69343;\n\tThu,  4 Sep 2025 15:47:05 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9AE29692EF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  4 Sep 2025 15:47:03 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(230.215-178-91.adsl-dyn.isp.belgacom.be [91.178.215.230])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id EA865F09\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  4 Sep 2025 15:45:53 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"cpKad+mt\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1756993554;\n\tbh=JMZEUMhEyQzGAa8Bz+INAE0/1HU+igN8qMbL6/8Z/dU=;\n\th=From:To:Subject:Date:From;\n\tb=cpKad+mt5JnW3RMXgA78McWg6nYu9vAA0fklEMQmK+9PGWBfe02+7SG8/Z56R6RBZ\n\ttVOzFvPhjZQuM4+S18UVJKCZg85ExxovZi8ressF+Qm4Ee9gvnbMSX+evKsJyYX6UD\n\tX4uhGneACfTVixtnxtZLd0ce+zgm6TZiqeOcoX/k=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"[PATCH v3 0/2] libcamera: Use span in FrameBuffer","Date":"Thu,  4 Sep 2025 15:46:39 +0200","Message-ID":"<20250904134641.29597-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.49.1","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","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":"Hello,\n\nThis patch series is the third version of the standalone \"[PATCH]\nlibcamera: framebuffer: Replace vector with span in constructor\" patch.\n\nMost of the patches in v2 have been merged already, or have been\nsuperseded by other merged patches. Only patch 1/2 remains as a drive-by\nimprovement from v2, and of course patch 2/2 that performs to actual\nconversion to Span.\n\nWith FrameBuffer::planes() returning a span, multiple callers have to be\nmodified through libcamera. While there is no actual change to test\napplications thanks for previous refactoring that made application code\nAPI-compatible with this change, the patch series still changes the\nlibcamera ABI and API, requiring recompilation and possibly code\nchanges.\n\nLaurent Pinchart (2):\n  pipelines: Use lambda functions to factor out buffer mapping code\n  libcamera: framebuffer: Replace vector with span in constructor\n\n include/libcamera/framebuffer.h               |  4 +--\n include/libcamera/internal/framebuffer.h      |  3 +-\n .../mm/cros_frame_buffer_allocator.cpp        |  2 +-\n .../mm/generic_frame_buffer_allocator.cpp     |  2 +-\n src/libcamera/framebuffer.cpp                 | 10 +++----\n src/libcamera/pipeline/ipu3/ipu3.cpp          | 20 ++++++++-----\n src/libcamera/pipeline/mali-c55/mali-c55.cpp  | 30 +++++++++++--------\n src/libcamera/pipeline/rkisp1/rkisp1.cpp      | 26 ++++++++--------\n .../pipeline/rpi/common/pipeline_base.cpp     |  6 ++--\n src/libcamera/pipeline/vimc/vimc.cpp          |  5 +++-\n src/libcamera/pipeline/virtual/virtual.cpp    |  3 +-\n src/libcamera/v4l2_videodevice.cpp            |  6 ++--\n 12 files changed, 68 insertions(+), 49 deletions(-)\n\n\nbase-commit: baea40a8a5dddbad3cf6398aa8ce248e4547c955\n--\nRegards,\n\nLaurent Pinchart"}