Descale
From Avisynth wiki
Abstract | |
---|---|
Author | Frechdachs |
Version | r8 |
Download | [x86]: avisynth-descale-r8-win32.zip
|
Category | Resize |
License | MIT |
Discussion |
Contents |
Description
Descale is a filter to undo upscaling.
Requirements
- [x86] / [x64]: AviSynth+
- Supported color formats: All planar formats (8/10/12/14/16/32-bit, YUV/RGB with or without alpha) are supported.
Syntax and Parameters
- Debicubic (clip, int target_width, int target_height, float "b", float "c", float "src_left", float "src_top", float "src_width", float "src_height", int "opt")
- Debilinear (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "opt")
- Delanczos (clip, int target_width, int target_height, int "taps", float "src_left", float "src_top", float "src_width", float "src_height", int "opt")
- Descale (clip, int target_width, int target_height, string "kernel", int "taps", float "b", float "c", float "src_left", float "src_top", float "src_width", float "src_height", int "opt")
- Despline16 (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "opt")
- Despline36 (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "opt")
- Despline64 (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", int "opt")
- clip =
- Input clip.
- clip =
- int =
- int =
target_width, target_height
: presumed 'native' resolution.
- int =
- string kernel =
- Parameter for
Descale
only. Note that this parameter is named but does not have a default. - Desample mode:
"bilinear", "bicubic", "lanczos", "spline16", "spline32", "spline64"
- Parameter for
- string kernel =
- float b = 0.0
- float c = 0.5
- Parameters for
Debicubic
only. - The parameters b and c can be used to adjust the properties of the cubic, they are sometimes referred to as "blurring" and "ringing" respectively.
- Parameters for
- float b = 0.0
- int taps = 3
- Parameter for
Delanczos
only. - Controls the filter’s number of lobes, or taps. Increasing the number of lobes improves sharpness at the cost of increased ringing.
- You might occasionally see the tap count appended to the filter name to clarify the exact filter used, e.g. Lanczos2 for 2 taps.
- Parameter for
- int taps = 3
- float src_left = 0.0
- Cropping of the left edge.
- float src_left = 0.0
- float src_top = 0.0
- Cropping of the top edge.
- float src_top = 0.0
- float src_width = Source width
- If > 0.0 it sets the width of the clip before resizing.
- If <= 0.0 it sets the cropping of the right edges before resizing.
- float src_width = Source width
- float src_height = Source height
- If > 0.0 it sets the height of the clip before resizing.
- If <= 0.0 it sets the cropping of the bottom edges before resizing
- float src_height = Source height
- int opt = 0
- Sets which cpu optimizations to use.
- 0 : auto
- 1 : none
- 2 : avx2
- Sets which cpu optimizations to use.
- int opt = 0
Changelog
Version Date Changes
r8 2022/04/02 - Add AviSynth+ plugin (API V8 required) - AviSynth+: self-registers as MT_NICE_FILTER
External Links
- GitHub - source code repository
Back to External Filters ←