Debicubic
From Avisynth wiki
(Difference between revisions)
(Debicubic) |
(→Description: add note) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat5|External_filters|Plugins|Adjustment_filters|Resizers|Deep_color_tools}} |
− | + | ||
{{Filter3 | {{Filter3 | ||
| Prunedtree | | Prunedtree | ||
| r2 | | r2 | ||
− | | [http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip] | + | | [http://web.archive.org/web/20140622040033if_/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip] |
| Resize | | Resize | ||
| Closed source | | Closed source | ||
Line 10: | Line 9: | ||
<br> | <br> | ||
== Description == | == Description == | ||
− | + | This filter is designed to reverse the effects of bicubic upsampling. Parameters and sampling pattern try to mimic Avisynth's [[Resize|BicubicResize]]. | |
<br> | <br> | ||
+ | <br> | ||
+ | <span style="color:red">'''Note: [[Descale]] is recommended as a modern replacement for Debicubic.'''</span> | ||
+ | <br> | ||
+ | <br> | ||
+ | |||
== Requirements == | == Requirements == | ||
− | : | + | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.5.8 or greater] |
− | + | * Supported color formats: [[RGB24]], [[RGB32]], [[YV12]] | |
− | + | * [[SSE2]] capable CPU | |
<br> | <br> | ||
== Limitations == | == Limitations == | ||
− | + | *Sampling at 1:1 resolution is known to be unstable. | |
− | + | *This filter is not made for upsampling. | |
<br> | <br> | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
Line 26: | Line 30: | ||
:{{Template:FuncDef|debicubicY (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout", float "b", float "c")}} | :{{Template:FuncDef|debicubicY (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout", float "b", float "c")}} | ||
+ | <br> | ||
+ | ::{{Par2| |clip| }} | ||
+ | :::Input clip. | ||
<br> | <br> | ||
::{{Par2|target_width|int| }} | ::{{Par2|target_width|int| }} | ||
Line 61: | Line 68: | ||
|- | |- | ||
!r2 | !r2 | ||
− | |||
|[http://web.archive.org/web/20140622040033/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip] | |[http://web.archive.org/web/20140622040033/http://rgb.chromashift.org/debicubic%20r2.zip debicubic r2.zip] | ||
+ | | | ||
|} | |} | ||
<br> | <br> | ||
== External Links == | == External Links == | ||
− | |||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters#Resizers|External Filters]] ←''' | '''Back to [[External_filters#Resizers|External Filters]] ←''' |
Latest revision as of 09:04, 8 February 2023
Abstract | |
---|---|
Author | Prunedtree |
Version | r2 |
Download | debicubic r2.zip |
Category | Resize |
License | Closed source |
Discussion |
Contents |
[edit] Description
This filter is designed to reverse the effects of bicubic upsampling. Parameters and sampling pattern try to mimic Avisynth's BicubicResize.
Note: Descale is recommended as a modern replacement for Debicubic.
[edit] Requirements
- [x86]: AviSynth+ or AviSynth 2.5.8 or greater
- Supported color formats: RGB24, RGB32, YV12
- SSE2 capable CPU
[edit] Limitations
- Sampling at 1:1 resolution is known to be unstable.
- This filter is not made for upsampling.
[edit] Syntax and Parameters
- debicubic (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout", float "b", float "c")
- debicubicY (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout", float "b", float "c")
- clip =
- Input clip.
- clip =
- int target_width =
- int target_height =
- presumed 'native' resolution.
- int target_width =
- float src_left = 0
- float src_top = 0
- float src_width =
- float src_height =
- Optional crop rectangle in the input frame.
- float src_left = 0
- bool lsb_inout = false
- 16-bit input and output; uses DitherTools' Stack16 format.
- bool lsb_inout = false
- float b =
- float c =
- 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.
- float b =
- debicubicY ignores chroma planes.
[edit] Changelog
Version Date Changes
r2 08/31/2013 - r2 r1 ??/??/???? - initial release
[edit] Archived Downloads
Version | Download | Mirror |
---|---|---|
r2 | debicubic r2.zip |
[edit] External Links
Back to External Filters ←