From Avisynth wiki
Jump to: navigation, search
Author Marc FD
Version beta 1
Download aWarpSharp beta
Category Sharpeners
License Closed source
Discussion Doom9 Thread



A warp sharpening filter. aWarpSharp implements high-quality original warp sharpening. "original" meaning the algorithm used differs on several points to other warp sharpening filters. The code is fully ISSE optimized with high accuracy.

Note: aWarpsharp is considered deprecated, aWarpSharp2 is highly recommended as a drop-in replacement.

Known Issues

aWarpSharp is known to cause some color artifacts around the edges, read the following threads for more information.


  • AviSynth 2.5.8 or later
  • Progressive input only
  • Supported color formats: YV12
  • ISSE compatible CPU.

Syntax and Parameters

aWarpSharp (clip, float "depth", int "blurlevel", float "thresh", int "cm", int "bm", bool "show")

clip   =
Input clip.

float  depth = 16.0
Range: 0.0 - 64.0
depth determines the amount of warping. It directly affects how thin your lines will end up.

int  blurlevel = 2
Range: 1 - 4
Higher blurlevel values are slower, but can give a big boost to the warp sharpening.
If you find that the warping is distorting certain shapes too much, try lowering this parameter first.

float  thresh = 0.5
Range: 0.0 - 1.0
The bump mapping saturation setting:
A float value of 1.0 means 100% (max).
The default value (0.5) is recommended for maximum quality.
If you tweak this setting, keep in mind it will enhance inequality of warping between edges.

int  cm = 3
Chroma mode:
  • 0 : disables chroma filtering
  • 1 : enables chroma warping with luma bump map (recommended)
  • 2 : enables chroma independent warping & bump map
  • 3 : chroma -> chroma (default)
Note: Default in the included documentation is wrong. This wiki documentation has been revised and it's correct.

int  bm = 2
Blur modes:
  • 0 : hq 3-pass
  • 1 : fast 3-pass
  • 2 : fast 1-pass
  • 3 : light blur

bool  show = false
If true, it will show an edge mask; useful for adjusting depth, blurlevel.


aWarpSharp with all default settings:

aWarpSharp(depth=16.0, blurlevel=2, thresh=0.5, cm=3, bm=2, show=false)


Version      Date            Changes
beta 1 2003/02/03 - Initial release

Archived Downloads

Version Download Mirror Mirror 2
beta 1 aWarpSharp beta aWarpSharp beta

External Links

Back to External Filters

Personal tools