Yadif

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(overhaul)
m (minor formatting)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Deinterlacers}}
+
{{FilterCat4|External_filters|Plugins|Restoration_filters|Deinterlacers}}
[[Category:Plugins]]
+
 
{{Filter3
 
{{Filter3
 
| {{Author/Fizick}}
 
| {{Author/Fizick}}
Line 11: Line 10:
 
<br>
 
<br>
 
== 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.
+
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.
 +
<br>
 
<br>
 
<br>
 
 
== Requirements ==
 
== Requirements ==
:- AviSynth 2.5.8 or later
+
* AviSynth 2.5.8 or later
:- Supported color formats: [[YV12]]
+
* Supported color formats: [[YV12]]
 
<br>
 
<br>
  
Line 23: Line 22:
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
:::Input clip
+
:::Input clip.
 
<br>
 
<br>
 
::{{Par2|mode|int|0}}
 
::{{Par2|mode|int|0}}
Line 72: Line 71:
 
*[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>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Deinterlacing|External Filters]] &larr;'''
 
'''Back to [[External_filters#Deinterlacing|External Filters]] &larr;'''

Revision as of 03:09, 25 September 2014

Abstract
Author Fizick
Version v1.7
Download yadif17.zip
Category Deinterlacing
License GPLv2
Discussion Doom9 Thread


Contents

 [hide

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.

Requirements

  • AviSynth 2.5.8 or later
  • Supported color formats: YV12


Syntax and Parameters

Yadif (clip, int "mode", int "order", bool "planar", int "opt")


clip   =
Input 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  order = 1
  • -1 : field order as Avisynth assumes (default).
  • 0 : bottom field first
  • 1 : top field first


bool  planar = 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 (SSETools) plugin.


int  opt = 0
  • -1 : CPU optimization - auto (default).
  • 0 : slow C version.
  • 1 : Integer SSE
  • 2 : SSE2
  • 3 : SSSE3 (some)


Examples

Yadif with default settings:

AviSource("blah.avi")
Yadif(mode=0, order=-1, planar=false, opt=-1)


Changelog

Version      Date            Changes


Archived Downloads

Version Download Mirror
v1.7 yadif17.zip yadif17.zip


External Links




Back to External Filters

Personal tools