AAA: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
No edit summary |
Added reference to version 0.2 which supports YUY2, YV16 and YV24 (FranceBB) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{FilterCat4|External_filters|Scripts|Restoration_filters|Anti-aliasing}} | |||
{{Filter|Soulhunter||[[Media:AAA.avs]]|Anti-aliasing| | {{Filter | ||
* YV12 | |Soulhunter | ||
| | |||
|[[Media:AAA.avs|AAA v0.1]] - [https://github.com/FranceBB/AAA_2/blob/master/AAA.avsi AAA v0.2] | |||
|Anti-aliasing | |||
| | |||
* YV12, YUY2, YV16, YV24 | |||
|}} | |}} | ||
== Description == | |||
Anti-aliasing filter designed for anime.<br/> | |||
'''Note:''' This script is very old and usually not recommended nowadays. | |||
== Requirements == | |||
* AviSynth 2.5.8 or later | |||
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only | |||
* Supported color formats in version 0.1: [[YV12]] | |||
* Supported color formats in version 0.2: [[YV12]], [[YUY2]], [[YV16]], [[YV24]] | |||
=== | === Required Plugins === | ||
*[[SangNom2]] | |||
*[[UnFilter]] | |||
== [[Script variables|Syntax and Parameters]] == | |||
:{{FuncDef|AAA (clip clp, int "Xres", int "Yres", int "Xshrp", int "Yshrp", int "US", int "DS", bool "chroma")}} | |||
<br> | |||
::{{Par2|clp|clip| }} | |||
:::Input clip. | |||
<br> | |||
::{{Par2|Xres|int| }} | |||
::{{Par2|Yres|int| }} | |||
:::Xres/Yres = The final resolution... InputSize = OutputSize is the default | |||
<br> | |||
::{{Par2|Xshrp|int|15}} | |||
::{{Par2|Yshrp|int|15}} | |||
:::Xshrp/Yshrp = UnFilter strength... Settings of 15,15 are the defaults | |||
<br> | |||
::{{Par2|US|int|0}} | |||
:::US = Resizer for upsampling... 0 = PointResize (default) / 1 = Lanczos | |||
<br> | |||
::{{Par2|DS|int|0}} | |||
:::DS = Resizer for downsampling... 0 = Bilinear (default) / 1 = Bicubic / 2 = Lanczos | |||
<br> | |||
::{{Par2|chroma|bool|false}} | |||
:::Chroma = Enable/disable chroma antialiasing... Disable = false (default) / enable = true | |||
== Examples == | == Examples == | ||
AAA with default settings: | |||
AAA() | [[AviSource]]("Blah.avi") | ||
AAA(Xshrp=15, Yshrp=15, US=0, DS=0, chroma=false) | |||
# Or if you don't want to adjust the settings you could just run: | #Or if you don't want to adjust the settings you could just run: | ||
LanczosResize(width*2,height*2).TurnLeft().SangNom().TurnRight().SangNom().LanczosResize(width,height).Unfilter(15,15) | LanczosResize(width*2,height*2).TurnLeft().SangNom().TurnRight().SangNom().LanczosResize(width,height).Unfilter(15,15) | ||
[[ | == External Links == | ||
*[http://forum.doom9.org/showthread.php?t=83396 Doom9 Forum] - Original discussion. | |||
*[http://forum.doom9.org/showpost.php?p=1465696&postcount=60 Doom9 Forum] - AAAmod script. | |||
<br> | |||
<br> | |||
----------------------------------------------- | |||
'''Back to [[External_filters#Anti-aliasing|External Filters]] ←''' | |||
Latest revision as of 02:52, 28 May 2020
| Abstract | |
|---|---|
| Author | Soulhunter |
| Version | |
| Download | AAA v0.1 - AAA v0.2 |
| Category | Anti-aliasing |
| Requirements |
|
| License | |
| Discussion | |
Description
Anti-aliasing filter designed for anime.
Note: This script is very old and usually not recommended nowadays.
Requirements
- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats in version 0.1: YV12
- Supported color formats in version 0.2: YV12, YUY2, YV16, YV24
Required Plugins
- AAA (clip clp, int "Xres", int "Yres", int "Xshrp", int "Yshrp", int "US", int "DS", bool "chroma")
- clip clp =
- Input clip.
- clip clp =
- int Xres =
- int Yres =
- Xres/Yres = The final resolution... InputSize = OutputSize is the default
- int Xres =
- int Xshrp = 15
- int Yshrp = 15
- Xshrp/Yshrp = UnFilter strength... Settings of 15,15 are the defaults
- int Xshrp = 15
- int US = 0
- US = Resizer for upsampling... 0 = PointResize (default) / 1 = Lanczos
- int US = 0
- int DS = 0
- DS = Resizer for downsampling... 0 = Bilinear (default) / 1 = Bicubic / 2 = Lanczos
- int DS = 0
- bool chroma = false
- Chroma = Enable/disable chroma antialiasing... Disable = false (default) / enable = true
- bool chroma = false
Examples
AAA with default settings:
AviSource("Blah.avi") AAA(Xshrp=15, Yshrp=15, US=0, DS=0, chroma=false)
#Or if you don't want to adjust the settings you could just run: LanczosResize(width*2,height*2).TurnLeft().SangNom().TurnRight().SangNom().LanczosResize(width,height).Unfilter(15,15)
External Links
- Doom9 Forum - Original discussion.
- Doom9 Forum - AAAmod script.
Back to External Filters ←