CAS: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
CAS: Contrast Adaptive Sharpening
 
 
Line 53: Line 53:
  Version      Date            Changes<br>
  Version      Date            Changes<br>
  v1.0.0      2020/08/04      - Initial release; port of the VapourSynth plugin
  v1.0.0      2020/08/04      - Initial release; port of the VapourSynth plugin
                               - AviSynth+: self-registers as [[MT_NICE_FILTER ]].
                               - AviSynth+: self-registers as [[MT_NICE_FILTER ]]
<br>
<br>
== External Links ==
== External Links ==
*[https://github.com/Asd-g/AviSynth-CAS GitHub] - Source code repository.
*[https://github.com/Asd-g/AviSynth-CAS GitHub] - Source code repository.

Latest revision as of 20:35, 5 August 2020

Abstract
Author Asd-g
Version v1.0.0
Download CAS-1.0.0.7z
Category Sharpeners
License MIT
Discussion

Description

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

Requirements


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


  • GitHub - Source code repository.




Back to External Filters