Debilinear

From Avisynth wiki
Revision as of 23:57, 5 July 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")


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


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


bool  lsb_inout = 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





Back to External Filters

Personal tools