From patchwork Fri Dec 3 19:55:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 15028 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 4BE2DC3250 for ; Fri, 3 Dec 2021 19:55:59 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0657A60839; Fri, 3 Dec 2021 20:55:59 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="jrm5ii5u"; dkim-atps=neutral Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1697160725 for ; Fri, 3 Dec 2021 20:55:57 +0100 (CET) Received: by mail-pf1-x42b.google.com with SMTP id 8so3858958pfo.4 for ; Fri, 03 Dec 2021 11:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tJkhOA5WSO7+mLX2TViwx3P8ZdhCcSweweK0r5dpP3I=; b=jrm5ii5uTiyUDWsHa6DRnNvS/Mw3IFOEv0dlL0a6f74NtBWbsralbSlu4LyMX50W1t ps4EQvPOzrfqEXDe3XHolQKG4AEZLzkoRdcm5HiyELgRrQUa3mIxQDxpJlFvXa6KqjL4 6RHzRR+U5NzeKGur+KnwjzBdpp6vfX+XdexlI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tJkhOA5WSO7+mLX2TViwx3P8ZdhCcSweweK0r5dpP3I=; b=YlsMsyksu5IUC6w5BRN6wznmwq0kFPBxzhRgMf2vWdN2Pb8IZSZR/SPseXXcuTh4kV rQWw3uRJtEoHJtzOaaik76kMWSfXEuHT7J4I7b9qBt2fqiGCWyE6ApEFaW0xZDZIRf6R J4DKtAn7EDzEeTiR3407rJgqEHa/At02RYdLnSRrSHcwDiS5c7nFJD46ai3S7mgEWvQy Vmkv9qaRKP5QYPKT0ddQSVd/3pBJpypQBm8zBXWptUvTQp0lQ30Wf1khSsORmLFKnLhX HC3DOu91ttgRRooxpjEZMU5p3P8dIQIWpbYc7TkfOMyeIp3bsVUzMCkyC7QBcZ88RoaE D4Iw== X-Gm-Message-State: AOAM530UWrVBOFrpif/PVRrWUjswBhIs64CAKRQbuNPfcMPT5mCkxzTW 4XeuCMORXjYjY58xt4Vha1axdSgDPbQYyA== X-Google-Smtp-Source: ABdhPJz0sYYMASG6BAjp8cKw7v5oyaRNtxYrGTar0hW9+40bhp9rlyKI6Afb2+6eVdnbS7/IhDAfbQ== X-Received: by 2002:a05:6a00:13a4:b0:49f:add2:3c83 with SMTP id t36-20020a056a0013a400b0049fadd23c83mr20683226pfg.28.1638561355283; Fri, 03 Dec 2021 11:55:55 -0800 (PST) Received: from hiroh2.tok.corp.google.com ([2401:fa00:8f:203:cd78:3a5f:d792:6177]) by smtp.gmail.com with ESMTPSA id t3sm4265891pfj.207.2021.12.03.11.55.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 11:55:54 -0800 (PST) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Sat, 4 Dec 2021 04:55:38 +0900 Message-Id: <20211203195539.1574621-7-hiroh@chromium.org> X-Mailer: git-send-email 2.34.1.400.ga245620fadb-goog In-Reply-To: <20211203195539.1574621-1-hiroh@chromium.org> References: <20211203195539.1574621-1-hiroh@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 6/7] ipa: raspberrypi: contrast: Apply clang thread annotation 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" This annotates member variable of Contrast by clang thread safety annotations. Signed-off-by: Hirokazu Honda --- src/ipa/raspberrypi/controller/rpi/contrast.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/raspberrypi/controller/rpi/contrast.hpp b/src/ipa/raspberrypi/controller/rpi/contrast.hpp index b74e06ab..7eb675ff 100644 --- a/src/ipa/raspberrypi/controller/rpi/contrast.hpp +++ b/src/ipa/raspberrypi/controller/rpi/contrast.hpp @@ -43,7 +43,7 @@ private: ContrastConfig config_; double brightness_; double contrast_; - ContrastStatus status_; + ContrastStatus status_ LIBCAMERA_TSA_GUARDED_BY(mutex_); libcamera::Mutex mutex_; };