JincResize

From Avisynth wiki
Revision as of 05:26, 22 May 2020 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author innocenat
Version r44
Download jincresize_r44.zip
Category Resize
License Apache 2.0
Discussion Doom9 Thread

Contents

Description

Jinc (EWA Lanczos) resampling plugin for AviSynth 2.6/AviSynth+.
JincResize includes 4 functions — Jinc36Resize, Jinc64Resize, Jinc144Resize, and Jinc256Resize, which is a 3-tap, 4-tap, 6-tap, and a 8-tap filter respectively.

Requirements


Limitations

  • Downscaling is not currently implemented. Not true with r44, only previous versions.


Syntax and Parameters

Jinc36Resize (clip, int, int, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y", bool "version")
Jinc64Resize (clip, int, int, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y", bool "version")
Jinc144Resize (clip, int, int, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y", bool "version")
Jinc256Resize (clip, int, int, float "src_left", float "src_top", float "src_width", float "src_height", int "quant_x", int "quant_y", bool "version")


clip   =
Input clip


int   =
Target width


int   =
Target height


float  src_left = 0
float  src_top = 0
float  src_width =
float  src_height =
Optional crop syntax is the same as AviSynth's internal resizers.



int  quant_x = 256
int  quant_y = 256
Control sub-pixel quantization.


bool  version = false
Setting it to true will show Jinc's internal CPU flag and instruction support it compiles with. More information here.


Examples

Upscale to 1920x1080 with Jinc36Resize:

AviSource("Blah.avi")
Jinc36Resize(1920, 1080)


Changelog

Version      Date            Changes
r44 2014/09/20 - Latest revision r44 (@0cd502a) - More correct calculation on quantized pixel - Fixing some memory leak - Implement basic downscaling support. - Better memory performance - Cleanup + const qualify more variable - x64 binary - Compiled with Intel Parallel Studio XE 2015 Composer Edition for C++
v0.2 2014/07/27 - Core rewritten to use quantized lookup table for coefficient. - Support SSE2, SSE3, AVX2 and FMA3. - Basically, MUCH faster. - Add Jinc144Resize which is 6-tap filter. - Add quant_x, quant_y, and version parameters.
v0.1.1 2013/11/26 - Binary is now compile with ICC14 - More optimized code, should run much faster. Thanks to tp7 and others for optimization tips.
v0.1 2013/11/26 - Initial release


Archived Downloads

Version Download Source code
r44 jincresize_r44.zip
Mirror
jinc-resize-master.zip
v0.2 JincResize.dll jinc-resize-0.2.zip
v0.1.1 JincResize.dll jinc-resize-0.1.1.zip
v0.1 JincResize.dll jinc-resize-0.1.zip


External Links




Back to External Filters

Personal tools