From patchwork Sun Feb 3 10:55:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 481 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6F17960DB5 for ; Sun, 3 Feb 2019 11:55:21 +0100 (CET) Received: from localhost.localdomain (218.182-78-194.adsl-static.isp.belgacom.be [194.78.182.218]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D1D5341; Sun, 3 Feb 2019 11:55:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1549191320; bh=KqTMUpLZrh3oknm+nmd8bvDcDmZ5ceMwgBEgfcEJ/c0=; h=From:To:Cc:Subject:Date:From; b=KOc6jalDMoBr8EvszEWQlxi/p5cDLCGrUSMhPUevTfJj09D1/kNHYDJ7OE7Bkpvtx UGJ1BCF45w6q3i40xqCBpTWixPBPHOIskJLLyu3iZKBhkm6de9wBA3jGN16HDdidV8 0IK/ZYFWjUDKxkormgJdt/A0ST0DmOo0s78FQBi8= From: Kieran Bingham To: LibCamera Devel Date: Sun, 3 Feb 2019 11:55:12 +0100 Message-Id: <20190203105517.5355-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/5] libcamera: Buffer Objects X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2019 10:55:21 -0000 This series takes an initial Buffer prototype from Laurent and builds upon it to provide 3 objects. - A Plane to describe a raw segment of memory storage. - A Buffer to describe an Image in memory potentially with multiple Planes - A BufferPool, to contain Buffers. These objects are still in active development, but providing their classes is beneficial to the parallel developments which require buffer handles. Kieran Bingham (4): libcamera: buffer: Fix setDmabuf operations libcamera: buffer: Document the BufferPool libcamera: buffer: Provide access to the Buffer vector libcamera: buffer: Provide Buffer Planes Laurent Pinchart (1): libcamera: Add Buffer and BufferPool classes include/libcamera/buffer.h | 85 +++++++++ include/libcamera/libcamera.h | 1 + include/libcamera/meson.build | 1 + src/libcamera/buffer.cpp | 330 ++++++++++++++++++++++++++++++++++ src/libcamera/meson.build | 1 + 5 files changed, 418 insertions(+) create mode 100644 include/libcamera/buffer.h create mode 100644 src/libcamera/buffer.cpp