[libcamera-devel,0/7] Apply clang thread safety annotations to raspberrypi
mbox series

Message ID 20211203195539.1574621-1-hiroh@chromium.org
Headers show
Series
  • Apply clang thread safety annotations to raspberrypi
Related show

Message

Hirokazu Honda Dec. 3, 2021, 7:55 p.m. UTC
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

Comments

Hirokazu Honda Jan. 6, 2022, 3:07 a.m. UTC | #1
Hi all,

I am back from vacation.
gentle ping for review.

Thanks in advance.

-Hiro

On Sat, Dec 4, 2021 at 4:55 AM Hirokazu Honda <hiroh@chromium.org> wrote:
>
> 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