y5gfunc.filter.aa¶
aa
¶
Functions:
| Name | Description |
|---|---|
double_aa |
Apply light anti-aliasing to input video clip. Suitable for recent non-descalable anime. |
double_aa
¶
double_aa(clip: VideoNode, mask: Optional[VideoNode] = None, doubler: Callable[[VideoNode], VideoNode] = nn2x) -> VideoNode
Apply light anti-aliasing to input video clip. Suitable for recent non-descalable anime.
The function first doubles the resolution of the input clip with doubler, then downscales back with SSIM_downsample.
Chroma planes are not touched.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
VideoNode
|
Input video clip. |
required |
|
Optional[VideoNode]
|
If provided, will be used as mask to merge anti-aliased clip and source clip. Otherwise, Prewitt mask is used. |
None
|
|
Callable[[VideoNode], VideoNode]
|
Function to double the clip. |
nn2x
|
Returns: Anti-aliased input video clip.