From patchwork Fri Dec 3 19:55:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 15022 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 7023BBDB13 for ; Fri, 3 Dec 2021 19:55:50 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D153C60836; Fri, 3 Dec 2021 20:55:49 +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="ha86QTSb"; dkim-atps=neutral Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 89DC960725 for ; Fri, 3 Dec 2021 20:55:47 +0100 (CET) Received: by mail-pf1-x42f.google.com with SMTP id r130so3883632pfc.1 for ; Fri, 03 Dec 2021 11:55:47 -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:mime-version :content-transfer-encoding; bh=wwq53qkhD/ukr25MCzagYY7s7bAU6NeNj0WUznRn4qs=; b=ha86QTSbFvKtSOdTUx1uT2vQNxeECpXRrbmZguM1holgpuzDtNm6kBNsYdpzdUwyrA HBPH15Vhv+RUs0jS+mur4KtC/xyWBuYVMnWxtceo2DbsLMbjk7YY9pVRMAnf+4LUfyKp FQMU/DMhvgxaNGYBnHQNxZvphDftWqBV7IcmU= 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:mime-version :content-transfer-encoding; bh=wwq53qkhD/ukr25MCzagYY7s7bAU6NeNj0WUznRn4qs=; b=ToyLUW12V25QDSmzBAeStXS3o+FR+hmnezIb/5n7KLnHFzGxxbHdei1F/J/k3Nx9IK 6USXZOIgyrR9c6E5gJz8c7dqS9ZT2VDC4uZS/k5Oe9y+4NgBqNJB6QcoKSH/KzvER21B uIOU1FFi8mmwpnm9tnyR9GIit3zcAxOZt2b9XmlDtKm6L2U9u4PtckFm2CfRPN6tVcVv SGdzWTVDIlWWkCsDsl3DARMOkGwkMlRsEk5OK+6vSs0NVoPH0Wax0mGwOy92ZscLzo83 hI7xNiTOhK2d/39pQ1EYwQhe3tIALgmrFLng7kjv/YnktsczATrhAL8nYxHqugbjJhxA HwUw== X-Gm-Message-State: AOAM531j5Vpo4ro4ACq7JTYh5Rdq1tpDmCQvDldCcMbrm7yegcgORmL3 60vQRakFr+Gyvtx8DnxXiXIAusgT5jlyWQ== X-Google-Smtp-Source: ABdhPJyv/Pg97bo+S+SCK6jUCg6p3BFGPTW68v5sRsvYkdH43wABOPl4F+SZxoInqdlusmQ0DHqycA== X-Received: by 2002:a63:d142:: with SMTP id c2mr6115207pgj.215.1638561345668; Fri, 03 Dec 2021 11:55:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 11:55:45 -0800 (PST) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Sat, 4 Dec 2021 04:55:32 +0900 Message-Id: <20211203195539.1574621-1-hiroh@chromium.org> X-Mailer: git-send-email 2.34.1.400.ga245620fadb-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/7] Apply clang thread safety annotations to raspberrypi 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 replaces std::mutex classes with std::Mutex classes and also annotates them by clang thread safety annotations. Hirokazu Honda (7): ipa: raspberrypi: Use libcamera Mutex class ipa: raspberrypi: alsc: Apply clang thread annotation ipa: raspberrypi: awb: Apply clang thread annotation ipa: raspberrypi: lux: Apply clang thread annotation ipa: raspberrypi: Contrast: Protect status_ access in Initialise() ipa: raspberrypi: contrast: Apply clang thread annotation ipa: raspberrypi: metadata: Apply clang thread safety annotation src/ipa/raspberrypi/controller/metadata.hpp | 46 +++++++++++-------- src/ipa/raspberrypi/controller/rpi/agc.cpp | 3 +- src/ipa/raspberrypi/controller/rpi/alsc.cpp | 16 +++---- src/ipa/raspberrypi/controller/rpi/alsc.hpp | 18 ++++---- src/ipa/raspberrypi/controller/rpi/awb.cpp | 12 ++--- src/ipa/raspberrypi/controller/rpi/awb.hpp | 18 ++++---- src/ipa/raspberrypi/controller/rpi/ccm.cpp | 3 +- .../raspberrypi/controller/rpi/contrast.cpp | 5 +- .../raspberrypi/controller/rpi/contrast.hpp | 6 +-- src/ipa/raspberrypi/controller/rpi/lux.cpp | 4 +- src/ipa/raspberrypi/controller/rpi/lux.hpp | 7 ++- src/ipa/raspberrypi/raspberrypi.cpp | 4 +- 12 files changed, 76 insertions(+), 66 deletions(-) --- 2.34.1.400.ga245620fadb-goog