Yadif
From Avisynth wiki
(Difference between revisions)
(overhaul) |
(add x64 version) |
||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat5|External_filters|Plugins|Plugins_x64|Restoration_filters|Deinterlacers}} |
− | + | ||
{{Filter3 | {{Filter3 | ||
| {{Author/Fizick}} | | {{Author/Fizick}} | ||
| v1.7 | | v1.7 | ||
− | | [http://avisynth.org.ru/yadif/yadif17.zip yadif17.zip] | + | | [x86]: [http://avisynth.org.ru/yadif/yadif17.zip yadif17.zip] |
+ | -------- | ||
+ | [x64]: [https://web.archive.org/web/20200610155700if_/https://files.videohelp.com/u/223002/yadif_1.7_x64_asm.zip yadif_1.7_x64_asm.zip] | ||
| Deinterlacing | | Deinterlacing | ||
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | | [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
|6=[http://forum.doom9.org/showthread.php?t=124284 Doom9 Thread] | |6=[http://forum.doom9.org/showthread.php?t=124284 Doom9 Thread] | ||
}} | }} | ||
− | + | ||
== Description == | == Description == | ||
− | + | Port of YADIF (Yet Another DeInterlacing Filter) from [http://www.mplayerhq.hu MPlayer] by Michael Niedermayer. It check pixels of previous, current and next frames to re-create the missed field by some local adaptive method (edge-directed interpolation) and uses spatial check to prevent most artifacts. | |
− | + | ||
+ | <span style="color:red">'''Note:'''</span> Yadif is a C-plugin so it must be loaded using [[Plugins#LoadCPlugin|LoadCPlugin]]. | ||
+ | |||
+ | <span style="color:red">'''Note:'''</span> See [[yadifmod]] or [[yadifmod2]] for an updated version. | ||
+ | <br> | ||
+ | <br> | ||
== Requirements == | == Requirements == | ||
− | : | + | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.5.8 or greater] |
− | : | + | * [x64]: [[AviSynth+]] |
+ | * Supported color formats: [[YV12]] | ||
<br> | <br> | ||
Line 23: | Line 29: | ||
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
− | :::Input clip | + | :::Input clip. |
<br> | <br> | ||
::{{Par2|mode|int|0}} | ::{{Par2|mode|int|0}} | ||
− | + | :::*0 : single frame rate, temporal and spatial interlacing check (default). | |
− | + | :::*1 : double frame rate, temporal and spatial interlacing check. | |
− | + | :::*2 : single frame rate, skips spatial interlacing check. | |
− | + | :::*3 : double frame rate, skips spatial interlacing check. | |
<br> | <br> | ||
::{{Par2|order|int|1}} | ::{{Par2|order|int|1}} | ||
− | + | :::*-1 : field order as AviSynth assumes (default). | |
− | + | :::*0 : bottom field first | |
− | + | :::*1 : top field first | |
<br> | <br> | ||
::{{Par2|planar|bool|false}} | ::{{Par2|planar|bool|false}} | ||
− | + | :::*false : usual [[YV12]] colorspace (default); if input clip is YV12 this parameter is silently ignored. | |
− | + | :::*true : flag for (hacked) planar YUY2 color format of input and output clips, compatible with Interleaved2planar and Planar2Interleaved functions from the RemoveGrain ([[RemoveGrain_v0.9/SSETools|SSETools]]) plugin. | |
<br> | <br> | ||
− | ::{{Par2|opt|int| | + | ::{{Par2|opt|int|-1}} |
− | + | :::*-1 : CPU optimization - auto (default). | |
− | + | :::*0 : slow C version. | |
− | + | :::*1 : [[ISSE|Integer SSE]] | |
− | + | :::*2 : [[SSE2]] | |
− | + | :::*3 : [[SSSE3]] (some) | |
<br> | <br> | ||
+ | |||
== Examples == | == Examples == | ||
Line 58: | Line 65: | ||
<br> | <br> | ||
== Archived Downloads == | == Archived Downloads == | ||
− | {| class="wikitable" border="1"; width=" | + | {| class="wikitable" border="1"; width="500px" |
|- | |- | ||
!!width="100px"| Version | !!width="100px"| Version | ||
Line 65: | Line 72: | ||
|- | |- | ||
!v1.7 | !v1.7 | ||
− | |[http://avisynth.org.ru/yadif/yadif17.zip yadif17.zip] | + | |[x86]: [http://avisynth.org.ru/yadif/yadif17.zip yadif17.zip] |
− | |[http://avisynth.nl/users/fizick/yadif/yadif17.zip yadif17.zip] | + | ----------- |
+ | [x64]: [https://web.archive.org/web/20200610155700if_/https://files.videohelp.com/u/223002/yadif_1.7_x64_asm.zip yadif_1.7_x64_asm.zip] | ||
+ | |[x86]: [http://avisynth.nl/users/fizick/yadif/yadif17.zip yadif17.zip] | ||
+ | ----------- | ||
+ | [x64]: [http://www.dropbox.com/s/eal13otcg712rhg/yadif_1.7_x64_asm.zip?dl=1 yadif_1.7_x64_asm.zip] | ||
|} | |} | ||
+ | * x64 version compiled with Intel Parallel Studio XE 2015 Composer Edition for C++. | ||
<br> | <br> | ||
== External Links == | == External Links == | ||
*[http://forum.doom9.org/showthread.php?t=124284 Doom9 Forum] - Yadif discussion. | *[http://forum.doom9.org/showthread.php?t=124284 Doom9 Forum] - Yadif discussion. | ||
*[http://avisynth.org.ru/yadif/yadif.html avisynth.org.ru] - Official homepage and documentation. | *[http://avisynth.org.ru/yadif/yadif.html avisynth.org.ru] - Official homepage and documentation. | ||
− | |||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters#Deinterlacing|External Filters]] ←''' | '''Back to [[External_filters#Deinterlacing|External Filters]] ←''' |
Latest revision as of 18:04, 10 June 2020
Abstract | |
---|---|
Author | Fizick |
Version | v1.7 |
Download | [x86]: yadif17.zip
[x64]: yadif_1.7_x64_asm.zip |
Category | Deinterlacing |
License | GPLv2 |
Discussion | Doom9 Thread |
Contents |
[edit] Description
Port of YADIF (Yet Another DeInterlacing Filter) from MPlayer by Michael Niedermayer. It check pixels of previous, current and next frames to re-create the missed field by some local adaptive method (edge-directed interpolation) and uses spatial check to prevent most artifacts.
Note: Yadif is a C-plugin so it must be loaded using LoadCPlugin.
Note: See yadifmod or yadifmod2 for an updated version.
[edit] Requirements
- [x86]: AviSynth+ or AviSynth 2.5.8 or greater
- [x64]: AviSynth+
- Supported color formats: YV12
[edit] Syntax and Parameters
- Yadif (clip, int "mode", int "order", bool "planar", int "opt")
- clip =
- Input clip.
- clip =
- int mode = 0
- 0 : single frame rate, temporal and spatial interlacing check (default).
- 1 : double frame rate, temporal and spatial interlacing check.
- 2 : single frame rate, skips spatial interlacing check.
- 3 : double frame rate, skips spatial interlacing check.
- int mode = 0
- int order = 1
- -1 : field order as AviSynth assumes (default).
- 0 : bottom field first
- 1 : top field first
- int order = 1
- bool planar = false
- bool planar = false
- int opt = -1
- -1 : CPU optimization - auto (default).
- 0 : slow C version.
- 1 : Integer SSE
- 2 : SSE2
- 3 : SSSE3 (some)
- int opt = -1
[edit] Examples
Yadif with default settings:
AviSource("blah.avi") Yadif(mode=0, order=-1, planar=false, opt=-1)
[edit] Changelog
Version Date Changes
[edit] Archived Downloads
Version | Download | Mirror |
---|---|---|
v1.7 | [x86]: yadif17.zip
[x64]: yadif_1.7_x64_asm.zip |
[x86]: yadif17.zip
[x64]: yadif_1.7_x64_asm.zip |
- x64 version compiled with Intel Parallel Studio XE 2015 Composer Edition for C++.
[edit] External Links
- Doom9 Forum - Yadif discussion.
- avisynth.org.ru - Official homepage and documentation.
Back to External Filters ←