CAS

From Avisynth wiki
Revision as of 19:35, 5 August 2020 by Reel.Deal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Abstract
Author Asd-g
Version v1.0.0
Download CAS-1.0.0.7z
Category Sharpeners
License MIT
Discussion

Contents

Description

CAS: Contrast Adaptive Sharpening. This is a port of the VapourSynth plugin CAS.

Requirements


Syntax and Parameters

CAS (clip, float "sharpness", int "y", int "u", int "v", int "opt")


clip   =
A clip to process. All planar formats are supported.


float  sharpness = 0.5
Sharpening strength.
Must be between 0.0 and 1.0.


int  y = 3
int  u = 2
int  v = 2
Planes to process.
  • 1 : Return garbage.
  • 2 : Copy plane.
  • 3 : Process plane. Always process planes when the clip is RGB.


int  opt = -1
Sets which cpu optimizations to use.
  • -1 : Auto-detect.
  • 0 : Use C++ code.
  • 1 : Use SSE2 code.
  • 2 : Use AVX2 code.
  • 3 : Use AVX512 code.


Examples

CAS with default settings:

AviSource("Blah.avi")
CAS(sharpness=0.5, y=3, u=2, v=2, opt=-1)


Changelog

Version      Date            Changes
v1.0.0 2020/08/04 - Initial release; port of the VapourSynth plugin - AviSynth+: self-registers as MT_NICE_FILTER


External Links

  • GitHub - Source code repository.




Back to External Filters

Personal tools