AWarpSharp

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FilterCat|External_filters|Restoration_filters|Sharpeners}} {{Filter | {{Author/Marc FD}} | Beta 1 | [http://www.avisynth.nl/users/warpenterprises/files/awarpsharp_5F25_dll_...")
 
Line 5: Line 5:
 
| [http://www.avisynth.nl/users/warpenterprises/files/awarpsharp_5F25_dll_20030203.zip aWarpSharp]
 
| [http://www.avisynth.nl/users/warpenterprises/files/awarpsharp_5F25_dll_20030203.zip aWarpSharp]
 
| Sharpeners
 
| Sharpeners
|
+
| Closed source
 
* YV12
 
* YV12
 
|  
 
|  
 
|}}
 
|}}
 
<br>
 
<br>
== Introduction ==
+
== Description ==
 
:a WarpSharpenning filter for Avisynth 2.5<br>
 
:a WarpSharpenning filter for Avisynth 2.5<br>
==== Requirements ====
+
===== Requirements =====
 
::* [[YV12]]
 
::* [[YV12]]
 
::* ISSE compatible CPU.
 
::* ISSE compatible CPU.
 
<br>
 
<br>
== Parameters ==
+
== Syntax and Parameters ==
 
+
:{{Template:FuncDef|aWarpSharp(float "depth", int "blurlevel", float "thresh", int "cm", int "bm", bool "show")}}
{{Template:FuncDef|aWarpSharp(float "depth", int "blurlevel", float "thresh", int "cm", int "bm", bool "show")}}
+
 
<br>
 
<br>
 +
::{{Par|depth|float|16.0}}
 +
:::Range: 0.0 - 64.0
 
<br>
 
<br>
:{{Par|depth|float|16.0}}
+
::{{Par|blurlevel|int|2}}
::range: 0.0 - 64.0
+
:::Range: 1 - 4<br>
 
+
::::These are the only settings you need to tweak to achieve any effect.
:{{Par|blurlevel|int|2}}
+
::::Blurlevel consumes CPU power, but gives a big boost to the warpsharpenning.
::range: 1 - 4<br>
+
 
+
:::These are the only settings you need to tweak to achieve any effect.
+
:::Blurlevel consumes CPU power, but gives a big boost to the warpsharpenning.
+
 
<br>
 
<br>
:{{Par|thresh|float|0.5}}
+
::{{Par|thresh|float|0.5}}
::range: 0.0 - 1.0<br>
+
:::Range: 0.0 - 1.0<br>
 
+
::::A float value of 1.0 means 100% (max). It's the bump mapping saturation setting.
:::A float value of 1.0 means 100% (max). It's the bump mapping saturation setting.
+
::::Default value is recommended for maximum quality.
:::Default value is recommended for maximum quality.
+
::::If you tweak this setting, keep in mind it will enhance inequality of warping between edges.<br>
:::If you tweak this setting, keep in mind it will enhance inequality of warping between edges.<br>
+
 
<br>
 
<br>
:{{Par|cm|int|2}}
+
::{{Par|cm|int|2}}
::chroma mode:
+
:::Chroma mode:
 
+
::::* 0 : disables chroma filtering
:::* 0 : disables chroma filtering
+
::::* 1 : enables chroma warping with luma bump map (recommended)
:::* 1 : enables chroma warping with luma bump map (recommended)
+
::::* 2 : enables chroma independent warping & bump map
:::* 2 : enables chroma independent warping & bump map
+
::::* 3 : chroma -> luma
:::* 3 : chroma -> luma
+
::::* 4 : chroma -> chroma
:::* 4 : chroma -> chroma
+
 
<br>
 
<br>
:{{Par|bm|int|2}}
+
::{{Par|bm|int|2}}
::blur modes:
+
:::Blur modes:
:::* 0 : hq 3-pass
+
::::* 0 : hq 3-pass
:::* 1 : fast 3-pass
+
::::* 1 : fast 3-pass
:::* 2 : fast 1-pass
+
::::* 2 : fast 1-pass
:::* 3 : light blur
+
::::* 3 : light blur
 
<br>
 
<br>
:{{Par|show|bool|false}}
+
::{{Par|show|bool|false}}
::If true, it will show an edge mask. Useful for adjusting depth, blurlevel, and thresh.  
+
:::If true, it will show an edge mask. Useful for adjusting depth, blurlevel, and thresh.  
 
<br>
 
<br>
 
== Examples ==
 
== Examples ==

Revision as of 14:26, 8 November 2013

Abstract
Author Marc FD
Version Beta 1
Download aWarpSharp
Category Sharpeners
Requirements Closed source
  • YV12
License
Discussion


Contents

Description

a WarpSharpenning filter for Avisynth 2.5
Requirements
  • YV12
  • ISSE compatible CPU.


Syntax and Parameters

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


depth float = 16.0
Range: 0.0 - 64.0


blurlevel int = 2
Range: 1 - 4
These are the only settings you need to tweak to achieve any effect.
Blurlevel consumes CPU power, but gives a big boost to the warpsharpenning.


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


cm int = 2
Chroma mode:
  • 0 : disables chroma filtering
  • 1 : enables chroma warping with luma bump map (recommended)
  • 2 : enables chroma independent warping & bump map
  • 3 : chroma -> luma
  • 4 : chroma -> chroma


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


show bool = false
If true, it will show an edge mask. Useful for adjusting depth, blurlevel, and thresh.


Examples

AviSource("Blah.avi")
aWarpSharp()


Changelog

Changes 2004-05-25:
   Beta 2? 
     - added undocumented "tweak" parameter
     - removed "show" parameter
     - document previously undocumented "bm" parameter
Changes 2003-02-03: Beta 1 - Initial release


External Links

- Doom9 Forum - Discussion about aWarpSharp.

Personal tools