Skip to content

HomeOfVapourSynthEvolution/VapourSynth-CAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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