Debilinear

From Avisynth wiki
Revision as of 05:13, 17 May 2014 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author Prunedtree
Version r6
Download debilinear r6.zip
Category Resize
License Closed source
Discussion


Contents

Description

This filter is designed to reverse the effects of bilinear upsampling. Parameters and sampling pattern try to mimic Avisynth's BilinearResize.


Requirements

- AviSynth 2.5.8 or later
- Supported color formats: RGB24, RGB32, YV12
- SSE2 capable CPU


Limitations

  • Sampling at 1:1 resolution is known to be unstable.
  • This filter is not made for upsampling.


Syntax and Parameters

debilinear (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout")
debilinearY (clip, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height", bool "lsb_inout")


target_width int =
target_height int =
presumed 'native' resolution.


src_left float = 0
src_top float = 0
src_width float =
src_height float =
Optional crop rectangle in the input frame.


lsb_inout bool = false
16-bit input and output; uses DitherTools' Stack16 format.


  • debilinearY ignores chroma planes.


Changelog

Version      Date            Changes
r6 07/26/2012 + more optimizations (~50% speedup) - fixed 16-bit rounding bug
r5 07/20/2012 + some small optimizations (~35% speedup) - fixed UV shift glitch
r4 07/16/2012 - fixed RGB highdepth bug - fixed border glitch
r3 07/01/2012 - memory leak fixed
r2 07/01/2012 + some SSE code (~4x speedup) - fixed little glitch in 16-bit mode + full YV12 support
r1 06/30/2012 + changed sampling patterns (mimics bilinearResize) + YV12 luma support + 16-bit (dithertools format) support


Archived Downloads

Version Download Mirror
r6 debilinear r6.zip debilinear r6.zip


External Links

  • Doom9 Forum - Using Debilinear with Canon EOS cameras.





Back to External Filters

Personal tools