From patchwork Mon Feb 6 17:03:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 18256 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 223DBBEFBE for ; Mon, 6 Feb 2023 17:04:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5736D625F1; Mon, 6 Feb 2023 18:04:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1675703042; bh=OgQo0Z0iK/8tiIURZRhO8S9jZnoomSz+CA0NP8uYdxo=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=i/40BZyJYVN+EMWr5VYgXG3e6wQFAyj3o7myhMElCOKsLjCGVoEsEN+HOXxnJV4bD PqYtkUhr5tRMK7ucU8IhAFgDUoxUOJyRr3Hm20jaJ4HdQRKE90GY5g8PQTkNGPNOOz VNm3NrNAUsKuXYjCah3NAkKkgo9sMTiYXpsogpGP7Cw1ejRL3zPeOFSYDEmjt8nwun /KvHoh7uxCC180jN71fjRz7ElyTHy73OM6jZOI/55HWnk7O6qyabmpO8nNzCaeFP5V h2KzVvzLlsxd9p0gmObNisSZ2t8qpFrvz871Z8VE+385/0rOH5o26Oi7vi09Mkpzck JmCMHFWCKhU1w== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EF019625F1 for ; Mon, 6 Feb 2023 18:04:00 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="wOZTTPcQ"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (unknown [109.136.43.56]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 94AE14DA for ; Mon, 6 Feb 2023 18:04:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1675703040; bh=OgQo0Z0iK/8tiIURZRhO8S9jZnoomSz+CA0NP8uYdxo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wOZTTPcQ2ssr4cnoKwRDCXQsU6Luj43tuZs7DozX9HA30vd/xxvVJkKAmZ4Udhz4T nxHIexiy/QJYhV2HiWuKNhyze5BJdIs//U8jY56hXhaqU1VKqp6Ey0LvqnyTNJmDWK 3FOBgXHpE6ZxhR0EEeSFlus+6e1QQLJcSRhaeolM= To: libcamera-devel@lists.libcamera.org Date: Mon, 6 Feb 2023 19:03:54 +0200 Message-Id: <20230206170356.20340-3-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230206170356.20340-1-laurent.pinchart@ideasonboard.com> References: <20230206170356.20340-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 2/4] libcamera: camera_sensor: Fix typo in comment 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: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Fix a typo introduced in a comment when refactoring transformation handling in the CameraSensor class. Fixes: 1a614866a29c ("libcamera: camera_sensor: Validate Transform") Signed-off-by: Laurent Pinchart Reviewed-by: Umang Jain --- src/libcamera/camera_sensor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcamera/camera_sensor.cpp b/src/libcamera/camera_sensor.cpp index 11117502d817..274ed419ddfd 100644 --- a/src/libcamera/camera_sensor.cpp +++ b/src/libcamera/camera_sensor.cpp @@ -1023,8 +1023,8 @@ Transform CameraSensor::validateTransform(Transform *transform) const /* * We combine the platform and user transform, but must "adjust away" - * any combined result that includes a transform, as we can't do those. - * In this case, flipping only the transpose bit is helpful to + * any combined result that includes a transposition, as we can't do + * those. In this case, flipping only the transpose bit is helpful to * applications - they either get the transform they requested, or have * to do a simple transpose themselves (they don't have to worry about * the other possible cases).