From patchwork Mon Nov 14 21:25:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 17790 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 49D0FBE08B for ; Mon, 14 Nov 2022 21:26:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B67D363088; Mon, 14 Nov 2022 22:26:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1668461162; bh=k+wE0313K8sSkyrOo529KaYPzSqqA5yfwBQ6oVgksWE=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=K+fkq86tDwyeXeZGcG80jxfql/Q/HuM7jvch3sh/Fjs0jwN+HmFSQZLR3Bumzku4O o1McVWtTkdeXpwozBEjeOAAyiufMyr9wpFwfJ2rDQPVn4aLRxAyDnE0wJ9L2jULD4u FrmZFKNtdRm6i/J44ZTWRIGlrm6ErUpENyADOyebk9y8TKvRtU+K2vigXlkI0SyHHI /Z86NeiCK5G4fgzI3cr3a19Ab0ms5MtI1fDFM8OCHo2Onr1XqKTEdmdkJY7v09HnVA TFeXl5a+RQ36Np29gwQIMzm5Kbdsh3QsnhGuLIFfYHPeJMsLBD4NqNjBG/FgifZbCo gEwwfeIoFKlrA== Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A3A2C61F3B for ; Mon, 14 Nov 2022 22:26:01 +0100 (CET) Received: (Authenticated sender: jacopo@jmondi.org) by mail.gandi.net (Postfix) with ESMTPSA id A12E960005; Mon, 14 Nov 2022 21:26:00 +0000 (UTC) To: libcamera-devel@lists.libcamera.org Date: Mon, 14 Nov 2022 22:25:53 +0100 Message-Id: <20221114212555.6936-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/1] libcamera: pipeline: Add IMX8 ISI pipeline X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jacopo Mondi via libcamera-devel From: Jacopo Mondi Reply-To: Jacopo Mondi Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Changes in v3: - Address Laurent review comments, among which the most noticeable are: - Do not override status in validation() - Support VideoRecording use case - Use YUYV for STILL capture role, as the video capture device does not support YUV422 which was used in v2 Changes in v2: - Use a dynamic array of ISI pipes - Reimplement validation to used the logic suggested by Laurent: if the first stream is raw all others are raw, if it's YUV all others are YUV/RGB - Reimplement generateConfiguration() to populate stream formats to allow usage through the gstreamer libcamerasrc element - Minor changes/rename in many places - Add support for all 8-bit Bayer RAW formats variations in the formats map - Add YUV422 support in the formats map Thanks j Jacopo Mondi (1): libcamera: pipeline: Add IMX8 ISI pipeline meson_options.txt | 2 +- src/libcamera/pipeline/imx8-isi/imx8-isi.cpp | 962 +++++++++++++++++++ src/libcamera/pipeline/imx8-isi/meson.build | 5 + 3 files changed, 968 insertions(+), 1 deletion(-) create mode 100644 src/libcamera/pipeline/imx8-isi/imx8-isi.cpp create mode 100644 src/libcamera/pipeline/imx8-isi/meson.build --- 2.38.1