Yadifmod

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(yadifmod)
 
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/tritical}}
 
| {{Author/tritical}}
Line 11: Line 10:
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:Modified version of Fizick's Avisynth filter port of [[Yadif]] from MPlayer.  This version doesn't internally generate spatial predictions, but takes them from an external clip. It's also not an Avisynth_C plugin (just a normal one).
+
Modified version of Fizick's Avisynth filter port of [[Yadif]] from MPlayer.  This version doesn't internally generate spatial predictions, but takes them from an external clip. It's also not an Avisynth_C plugin (just a normal one).
 +
<br>
 
<br>
 
<br>
 
 
== Requirements ==
 
== Requirements ==
:- AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 greater]
+
*AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 greater]
:- Supported color formats: [[YUY2]], [[YV12]]
+
*Supported color formats: [[YUY2]], [[YV12]]
 
<br>
 
<br>
  
Line 82: Line 81:
 
== External Links ==
 
== External Links ==
 
*[http://forum.doom9.org/showthread.php?p=1045451#post1045451 Doom9 Forum] - yadifmod discussion.
 
*[http://forum.doom9.org/showthread.php?p=1045451#post1045451 Doom9 Forum] - yadifmod discussion.
<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:11, 25 September 2014

Abstract
Author tritical
Version v1.0
Download yadifmod_v1.zip
Category Deinterlacing
License GPLv2
Discussion Doom9 Thread


Contents

Description

Modified version of Fizick's Avisynth filter port of Yadif from MPlayer. This version doesn't internally generate spatial predictions, but takes them from an external clip. It's also not an Avisynth_C plugin (just a normal one).

Requirements


Syntax and Parameters

yadifmod (clip, int "order", int "field", int "mode", clip "edeint", int "opt")


clip   =
Input clip must be YUY2 or YV12.


int  order = -1
Sets the field order.
  • -1 : use Avisynth's internal parity value
  • 0 : bff (bottom field first)
  • 1 : tff (top field first)


int  field = -1
Controls which field to keep when using same rate output. This parameter doesn't do anything when using double rate output.
  • -1 : set equal to order
  • 0 : keep bottom field
  • 1 : keep top field


int  mode = 0
Controls double rate vs same rate output, and whether or not the spatial interlacing check is performed.
  • 0 : same rate, do spatial check
  • 1 : double rate, do spatial check
  • 2 : same rate, no spatial check
  • 3 : double rate, no spatial check


clip  edeint = NULL
Clip from which to take spatial predictions. This clip must be the same width, height, and colorspace as the input clip.
If using same rate output, this clip should have the same number of frames as the input. If using double rate output, this clip should have twice as many frames as the input.


int  opt = 0
Controls which CPU optimizations are used.
  • 0 : auto detect
  • 1 : force C routine
  • 2 : force MMX routine


Examples

yadifmod with default settings:

AviSource("blah.avi")
yadifmod(order=-1, field=-1, mode=0, opt=0)


Changelog

Version      Date            Changes
v1.0 09/15/2007 - Initial Release


Archived Downloads

Version Download Mirror
v1.0 yadifmod_v1.zip yadifmod_v1.zip


External Links




Back to External Filters

Personal tools