From patchwork Wed Jan 8 10:49:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 22460 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 76207C32EF for ; Wed, 8 Jan 2025 10:49:38 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 61A41684EA; Wed, 8 Jan 2025 11:49:37 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="XNSvyeTN"; 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 0449561884 for ; Wed, 8 Jan 2025 11:49:36 +0100 (CET) Received: from ideasonboard.com (mob-5-90-140-184.net.vodafone.it [5.90.140.184]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B9824664; Wed, 8 Jan 2025 11:48:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1736333323; bh=bOvTFhSkIs7h5oZ7k0ZRIN/YEYCvihuuyDU86m3BBQw=; h=From:To:Cc:Subject:Date:From; b=XNSvyeTNLk0Pau6BR1PKQm6QlsbPaPAFMkPUyW7Py44GVedGSqeZb2Rjc7b63UbWx SmGQXFO9pu/izC+R9pOwKQLgTdrQ36fi+caPLY3nl57I+TFe/C2P9swbzbMzowGx0C WrrsywTf7vxGiC+K9B+LXTeBPKmltc3Y5XPQCe3w= From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi , naush@raspberrypi.com Subject: [PATCH v3 0/6] libcamera: Initial support for generic line based metadata Date: Wed, 8 Jan 2025 11:49:17 +0100 Message-ID: <20250108104924.163077-1-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.47.1 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. v2->v3: - Update the kernel version from which headers are generated from - rebase on master and update to the new CameraSensor interface 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 | 1157 +++++++++++++++++ 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, 1390 insertions(+), 15 deletions(-) create mode 100644 src/libcamera/sensor/camera_sensor_raw.cpp --- 2.47.1