From patchwork Mon Jan 28 15:11:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 430 Return-Path: Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 252E960DB6 for ; Mon, 28 Jan 2019 16:11:30 +0100 (CET) Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id A1DAA240030; Mon, 28 Jan 2019 15:11:29 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Mon, 28 Jan 2019 16:11:35 +0100 Message-Id: <20190128151137.31075-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] V4L2Device: Add get/set format support 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: Mon, 28 Jan 2019 15:11:30 -0000 Hello, this series defines a V4L2DeviceFormat format exchange class to be used to provide a V4L2Device an image format configuration request. I went with V4L2DeviceFormat name as we'll likely need V4L2SubdeviceFormat. On top of that implement format set and get for V4L2Device handling the single and multi planar API use cases. Thanks j Jacopo Mondi (2): libcamera: v4l2-format: Add V4L2DeviceFormat libcamera: v4l2_device: Add methods to get/set format src/libcamera/include/v4l2_device.h | 24 ++++ src/libcamera/v4l2_device.cpp | 183 ++++++++++++++++++++++++++++ 2 files changed, 207 insertions(+) --- 2.20.1