From patchwork Tue Jan 23 14:35:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 19462 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 8BD4CC323E for ; Tue, 23 Jan 2024 14:35:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8F1B262948; Tue, 23 Jan 2024 15:35:41 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="UjQR3vzf"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 36A8162916 for ; Tue, 23 Jan 2024 15:35:40 +0100 (CET) Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5C2741890; Tue, 23 Jan 2024 15:34:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1706020466; bh=Km3CBM368gvnAD3xj0KmPKcrOh2DbYV29xMJLnuIKkI=; h=From:To:Cc:Subject:Date:From; b=UjQR3vzfePcxecIxbNPPQF58nS4i0WytGTtht55+fbSTZCN8ylXLRMsGPTbmEUCsk vUJO+zVuXwoaXx0Hh84kBwGzzt1/Pl8wcvB0gtzyZZFZaH30Tv6V3XkQsfAdNTWtYF nvFzp1uF1H3HOJh6PKzQVX26RqxhPANFbZrx6jfo= From: Kieran Bingham To: libcamera devel Subject: [PATCH v2 0/4] Mono format fixes Date: Tue, 23 Jan 2024 14:35:31 +0000 Message-Id: <20240123143535.52255-1-kieran.bingham@ideasonboard.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" Add the 16-bit mono format and provide a few cleanups in related areas discovered while working to apply the R16 format update. Kieran Bingham (3): libcamera: formats: Fix sort ordering of R10_CSI2P libcamera: bayer_format: Add Y12 to bayerToFormat libcamera: v4l2subdev: Organise the formatInfoMap Naushir Patuck (1): libcamera: formats: Add 16-bit mono format src/libcamera/bayer_format.cpp | 5 +++++ src/libcamera/formats.cpp | 26 ++++++++++++++++++-------- src/libcamera/formats.yaml | 2 ++ src/libcamera/v4l2_pixelformat.cpp | 2 ++ src/libcamera/v4l2_subdevice.cpp | 13 +++++++++++-- 5 files changed, 38 insertions(+), 10 deletions(-)