Metadata-Version: 2.4
Name: vapoursynth-cas
Version: 3.0
Summary: Contrast Adaptive Sharpening
Keywords: vapoursynth,cas
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: C++
Classifier: Topic :: Multimedia :: Video
Project-URL: Repository, https://github.com/HolyWu/VapourSynth-CAS
Project-URL: Issues, https://github.com/HolyWu/VapourSynth-CAS/issues
Requires-Python: >=3.12
Requires-Dist: VapourSynth>=74
Description-Content-Type: text/markdown

# CAS

[Contrast Adaptive Sharpening](https://gpuopen.com/fidelityfx-cas/).


## Parameters

```py
cas.CAS(vnode clip[, float sharpness=0.5, int[] planes=[0, 1, 2], int opt=0])
```

- clip: Clip to process. Any format with either 8-16 bit depth integer sample type or 32 bit depth float sample type is supported.

- sharpness: Sharpening strength.

- planes: Specifies which planes will be processed. Any unprocessed planes will be simply copied. By default only luma plane is processed for non-RGB formats.

- opt: Specifies which cpu optimizations to use.
  - 0 = auto detect
  - 1 = use c
  - 2 = use sse4.1
  - 3 = use avx2
  - 4 = use avx512


## Installation

```
pip install -U vapoursynth-cas
```
