From patchwork Thu Feb 15 13:27:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19501 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 B113DBDE17 for ; Thu, 15 Feb 2024 13:27:21 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1442262807; Thu, 15 Feb 2024 14:27:21 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="RIXSZxMY"; dkim-atps=neutral Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 04A7461CB0 for ; Thu, 15 Feb 2024 14:27:18 +0100 (CET) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-56394d0ee54so1068971a12.3 for ; Thu, 15 Feb 2024 05:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1708003638; x=1708608438; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uldhlep7lGxK7NjxLKqvDdMgtmbtS0bt0KnXQADTkSE=; b=RIXSZxMYNmosl5K+RTPGJ3hUirQyNR5jOqkmR/yYcz3qlK8XI7bY14ESULJZSso9jL wY2PSo3XtzfWD94ZKCp4RqGYG+vEYhGtcP1/O5RT6upWoBtM15DhcjvlmK/PAmw9MVcw SbTZib+HHx0h/LY3/bz+xyQOirT8ANdhDr4eoOrw0UdUZ76Gg8WCegtICRuhWMyJfnN6 VVUwKhlyVONq3TW/VUQa1w9NkFsHQy+CUYLr/lE5sjX5eHUjRmGiDOdhLaL/FJ///+bO 35g5evbQ0xPGTlbWfD0bfSTDm76Mh/yQyIIB/QhnLSNuTmM80SpotSEenK1APwvRXy7s tdvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708003638; x=1708608438; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uldhlep7lGxK7NjxLKqvDdMgtmbtS0bt0KnXQADTkSE=; b=mmhcApH1tu4+7Xyp2QOYRP0IrZgPqg+y8y/4gASeehDnkIgfBY9MZyLmjq86CjUqak /T6KfpvQg/bPaBUsvpSoGfVDf6buuGYe3uBAn8OenMoAZyQkaDu8cdSQx3xN1RuxLvPl ktMLZlI/rlW8q8Pn34OvZsLf/vbQByhy4UC1qeWBBooSt+cz152J2EN3e+fB2l+tBYmH IWZAngb9F9Oqs6yKt2v9sdQuneietCgKxnxWohV8+W5xsAbIRfvSs/OmjHv16vhIqMtS +qC8ONbrgV99vofKzJjyXfAO1HCHQlNppNGwnzz74f5C/FmDuXi6JTZrJZaCA/iaFnJM qjGQ== X-Gm-Message-State: AOJu0Yx0qF33lTKUjx5lrkyv6s5UKEXUwCotY79Myv5ISsTEPet4rQRe JCP9A65d+k/4eA3cJ8wqG10ppA+Kc5uGhmjAKphrm0SGYL1IDmjgmZVJ38BOyLzPX8V+TDeQ8xB o X-Google-Smtp-Source: AGHT+IFmi7uR/TkpgajEq6JPdGoy3bQ8eotNT73gCMR23YupBZQrewtfN98ss17F/KYATJ8J0byKNA== X-Received: by 2002:aa7:d78b:0:b0:563:87e8:176 with SMTP id s11-20020aa7d78b000000b0056387e80176mr1482359edq.12.1708003637982; Thu, 15 Feb 2024 05:27:17 -0800 (PST) Received: from localhost.localdomain ([188.39.149.98]) by smtp.gmail.com with ESMTPSA id ew14-20020a056402538e00b005607825b11bsm532283edb.12.2024.02.15.05.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 05:27:17 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1 0/2] Raspberry Pi: PiSP image formats Date: Thu, 15 Feb 2024 13:27:08 +0000 Message-Id: <20240215132710.810-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.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" Hi, With Jacopo's recent submission of the PiSP backend driver to the mailing list (https://www.spinics.net/lists/linux-media/msg248728.html), I thought I'd start adding some of our downstream patches to libcamera. This series adds some pixel formats supported by the PiSP backend: - 48 bpp RGB - Backend config buffer - PiSP compressed Bayer and 16-bit Bayer Thanks, Naush Naushir Patuck (2): libcamera: formats: Add RGB48 formats libcamera: formats: Add PiSP specific image and config buffer formats include/libcamera/internal/bayer_format.h | 2 + include/linux/drm_fourcc.h | 8 +++ include/linux/videodev2.h | 19 ++++++ src/libcamera/bayer_format.cpp | 18 ++++++ src/libcamera/formats.cpp | 71 ++++++++++++++++++++++- src/libcamera/formats.yaml | 21 +++++++ src/libcamera/v4l2_pixelformat.cpp | 14 +++++ src/libcamera/v4l2_subdevice.cpp | 4 ++ 8 files changed, 156 insertions(+), 1 deletion(-)