From patchwork Thu Mar 14 15:51:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 735 Return-Path: Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F30A6600CB for ; Thu, 14 Mar 2019 16:50:35 +0100 (CET) Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 72908100008; Thu, 14 Mar 2019 15:50:35 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Thu, 14 Mar 2019 16:51:02 +0100 Message-Id: <20190314155106.30106-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/4] libcamera: ipu3: Pre-ImgU 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: Thu, 14 Mar 2019 15:50:36 -0000 To speed up the ImgU support inclusion, send v3 of the first patches of the complete v2 series. These patches replace the first 3 patches of v2 version, taking into account the comments received there, except for 3/4 which is a new patch. Thanks j Jacopo Mondi (4): libcamera: formats: Add toString() methods libcamera: formats: Define FormatEnum type libcamera: ipu3: Make sure sensor provides a compatible format libcamera: ipu3: Set stream configuration from sensor src/libcamera/formats.cpp | 27 +++++++ src/libcamera/include/formats.h | 22 ++++++ src/libcamera/include/v4l2_device.h | 2 + src/libcamera/include/v4l2_subdevice.h | 6 +- src/libcamera/meson.build | 1 + src/libcamera/pipeline/ipu3/ipu3.cpp | 104 +++++++++++++++++++++---- src/libcamera/v4l2_device.cpp | 18 +++++ src/libcamera/v4l2_subdevice.cpp | 23 +++++- 8 files changed, 183 insertions(+), 20 deletions(-) create mode 100644 src/libcamera/formats.cpp create mode 100644 src/libcamera/include/formats.h --- 2.21.0