From patchwork Fri Nov 8 10:51:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 21866 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 C8E29BE173 for ; Fri, 8 Nov 2024 10:51:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C7D976549A; Fri, 8 Nov 2024 11:51:25 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="f8kKe+8G"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0759B60589 for ; Fri, 8 Nov 2024 11:51:25 +0100 (CET) Received: from ideasonboard.com (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 379B8353; Fri, 8 Nov 2024 11:51:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1731063075; bh=fa2FAEFxt4FMnmsVEN5inBDolfEFTywrJINAZNLTwgw=; h=From:To:Cc:Subject:Date:From; b=f8kKe+8GgfdKyM0Bxf0Yf7ovGR1D6Zh+XmRjRVWaq4Qhz5cph6ndVbwtDIh0F3V3T f/9ZZvR1DT2InHI3rlX/V4C8Am7pgCqvmDDe8PZXtdzGE6vYKJ0yuGOYPM9fgpaN4I vct6aqWKFr1rsSRhS1X2BY8t5Jbnw8umXhjruExY= From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi , naush@raspberrypi.com Subject: [PATCH v2 0/6] libcamera: Initial support for generic line based metadata Date: Fri, 8 Nov 2024 11:51:10 +0100 Message-ID: <20241108105117.137121-1-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" A re-spin of "[PATCH 0/4] libcamera: Initial support for generic line based metadata". As the basic support for CameraSensorFactory has now been merged, I've also added on top two more patches that introduce a CameraSensor specialization for RAW sensors and support for embedded data based on the forthcoming generic line-based metadata infrastructure in the Linux kernel. Jacopo Mondi (2): include: linux: Update headers for line-based embedded data support include: linux: videodev2: Add generic line based pixel formats Laurent Pinchart (4): libcamera: v4l2_subdevice: Add new metadata formats libcamera: v4l2_videodevice: Update to the new kernel metadata API libcamera: Add CameraSensor implementation for raw V4L2 sensors libcamera: camera_sensor: Add support for embedded data Documentation/Doxyfile-internal.in | 1 + include/libcamera/internal/camera_sensor.h | 5 + include/libcamera/internal/v4l2_pixelformat.h | 2 + include/linux/README | 2 +- include/linux/media-bus-format.h | 4 + include/linux/media.h | 1 + include/linux/v4l2-subdev.h | 5 + include/linux/videodev2.h | 12 + src/libcamera/sensor/camera_sensor.cpp | 67 + src/libcamera/sensor/camera_sensor_raw.cpp | 1127 +++++++++++++++++ src/libcamera/sensor/meson.build | 1 + src/libcamera/v4l2_pixelformat.cpp | 34 + src/libcamera/v4l2_subdevice.cpp | 63 + src/libcamera/v4l2_videodevice.cpp | 51 +- 14 files changed, 1360 insertions(+), 15 deletions(-) create mode 100644 src/libcamera/sensor/camera_sensor_raw.cpp --- 2.47.0