Yadifmod

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (link)
m (Requirements)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat4|External_filters|Plugins|Restoration_filters|Deinterlacers}}
+
{{FilterCat5|External_filters|Plugins|Plugins_x64|Restoration_filters|Deinterlacers}}
 
{{Filter3
 
{{Filter3
| {{Author/tritical}}
+
| {{Author/tritical}}, {{Author/Chikuzen}}
| v1.0
+
| v0.0.0
| [http://web.archive.org/web/20140420183914/http://bengal.missouri.edu/~kes25c/yadifmod_v1.zip yadifmod_v1.zip]
+
| [https://github.com/chikuzen/yadifmod26/releases yadifmod26-0.0.0.zip]
 
| Deinterlacing  
 
| Deinterlacing  
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
Line 10: Line 10:
  
 
== 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).
+
YadifMod for AviSynth 2.6.x / AviSynth+ by Chikuzen
 +
 
 +
 
 +
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>
 
<br>
 
== Requirements ==
 
== Requirements ==
*AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 greater]
+
* [x86]: [[AviSynth+]] or [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6]
*Supported color formats: [[YUY2]], [[YV12]]
+
* [x64]: [[AviSynth+]]
 +
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 +
<br>
 +
* Windows Vista SP2 or later
 +
* [https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Microsoft Visual C++ 2015 Redistributable Package (x86 / x64)]
 +
:<span style="color:red">***</span> <tt>vc_redist.x86.exe</tt> is required for <tt>Yadifmod-x86</tt>
 +
:<span style="color:red">***</span> <tt>vc_redist.x64.exe</tt> is required for <tt>Yadifmod-x64</tt>
 
<br>
 
<br>
  
Line 22: Line 31:
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
:::Input clip must be [[YUY2]] or [[YV12]].
+
:::Input clip.
 
<br>
 
<br>
 
::{{Par2|order|int|-1}}
 
::{{Par2|order|int|-1}}
 
:::Sets the field order.
 
:::Sets the field order.
  
::::*-1 : use Avisynth's internal parity value
+
::::*-1 : use AviSynth's internal parity value
 
::::*0 : bff (bottom field first)
 
::::*0 : bff (bottom field first)
 
::::*1 : tff (top field first)
 
::::*1 : tff (top field first)
Line 50: Line 59:
 
:::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.
 
:::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.
 
<br>
 
<br>
::{{Par2|opt|int|0}}
+
::{{Par2|opt|int|1}}
 
:::Controls which CPU optimizations are used.
 
:::Controls which CPU optimizations are used.
::::*0 : auto detect
+
::::*-1 : auto detect
::::*1 : force C routine
+
::::*0 : force C routine
::::*2 : force [[MMX]] routine
+
::::*1 : force [[SSE2]] routine
 +
::::*2 : force [[AVX2]] routine
 +
:::Don't set this to -1 or 2 if you are using AviSynth2.6.0. If you use AviSynth+, there are no problems.
 
<br>
 
<br>
  
Line 65: Line 76:
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
  v1.0        09/15/2007     - Initial Release
+
V0.0.0      2016/03/01      - Rewite for Avisynth 2.6 and Avisynth+
 +
                              - Support all planar YUV colorspaces
 +
                              - Change "opt" default to 1
 +
                              - x64 build
 +
  v1.0        2007/09/15      - Initial Release
 
<br>
 
<br>
 
== Archived Downloads ==
 
== Archived Downloads ==
Line 81: Line 96:
 
== 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.
 +
*[https://github.com/chikuzen/yadifmod26 GitHub] - Source code repository.
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Deinterlacing|External Filters]] &larr;'''
 
'''Back to [[External_filters#Deinterlacing|External Filters]] &larr;'''

Latest revision as of 14:31, 15 May 2020

Abstract
Author tritical, Chikuzen
Version v0.0.0
Download yadifmod26-0.0.0.zip
Category Deinterlacing
License GPLv2
Discussion Doom9 Thread

Contents

[edit] Description

YadifMod for AviSynth 2.6.x / AviSynth+ by Chikuzen


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).

[edit] Requirements


*** vc_redist.x86.exe is required for Yadifmod-x86
*** vc_redist.x64.exe is required for Yadifmod-x64


[edit] Syntax and Parameters

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


clip   =
Input clip.


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 = 1
Controls which CPU optimizations are used.
  • -1 : auto detect
  • 0 : force C routine
  • 1 : force SSE2 routine
  • 2 : force AVX2 routine
Don't set this to -1 or 2 if you are using AviSynth2.6.0. If you use AviSynth+, there are no problems.


[edit] Examples

yadifmod with default settings:

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


[edit] Changelog

Version      Date            Changes
V0.0.0 2016/03/01 - Rewite for Avisynth 2.6 and Avisynth+ - Support all planar YUV colorspaces - Change "opt" default to 1 - x64 build v1.0 2007/09/15 - Initial Release


[edit] Archived Downloads

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


[edit] External Links




Back to External Filters

Personal tools