Metadata-Version: 2.4
Name: vapoursynth-nlm-hip
Version: 2
Summary: Non-local means denoise filter in HIP, drop-in replacement of the KNLMeansCL for VapourSynth
Project-URL: Source Code, https://github.com/TheFeelTrain/vs-nlm-hip
Project-URL: Bug Tracker, https://github.com/TheFeelTrain/vs-nlm-hip/issues
Author: TheFeelTrain
Maintainer-email: TheFeelTrain <the@feeltra.in>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: vapoursynth>=74
Description-Content-Type: text/markdown

# vs-nlm-hip
Non-local means denoise filter in HIP, drop-in replacement of the KNLMeansCL for VapourSynth

## Usage
Prototype:

`core.nlm_hip.NLMeans(clip clip[, int d = 1, int a = 2, int s = 4, float h = 1.2, string channels = "AUTO", int wmode = 0, float wref = 1.0, clip rclip = None, int device_id = 0, int num_streams = 1])`

## Installation

PyPi package
```bash
pip install vapoursynth-nlm-hip
```

AUR package
```bash
yay -S vapoursynth-plugin-nlm-hip-git
```

## Manual Compilation
```bash
CMAKE_PREFIX_PATH=/opt/rocm \
CXX=/opt/rocm/llvm/bin/clang++ \
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release

cmake --build build

cmake --install build
```
