BWDIF

From Avisynth wiki
Jump to: navigation, search
Abstract
Author Asd-g
Version v1.2.0
Download BWDIF-1.2.0.7z
Category Deinterlacing
License LGPLv3
Discussion


Contents

Description

BWDIF (Bob Weaver Deinterlacing Filter): motion adaptive deinterlacing based on yadif with the use of w3fdif and cubic interpolation algorithms. This is a port of the VapourSynth plugin Bwdif.

Requirements


*** vcredist_x86.exe is required for BWDIF-x86
*** vcredist_x64.exe is required for BWDIF-x64


Syntax and Parameters

BWDIF (clip, int "field", clip "edeint", int "opt")


clip   =
A clip to process. All planar formats are supported.


int  field = -1
Controls the mode of operation (double vs same rate) and which field is kept.
  • -2 : Double rate (alternates each frame), AviSynth internal order.
  • -1 : Same rate, AviSynth internal order.
  • 0 : Same rate, keep bottom field.
  • 1 : Same rate, keep top field.
  • 2 : Double rate (alternates each frame), starts with bottom.
  • 3 : Double rate (alternates each frame), starts with top.


clip  edeint =
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
Sets which cpu optimizations to use.
  • -1 : Auto-detect.
  • 0 : Use C++ code.
  • 1 : Use SSE2 code.
  • 2 : Use AVX2 code.
  • 3 : Use AVX512 code.


Examples

BWDIF with default settings:

AviSource("blah.avi")
BWDIF(field=-1, opt=-1)


Changelog

Version      Date            Changes
v1.2.0 2020/08/24 - Added parameter edeint. v1.1.1 2020/08/10 - Fixed double rate. v1.1.0 2020/08/08 - Added field option -2. v1.0.0 2020/08/06 - Initial release; port of the VapourSynth plugin - AviSynth+: self-registers as MT_NICE_FILTER


External Links

  • GitHub - Source code repository.



Back to External Filters

Personal tools