Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 730 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 730 Bytes

Description

Contrast Adaptive Sharpening.

Usage

cas.CAS(clip clip[, float sharpness=0.5, int planes, int opt=0])
  • clip: Clip to process. Any planar format with either integer sample type of 8-16 bit depth or float sample type of 32 bit depth is supported.

  • sharpness: Sharpening strength.

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

  • opt: Sets which cpu optimizations to use.

    • 0 = auto detect
    • 1 = use c
    • 2 = use sse2
    • 3 = use avx2
    • 4 = use avx512

Compilation

meson build
ninja -C build
ninja -C build install