AAA: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
No edit summary
 
FranceBB (talk | contribs)
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:
__TOC__
{{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
|}}
|}}
{{FuncDef|AAA(Xres, Yres, Xshrp, Yshrp, Us, Ds, chroma)}}
== Description ==
Anti-aliasing filter designed for anime.<br/>
'''Note:''' This script is very old and usually not recommended nowadays.


== Abstract ==


Anti-aliasing filter designed for anime.
== 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]]


===Parameters===
=== Required Plugins ===
 
*[[SangNom2]]
Xres/Yres = The final resolution... InputSize = OutputSize is the default
*[[UnFilter]]
 
Xshrp/Yshrp = Unfilter strength... Settings of 15,15 are the defaults


Us = Resizer for upsampling... 0 = PointResize (default) / 1 = Lanczos


Ds = Resizer for downsampling... 0 = Bilinear (default) / 1 = Bicubic / 2 = Lanczos
== [[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


Chroma = Enable/disable chroma antialiasing... Disable = false (default) / enable = true
=== Requires Filters ===
*[[SangNom]]
*[[UnFilter]]


== Examples ==
== Examples ==
  avisource("Blah.avi")
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)


== Links ==
Download [[Media:AAA.avs]]
[http://forum.doom9.org/showthread.php?t=83396 Doom 9 thread]


[[Category:External filters]]
== 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]] &larr;'''

Latest revision as of 02:52, 28 May 2020

Abstract
Author Soulhunter
Version
Download AAA v0.1 - AAA v0.2
Category Anti-aliasing
Requirements
  • YV12, YUY2, YV16, YV24
License
Discussion

Description

Anti-aliasing filter designed for anime.
Note: This script is very old and usually not recommended nowadays.


Requirements

Required Plugins


AAA (clip clp, int "Xres", int "Yres", int "Xshrp", int "Yshrp", int "US", int "DS", bool "chroma")


clip  clp =
Input clip.


int  Xres =
int  Yres =
Xres/Yres = The final resolution... InputSize = OutputSize is the default


int  Xshrp = 15
int  Yshrp = 15
Xshrp/Yshrp = UnFilter strength... Settings of 15,15 are the defaults


int  US = 0
US = Resizer for upsampling... 0 = PointResize (default) / 1 = Lanczos


int  DS = 0
DS = Resizer for downsampling... 0 = Bilinear (default) / 1 = Bicubic / 2 = Lanczos


bool  chroma = false
Chroma = Enable/disable chroma antialiasing... Disable = false (default) / enable = true


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)





Back to External Filters