JincResize

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Requirements: version update)
(add r44)
Line 1: Line 1:
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Resizers}}
+
{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Resizers}}
 
{{Filter3
 
{{Filter3
| innocenat  
+
|1=innocenat  
| v0.2
+
|2=r44
| [http://github.com/AviSynth/jinc-resize/releases JincResize.dll]
+
|3=[https://www.dropbox.com/s/pj37t6ackhbs42k/jincresize_r44.zip?dl=1 jincresize_r44.zip]
| Resize  
+
|4=Resize  
| [http://www.apache.org/licenses/LICENSE-2.0 Apache 2.0]
+
|5=[http://www.apache.org/licenses/LICENSE-2.0 Apache 2.0]
 
|6=[http://forum.doom9.org/showthread.php?t=169813 Doom9 Thread]}}
 
|6=[http://forum.doom9.org/showthread.php?t=169813 Doom9 Thread]}}
  
Line 13: Line 13:
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
*[http://sourceforge.net/projects/avisynth2/ AviSynth 2.6] or [[AviSynth+]]
+
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6]
 +
* [x64]: [[AviSynth+]]
 
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
<br>
 
<br>
  
 
== Limitations ==
 
== Limitations ==
*Downscaling is not currently implemented.
+
*<strike>Downscaling is not currently implemented.</strike> Not true with r44, only previous versions.
 
<br>
 
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
Line 57: Line 58:
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
  v0.2        07/27/2014     - Core rewritten to use quantized lookup table for coefficient.
+
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++<br>
 +
  v0.2        2014/07/27      - Core rewritten to use quantized lookup table for coefficient.
 
                               - Support SSE2, SSE3, AVX2 and FMA3.
 
                               - Support SSE2, SSE3, AVX2 and FMA3.
 
                               - Basically, MUCH faster.
 
                               - Basically, MUCH faster.
 
                               - Add Jinc144Resize which is 6-tap filter.
 
                               - Add Jinc144Resize which is 6-tap filter.
 
                               - Add quant_x, quant_y, and version parameters.<br>
 
                               - Add quant_x, quant_y, and version parameters.<br>
  v0.1.1      11/26/2013     - Binary is now compile with ICC14
+
  v0.1.1      2013/11/26      - Binary is now compile with ICC14
 
                               - More optimized code, should run much faster.
 
                               - More optimized code, should run much faster.
 
                                 Thanks to tp7 and others for optimization tips.<br>
 
                                 Thanks to tp7 and others for optimization tips.<br>
  v0.1        11/26/2013     - Initial release
+
  v0.1        2013/11/26      - Initial release
 
<br>
 
<br>
 
== Archived Downloads ==
 
== Archived Downloads ==
Line 73: Line 82:
 
!!width="150px"| Download
 
!!width="150px"| Download
 
!!width="150px"| Source code
 
!!width="150px"| Source code
 +
|-
 +
!r44
 +
|[https://www.dropbox.com/s/pj37t6ackhbs42k/jincresize_r44.zip?dl=1 jincresize_r44.zip]<br>[https://web.archive.org/web/20200522062025if_/https://files.videohelp.com/u/223002/jincresize_r44.zip Mirror]
 +
|[https://github.com/AviSynth/jinc-resize/archive/master.zip jinc-resize-master.zip]
 
|-
 
|-
 
!v0.2
 
!v0.2

Revision as of 05:26, 22 May 2020

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