From patchwork Sat Aug 3 19:55:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 20749 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 B3FD2BDC71 for ; Sat, 3 Aug 2024 19:55:30 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id AAEE263381; Sat, 3 Aug 2024 21:55:29 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="JPgYa5Oo"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4EE496336E for ; Sat, 3 Aug 2024 21:55:28 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D1CFA512 for ; Sat, 3 Aug 2024 21:54:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1722714878; bh=geCi5PagTew/k4eTf0aG2HMP0XPcCI1b7mE2kPHz+Gw=; h=From:To:Subject:Date:From; b=JPgYa5OoWvF3xtGm3iIzhELQ+NRxF8tql6mX2apPm8mff/FZqLCqV+hyHZ7ipbYhO ww4Wqrf1j1ZXHRw9ZG8MqboKdMBL3C4CgVmuuKLJitNzpqdEKzXkUQcWI0Rky6qsrT Zv28dDykBBwF9oieN+ixkRhgQQ3ct4wL2OcEjwnY= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] libcamera: Remove spaces at end of lines Date: Sat, 3 Aug 2024 22:55:05 +0300 Message-ID: <20240803195505.842-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.44.2 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" Spaces at end of lines have cropped up in a few places in libcamera. Remove them. Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal Reviewed-by: Kieran Bingham --- .clang-format | 4 ++-- Documentation/coding-style.rst | 2 +- Documentation/environment_variables.rst | 4 ++-- src/libcamera/control_ids_core.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) base-commit: 19bbca3c0b376ba0183f5db53472c8c46cd402b5 diff --git a/.clang-format b/.clang-format index f2b44e87d4fb..7fc30f614ab1 100644 --- a/.clang-format +++ b/.clang-format @@ -80,7 +80,7 @@ IncludeCategories: # Headers in <> with an extension. (+system libraries) - Regex: '<([A-Za-z0-9\-_])+\.h>' Priority: 2 - # System headers + # System headers - Regex: '' Priority: 2 # C++ standard library includes (no extension) @@ -100,7 +100,7 @@ IncludeCategories: # IPA Interfaces - Regex: '' Priority: 7 - # libcamera Internal headers in "" + # libcamera Internal headers in "" - Regex: '"libcamera/internal/.*\.h"' Priority: 8 # Other libraries headers with one group per library (.h or .hpp) diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst index 72cb28d25189..3352b75c76c8 100644 --- a/Documentation/coding-style.rst +++ b/Documentation/coding-style.rst @@ -215,7 +215,7 @@ shall be avoided when possible, but are allowed when required (for instance to implement factories with auto-registration). They shall not depend on any other global variable, should run a minimal amount of code in the constructor and destructor, and code that contains dependencies should be moved to a later -point in time. +point in time. Error Handling ~~~~~~~~~~~~~~ diff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst index 7cc13e9f3808..de434c386707 100644 --- a/Documentation/environment_variables.rst +++ b/Documentation/environment_variables.rst @@ -39,9 +39,9 @@ LIBCAMERA_IPA_MODULE_PATH LIBCAMERA_IPA_PROXY_PATH Define custom full path for a proxy worker for a given executable name. - + Example value: ``${HOME}/.libcamera/proxy/worker:/opt/libcamera/vendor/proxy/worker`` - + LIBCAMERA_PIPELINES_MATCH_LIST Define an ordered list of pipeline names to be used to match the media devices in the system. The pipeline handler names used to populate the diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml index 9d413a94e0ee..cf40771d3896 100644 --- a/src/libcamera/control_ids_core.yaml +++ b/src/libcamera/control_ids_core.yaml @@ -868,8 +868,8 @@ controls: - Gamma: type: float description: | - Specify a fixed gamma value. Default must be 2.2 which closely mimics - sRGB gamma. Note that this is camera gamma, so it is applied as + Specify a fixed gamma value. Default must be 2.2 which closely mimics + sRGB gamma. Note that this is camera gamma, so it is applied as 1.0/gamma. ...