AAA: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
quick update
FranceBB (talk | contribs)
Added reference to version 0.2 which supports YUY2, YV16 and YV24 (FranceBB)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|Soulhunter
|Soulhunter
|
|
|[[Media:AAA.avs|AAA.avs]]
|[[Media:AAA.avs|AAA v0.1]] - [https://github.com/FranceBB/AAA_2/blob/master/AAA.avsi AAA v0.2]
|Anti-aliasing
|Anti-aliasing
|
|
* YV12
* YV12, YUY2, YV16, YV24
|}}
|}}
== Description ==
== Description ==
Anti-aliasing filter designed for anime.
Anti-aliasing filter designed for anime.<br/>
'''Note:''' This script is very old and usually not recommended nowadays.




Line 15: Line 16:
* AviSynth 2.5.8 or later
* 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  
* [[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: [[YV12]]
* Supported color formats in version 0.1: [[YV12]]
* Supported color formats in version 0.2: [[YV12]], [[YUY2]], [[YV16]], [[YV24]]


=== Required Plugins ===
=== Required Plugins ===
*[[SangNom]]
*[[SangNom2]]
*[[UnFilter]]
*[[UnFilter]]




== [[Script variables|Syntax and Parameters]] ==
== [[Script variables|Syntax and Parameters]] ==
{{FuncDef|AAA (clip clp, int "Xres", int "Yres", int "Xshrp", int "Yshrp", int "US", int "DS", bool "chroma")}}
:{{FuncDef|AAA (clip clp, int "Xres", int "Yres", int "Xshrp", int "Yshrp", int "US", int "DS", bool "chroma")}}
 
<br>
*Xres/Yres = The final resolution... InputSize = OutputSize is the default
::{{Par2|clp|clip| }}
 
:::Input clip.
*Xshrp/Yshrp = Unfilter strength... Settings of 15,15 are the defaults
<br>
 
::{{Par2|Xres|int| }}
*Us = Resizer for upsampling... 0 = PointResize (default) / 1 = Lanczos
::{{Par2|Yres|int| }}
 
:::Xres/Yres = The final resolution... InputSize = OutputSize is the default
*Ds = Resizer for downsampling... 0 = Bilinear (default) / 1 = Bicubic / 2 = Lanczos
<br>
 
::{{Par2|Xshrp|int|15}}
*Chroma = Enable/disable chroma antialiasing... Disable = false (default) / enable = true
::{{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:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  AAA()
  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)



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