AWarpSharp2

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Common Parameters)
m (add Deep_color_tools category)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Sharpeners}}
+
{{FilterCat6|External_filters|Plugins|Plugins_x64|Adjustment_filters|Sharpeners|Deep_color_tools}}
{{Filter
+
{{Filter3
| {{Author/SEt}}
+
| {{Author/SEt}}, {{Author/cretindesalpes}}, [https://github.com/jpsdr jpsdr]
| 2012.03.28
+
| 2.1.3
| [http://www.mediafire.com/?7bu46ab33dwex0o aWarpSharp2]
+
|[https://github.com/jpsdr/aWarpSharpMT/releases aWarpSharpMT_v2_1_3.7z]
| Sharpeners
+
| [[:Category:Sharpeners|Sharpeners]]
|
+
| [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
* [[YV12]]
+
|6=[http://forum.doom9.org/showthread.php?t=147285 Doom9 Thread]<br>[https://forum.doom9.org/showthread.php?t=175064 Doom9 Thread (update)]}}
| GPL
+
 
|}}
+
<br>
+
 
== Description ==
 
== Description ==
:This filter implements the same WarpSharpening algorithm as aWarpSharp by Marc FD, but with several bugfixes and optimizations.<br>
+
This filter implements the same warp sharpening algorithm as [[aWarpSharp]] by Marc FD, but with several bugfixes and optimizations.<br>
:In addition to the complete aWarpSharp2 algorithm, parts of the algorithm are also available as aSobel, aBlur, aWarp. This allows for more advanced processing.
+
In addition to the complete [[/aWarpSharp2|aWarpSharp2]] algorithm, parts of the algorithm are also available as [[AWarpsharp2/aSobel|aSobel]], [[aWarpsharp2/aBlur|aBlur]], [[aWarpsharp2/aWarp|aWarp]] and [[aWarpsharp2/aWarp4|aWarp4]]. This allows for more advanced processing.
===== Requirements: =====
+
:* [[YV12]]
+
:* MMXExt capable CPU, blur will be more precise around frame borders if SSSE3 is available.
+
 
<br>
 
<br>
 
== Common Parameters ==
 
:{{Par|thresh|int|128}}
 
::Range: 0 to 255<br>
 
:::Saturation limit for edge detection. Reduce for less aggressive sharpening.
 
 
<br>
 
<br>
:{{Par|blur|int|2 for type 0, 3 for type 1}}
+
== Requirements ==
::Range: 0 to 100<br>
+
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6]
:::Number of blur passes over edge mask.<br>
+
* [x64]: [[AviSynth+]]
:::Less passes increase sharpening effect, but can produce major artifacts with high depth and thresh.<br>
+
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only
:::You can use values higher than 100, but probably won't see any difference.<br>
+
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]]
:::Chroma is processed with (blur+1)/2 passes.<br>
+
** AviSynth+: all [[planar]] Y and YUV (8,10,12,14,16 bit) formats are supported
 
<br>
 
<br>
:{{Par|type|int|0 for aWarpSharp2, 1 for aBlur}}
+
* [[MMXExt]] capable CPU, blur will be more precise around frame borders if [[SSSE3]] is available.
:::Type of blur:
+
* [https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Microsoft Visual C++ 2019 Redistributable Package (x86 / x64)]
::::* 0 : radius 6 blur.
+
:<span style="color:red">***</span> <tt>vc_redist.x86.exe</tt> is required for <tt>AWarpSharp2-x86</tt>
::::* 1 : radius 2 blur, requires around 8x more passes than type 0 for the same effect (will be just 2.5x slower), but produce better quality.
+
:<span style="color:red">***</span> <tt>vc_redist.x64.exe</tt> is required for <tt>AWarpSharp2-x64</tt>
<br>
+
:{{Par|depth|int|16 for aWarpSharp2, 3 for aWarp and aWarp4}}
+
::Range: -128 to 127<br>
+
:::Strength of the final warping. Negative values result in warping in opposite direction.
+
<br>
+
:{{Par|chroma|int|}}
+
:::Processing mode for chroma planes (U and V):
+
::::* 0 : fill with zeroes
+
::::* 1 : don't care, default for aSobel and aBlur
+
::::* 2 : copy
+
::::* 3 : process
+
::::* 4 : guide by luma - default for aWarpSharp, aWarp, and aWarp4 only
+
::::* 5 : same as 3, but luma isn't processed and just copied. Useful for filtering sources with certain chroma problems.
+
::::* 6 : same as 4, but luma isn't processed and just copied. Useful for filtering sources with certain chroma problems.
+
 
<br>
 
<br>
  
 
== Filters ==
 
== Filters ==
{{PluginFilterTable}}
+
{{PluginFilterTable2}}
 
{{PluginFilterRow|AWarpsharp2|aBlur|
 
{{PluginFilterRow|AWarpsharp2|aBlur|
 
A blurring filter.
 
A blurring filter.
| [[YV12]]
+
| [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
}}
 
}}
 
{{PluginFilterRow|AWarpsharp2|aSobel|
 
{{PluginFilterRow|AWarpsharp2|aSobel|
An edge dectecion filter.
+
An edge detection filter.
| [[YV12]]
+
| [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
}}
 
}}
 
{{PluginFilterRow|AWarpsharp2|aWarp|
 
{{PluginFilterRow|AWarpsharp2|aWarp|
 
A warp-sharpening filter.
 
A warp-sharpening filter.
| [[YV12]]
+
| [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
}}
 
}}
 
{{PluginFilterRow|AWarpsharp2|aWarp4|
 
{{PluginFilterRow|AWarpsharp2|aWarp4|
Unlike aWarp, this uses a 4x larger source clip than the edgemask. This is useful for improving subpixel interpolation quality of the final step.
+
Unlike aWarp, this uses a 4x larger source clip than the edge mask. This is useful for improving subpixel interpolation quality of the final step.
| [[YV12]]
+
| [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
}}
 
}}
 
{{PluginFilterRow|AWarpsharp2|aWarpSharp|
 
{{PluginFilterRow|AWarpsharp2|aWarpSharp|
Special fuction that keeps compatibility with ancient scripts that use the original [[aWarpSharp]].
+
Special function that keeps compatibility with ancient scripts that use the original [[aWarpSharp]].
| [[YV12]]
+
| [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
}}
 
}}
{{PluginFilterRow||aWarpSharp2|
+
{{PluginFilterRow|aWarpSharp2|aWarpSharp2|
The same as '''aWarp(aSobel().aBlur())''' but a bit faster.
+
Performs edge detection, blurring, and warping, all in one.
| [[YV12]]
+
| [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
}}
 
}}
 
|}
 
|}
 
<br>
 
<br>
  
== Examples ==
 
[[AviSource]]("Blah.avi")
 
aWarpSharp2()
 
<br>
 
 
== Changelog ==
 
== Changelog ==
  Changes [http://forum.doom9.org/showpost.php?p=1567371&postcount=67 2012-03-28:]
+
  Version          Date            Changes<br>
  - Added new final part aWarp4 that takes 4x upsampled source for better final subpixel interpolation.
+
2.1.3            2020/04/28      - Fix aWarp issue on 16 bits, update to new avisynth headers.<br>
  - aWarpSharp2 can now be also called by aWarpSharp() with internal parameters conversion for compatibility with ancient scripts. Direct aWarpSharp2 call is encouraged though.
+
2.1.2            2019/06/06      - Minor code change after threadpool update, fix in the number of threads.<br>
  - New chroma values: 5 and 6: the same as 3 and 4, but luma isn't processed and just copied. Useful for filtering sources with certain chroma problems.
+
2.1.0            2019/05/30      - Update of the threadpool, add ThreadLevel parameter.<br>
  - Changed some defaults.<br>
+
2.0.1            2018/04/07      - Optimized CPU placement if SetAffinity=true for prefetch>1.
  Changes [http://forum.doom9.org/showpost.php?p=1298462&postcount=36 2009-06-19:]
+
                                    - SetAffinity back to default false<br>
  - renamed main filter from aWarpSharp to aWarpSharp2 for less confusion with original aWarpSharp
+
2.0.0            2018/03/31      - Add 16 bits support (thanks for pinterf's help).
  - fixed wrong offsets in Warp
+
                                    - Filter is [[MT_NICE_FILTER]]<br>
  - added new blur type - produce better quality, but around 2.5x slower
+
1.0.4            2017/12/12      - Fix aWarp/aWarp4 default settings.<br>
  - blur will be more precise around frame borders if SSSE3 is available
+
1.0.3            2017/12/07      - Fix (for good... ) bug in aBlur x64 asm.<br>
  - some optimizations, mostly noticeable on Core2
+
1.0.2            2017/12/06      - Fix bug in aBlur x64 asm code, aWarp4 don't copy planes on some chroma modes (doc updated).<br>
  - removed support for undocumented parameters of original aWarpSharp<br>
+
1.0.1            2017/12/02      - Fix depthVC default value, fix depthC on aWarpSharp (thanks real.finder).<br>
  Changes [http://forum.doom9.org/showthread.php?t=147285 2009-05-24:]
+
1.0.0            2017/11/23      - Modifications by jpsdr
  - Initial release
+
                                    - First release.<br>
 +
[http://forum.doom9.org/showpost.php?p=1771614&postcount=86 2016.06.24]      2016/06/24      - Modifications by pinterf
 +
                                    - Add 64-bit binary
 +
                                    - Drop AviSynth 2.5x interface<br>
 +
[http://forum.doom9.org/showpost.php?p=1751543&postcount=79 2015.12.30]      2015/12/30      - Modifications by cretindesalpes
 +
                                    - Support for YV16 and YV24 colorspaces
 +
                                    - Support for Y8 colorspace, by _08
 +
                                    - Added parameter depthC specifying the depth for the chroma planes, by _08
 +
                                    - Added parameter cplace to specify MPEG1 or MPEG2 chroma placement
 +
                                    - Some crashes of the beta version hopefully solved.<br>
 +
[http://forum.doom9.org/showpost.php?p=1567371&postcount=67 2012.03.28]     2012/03/28      - Added new final part aWarp4 that takes 4x upsampled source for better final subpixel interpolation.
 +
                                    - aWarpSharp2 can now be also called by aWarpSharp() with internal parameters conversion for compatibility  
 +
                                      with ancient scripts. Direct aWarpSharp2 call is encouraged though.
 +
                                    - New chroma values: 5 and 6: the same as 3 and 4, but luma isn't processed and just copied. Useful for  
 +
                                      filtering sources with certain chroma problems.
 +
                                    - Changed some defaults.<br>
 +
  [http://forum.doom9.org/showpost.php?p=1298462&postcount=36 2009.06.19]     2009/06/19      - renamed main filter from aWarpSharp to aWarpSharp2 for less confusion with original aWarpSharp
 +
                                    - fixed wrong offsets in Warp
 +
                                    - added new blur type - produce better quality, but around 2.5x slower
 +
                                    - blur will be more precise around frame borders if SSSE3 is available
 +
                                    - some optimizations, mostly noticeable on Core2
 +
                                    - removed support for undocumented parameters of original aWarpSharp<br>
 +
  [http://forum.doom9.org/showthread.php?t=147285 2009.05.24]      2009/05/24      - Initial release
 +
<br>
 +
== Archived Downloads ==
 +
{| class="wikitable" border="1"; width="500px"
 +
|-
 +
!!width="100px"| Version
 +
!!width="200px"| Download
 +
!!width="200px"| Mirror
 +
|-
 +
!2016.06.24
 +
|[http://github.com/pinterf/aWarpSharp/releases/download/aWarpSharp2-20160624/aWarpSharp2-20160624.7z aWarpSharp2-20160624.7z]
 +
|N/A
 +
|-
 +
!2015.12.30
 +
|[http://ldesoras.free.fr/src/avs/awarpsharp2-2015.12.30.zip awarpsharp2-2015.12.30.zip]
 +
|[http://web.archive.org/web/20151231013925if_/http://ldesoras.free.fr/src/avs/awarpsharp2-2015.12.30.zip awarpsharp2-2015.12.30.zip]
 +
|-
 +
!2012.03.28
 +
|[http://ia902502.us.archive.org/34/items/aWarpSharp2/aWarpSharp_20120328.rar aWarpSharp_20120328.rar]  [http://www.dropbox.com/s/5s6xht0xu80otbz/aWarpSharp_20120328_x64.zip?dl=1 aWarpSharp_20120328_x64.zip]
 +
|[http://www.mediafire.com/?7bu46ab33dwex0o aWarpSharp_20120328.rar]  [https://web.archive.org/web/20200613153826if_/https://files.videohelp.com/u/223002/aWarpSharp_20120328_x64.zip aWarpSharp_20120328_x64.zip]
 +
|-
 +
!2009.06.19
 +
|[http://ia902502.us.archive.org/34/items/aWarpSharp2/aWarpSharp_20090619.rar aWarpSharp_20090619.rar]
 +
|[http://sites.google.com/site/pavelsx2/aWarpSharp_20090619.rar aWarpSharp_20090619.rar]
 +
|-
 +
!2009.05.24
 +
|[https://ia902502.us.archive.org/34/items/aWarpSharp2/aWarpSharp_20090524.rar aWarpSharp_20090524.rar]
 +
|[https://sites.google.com/site/pavelsx2/aWarpSharp_20090524.rar aWarpSharp_20090524.rar]
 +
|}
 +
*Version 2012.03.28 x64 compiled with Intel Parallel Studio XE 2015 Composer Edition for C++.
 +
<br>
 +
==External Links ==
 +
*[https://github.com/jpsdr/aWarpSharpMT GitHub] - Source Code repository.
 +
*[https://forum.doom9.org/showthread.php?t=172721 Doom9 Forum] - aWarpSharp2 VapourSynth port - [https://github.com/dubhater/vapoursynth-awarpsharp2 GitHub repository].
 +
<br>
 
<br>
 
<br>
== Links ==
+
-----------------------------------------------
- [http://forum.doom9.org/showthread.php?t=147285 Doom9 Forum] - Discussion about aWarpSharp2.
+
'''Back to [[External_filters#Sharpeners|External Filters]] &larr;'''

Latest revision as of 18:40, 25 June 2020

Abstract
Author SEt, cretindesalpes, jpsdr
Version 2.1.3
Download aWarpSharpMT_v2_1_3.7z
Category Sharpeners
License GPLv2
Discussion Doom9 Thread
Doom9 Thread (update)

Contents

[edit] Description

This filter implements the same warp sharpening algorithm as aWarpSharp by Marc FD, but with several bugfixes and optimizations.
In addition to the complete aWarpSharp2 algorithm, parts of the algorithm are also available as aSobel, aBlur, aWarp and aWarp4. This allows for more advanced processing.

[edit] Requirements


*** vc_redist.x86.exe is required for AWarpSharp2-x86
*** vc_redist.x64.exe is required for AWarpSharp2-x64


[edit] Filters

Filter Description Color format
aBlur

A blurring filter.

Y8, YV12, YV16, YV24
aSobel

An edge detection filter.

Y8, YV12, YV16, YV24
aWarp

A warp-sharpening filter.

Y8, YV12, YV16, YV24
aWarp4

Unlike aWarp, this uses a 4x larger source clip than the edge mask. This is useful for improving subpixel interpolation quality of the final step.

Y8, YV12, YV16, YV24
aWarpSharp

Special function that keeps compatibility with ancient scripts that use the original aWarpSharp.

Y8, YV12, YV16, YV24
aWarpSharp2

Performs edge detection, blurring, and warping, all in one.

Y8, YV12, YV16, YV24


[edit] Changelog

Version           Date             Changes
2.1.3 2020/04/28 - Fix aWarp issue on 16 bits, update to new avisynth headers.
2.1.2 2019/06/06 - Minor code change after threadpool update, fix in the number of threads.
2.1.0 2019/05/30 - Update of the threadpool, add ThreadLevel parameter.
2.0.1 2018/04/07 - Optimized CPU placement if SetAffinity=true for prefetch>1. - SetAffinity back to default false
2.0.0 2018/03/31 - Add 16 bits support (thanks for pinterf's help). - Filter is MT_NICE_FILTER
1.0.4 2017/12/12 - Fix aWarp/aWarp4 default settings.
1.0.3 2017/12/07 - Fix (for good... ) bug in aBlur x64 asm.
1.0.2 2017/12/06 - Fix bug in aBlur x64 asm code, aWarp4 don't copy planes on some chroma modes (doc updated).
1.0.1 2017/12/02 - Fix depthVC default value, fix depthC on aWarpSharp (thanks real.finder).
1.0.0 2017/11/23 - Modifications by jpsdr - First release.
2016.06.24 2016/06/24 - Modifications by pinterf - Add 64-bit binary - Drop AviSynth 2.5x interface
2015.12.30 2015/12/30 - Modifications by cretindesalpes - Support for YV16 and YV24 colorspaces - Support for Y8 colorspace, by _08 - Added parameter depthC specifying the depth for the chroma planes, by _08 - Added parameter cplace to specify MPEG1 or MPEG2 chroma placement - Some crashes of the beta version hopefully solved.
2012.03.28 2012/03/28 - Added new final part aWarp4 that takes 4x upsampled source for better final subpixel interpolation. - aWarpSharp2 can now be also called by aWarpSharp() with internal parameters conversion for compatibility with ancient scripts. Direct aWarpSharp2 call is encouraged though. - New chroma values: 5 and 6: the same as 3 and 4, but luma isn't processed and just copied. Useful for filtering sources with certain chroma problems. - Changed some defaults.
2009.06.19 2009/06/19 - renamed main filter from aWarpSharp to aWarpSharp2 for less confusion with original aWarpSharp - fixed wrong offsets in Warp - added new blur type - produce better quality, but around 2.5x slower - blur will be more precise around frame borders if SSSE3 is available - some optimizations, mostly noticeable on Core2 - removed support for undocumented parameters of original aWarpSharp
2009.05.24 2009/05/24 - Initial release


[edit] Archived Downloads

Version Download Mirror
2016.06.24 aWarpSharp2-20160624.7z N/A
2015.12.30 awarpsharp2-2015.12.30.zip awarpsharp2-2015.12.30.zip
2012.03.28 aWarpSharp_20120328.rar aWarpSharp_20120328_x64.zip aWarpSharp_20120328.rar aWarpSharp_20120328_x64.zip
2009.06.19 aWarpSharp_20090619.rar aWarpSharp_20090619.rar
2009.05.24 aWarpSharp_20090524.rar aWarpSharp_20090524.rar
  • Version 2012.03.28 x64 compiled with Intel Parallel Studio XE 2015 Composer Edition for C++.


[edit] External Links




Back to External Filters

Personal tools